SNMP Get Alert option & Reply variable

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
rj
Posts: 7
Joined: Wed Dec 23, 2009 7:43 am

SNMP Get Alert option & Reply variable

Post by rj »

Hello

When using the "alert when OID decreases by" option on a SNMP Get sysUpTime test, Hostmonitor nicely alerts just once on a system's restart. But the reply value then holds a relative instead of an absolute value and I would like to tune up the reply value for it to show the time since last boot. I've tried several macro variables but could not find any that holds the absolute number that has been returned in the SNMP Get sysUpTime test.

Alternatively the test could be to see if the absolute sysUpTime < 1 day in combination with an alert profile that filters repetitions of the same alert.

Sure this test is often used by others and I wondered how it is commenly configured to alert and alert only once whenever a system goes down?

Regards,
Robert
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

1) you need to change alert mode. E.g. you may set "Alert when OID 1.3.6.1.2.1.1.3.0 is < than 60000" condition. Then HostMonitor will change test status to Bad when system rebooted less than 10 minutes ago. If test interval for this check is longer than 10 minutes you need to adjust this parameter.
2) If you want to see reply value in "human" format, you may use "Tune up Reply value" test property with expression like [%SuggestedReply% div 360000] hours [(%SuggestedReply% mod 360000) div 6000] min [%SuggestedReply% mod 6000] seconds

Regards
Alex
Post Reply