System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Undocumented feature to reload ems from the sav.mon file

Terry L Johnson
Frequent Advisor

Undocumented feature to reload ems from the sav.mon file

Does anyone remember this option?
2 REPLIES
Carsten Krege
Honored Contributor

Re: Undocumented feature to reload ems from the sav.mon file

This is a functionality of emscli. The manual page of emscli should help you. Here is an example:

nero:/# emscli -l
Req ID Resource Value
413466629 /system/numUsers 2
nero:/# emscli -g 413466629
Generated script file /var/opt/resmon/cli/sav.mon.
nero:/# cat /var/opt/resmon/cli/sav.mon
/opt/resmon/bin/emscli -a /system/numUsers -n 1 -r ne 0 -p 300 -u sec -t snmp -s min

Existing monitoring requests can be "saved" by creating a shell script that contains the emscli command that would create the same monitoring request again (in case it got lost).

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Torsten.
Acclaimed Contributor

Re: Undocumented feature to reload ems from the sav.mon file

... but it never really was an " Undocumented feature", BTW (according to the emscli manual).

:-)


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!