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
SNMP Get Alert option & Reply variable
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
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