We use a lot of test with an action profile that contains a kind of an "escalation": There is a first action (e.g. popup) after two bad tests. When the bad state is not acknowledged for a certain number of tests, there will be a second action (e.g.: send sms)
Now we start using SNMP traps and I have no idea how to realize this "escalation".
Regards
Thomas
Escalation using SNMP Trap tests
-
- Posts: 166
- Joined: Sat Apr 15, 2006 2:14 pm
- Location: Germany, Bavaria
Escalation using SNMP Trap tests
Last edited by thomasschmeidl on Wed Jul 05, 2006 1:25 pm, edited 1 time in total.
-
- Posts: 166
- Joined: Sat Apr 15, 2006 2:14 pm
- Location: Germany, Bavaria
If device that you want to monitor sends single SNMP message in case of some problem, then its hard to configure escalation alerts...
But it is possible. I think you should setup additional test item (e.g. ping 127.0.0.1) and assign "advanced mode" action to this auxiliary test item. To start alert you may use use expression like ('%::SNMPTestName::SimpleStatus%'=='DOWN') and (%::SNMPTestName::Recurrences%==3)
www.ks-soft.net/hostmon.eng/mframe.htm# ... ncedaction
Regards
Alex
But it is possible. I think you should setup additional test item (e.g. ping 127.0.0.1) and assign "advanced mode" action to this auxiliary test item. To start alert you may use use expression like ('%::SNMPTestName::SimpleStatus%'=='DOWN') and (%::SNMPTestName::Recurrences%==3)
www.ks-soft.net/hostmon.eng/mframe.htm# ... ncedaction
Regards
Alex
-
- Posts: 166
- Joined: Sat Apr 15, 2006 2:14 pm
- Location: Germany, Bavaria
Does that really work?
I'm afraid %::SNMPTestName::Recurrences% will never reach 3
QUESTION: Can I use expressions like '%::SNMPTestName::SimpleStatus%'=='DOWN' in a shell script?
QUESTION: Why can SNMP trap tests not be dependent on other tests?
(Great) WISH: To establish escalations much easier it would make sense to count the recurrences of SNMP trap tests as the number of intervalls that pass by since the Test went bad (or good).
Kind Regards
Thomas
I'm afraid %::SNMPTestName::Recurrences% will never reach 3
QUESTION: Can I use expressions like '%::SNMPTestName::SimpleStatus%'=='DOWN' in a shell script?
QUESTION: Why can SNMP trap tests not be dependent on other tests?
(Great) WISH: To establish escalations much easier it would make sense to count the recurrences of SNMP trap tests as the number of intervalls that pass by since the Test went bad (or good).
Kind Regards
Thomas
My mistakeI'm afraid %::SNMPTestName::Recurrences% will never reach 3

Its better to setup additional test item as dependant test and mark "Synchronize status & alerts" option
You may use %::SNMPTestName::SimpleStatus% as parameter of the script but you cannot use operators (==, <>) unless your script language supports such operations.Can I use expressions like '%::SNMPTestName::SimpleStatus%'=='DOWN' in a shell script?
Yeah, may be we can implement this....To establish escalations much easier it would make sense to count the recurrences of SNMP trap tests as the number of intervalls that pass by since the Test went bad (or good).
Regards
Alex
-
- Posts: 166
- Joined: Sat Apr 15, 2006 2:14 pm
- Location: Germany, Bavaria