Escalation using SNMP Trap tests

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
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Escalation using SNMP Trap tests

Post by thomasschmeidl »

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
Last edited by thomasschmeidl on Wed Jul 05, 2006 1:25 pm, edited 1 time in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Now we start using SNMP traps and I have no idea how to realize this "escalation".
SNMP Trap test? or SNMP Trap action?

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

We use SNMP trap tests

Regards

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

Post by KS-Soft »

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
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I'm afraid %::SNMPTestName::Recurrences% will never reach 3
My mistake :oops:
Its better to setup additional test item as dependant test and mark "Synchronize status & alerts" option
Can I use expressions like '%::SNMPTestName::SimpleStatus%'=='DOWN' in a shell script?
You may use %::SNMPTestName::SimpleStatus% as parameter of the script but you cannot use operators (==, <>) unless your script language supports such operations.
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).
Yeah, may be we can implement this....

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

Nice to hear that.

Looking forward to the implementation

Kind regards

Thomas
Post Reply