IP-tools trap watcher

Everything about IP-Tools
Post Reply
bachurch
Posts: 4
Joined: Thu Nov 23, 2006 11:52 am

IP-tools trap watcher

Post by bachurch »

Dear Support,

I downloaded the evaluation version of IP-Tools and looking at
purchasing the small office licensing version, but I have the following
problem/question that needs resolved. Is there a way to have more then
one executable file when using the trap watcher filter option? I'm
running a batch file that sends a snmpset program that turn's a remote
siren on and once the error is corrected I would like to turn the siren
off.=20

The following is the traps that I get from the device in question?
1/23/2006 11:18:37 AM Started (port #162)
11/23/2006 11:21:32 AM 139.180.63.157 Specific (6.303)
1.3.6.1.4.1.3854.1 1.3.6.1.4.1.3854.1.7.1.0 6 Contact
closure closed alarm state
11/23/2006 11:21:32 AM 139.180.63.157 Specific (6.303)
1.3.6.1.4.1.3854.1 1.3.6.1.4.1.3854.1.7.1.0 2 Contact
closure open normal state
11/23/2006 11:21:33 AM 139.180.63.157 Specific (6.301)
1.3.6.1.4.1.3854.1 1.3.6.1.4.1.3854.1.7.1.0 8 Turn
siren on
11/23/2006 11:21:33 AM 139.180.63.157 Specific (6.301)
1.3.6.1.4.1.3854.1 1.3.6.1.4.1.3854.1.7.1.0 8 =20
11/23/2006 11:21:47 AM 139.180.63.157 Specific (6.301)
1.3.6.1.4.1.3854.1 1.3.6.1.4.1.3854.1.7.1.0 9 Turn
siren off
11/23/2006 11:21:47 AM 139.180.63.157 Specific (6.301)
1.3.6.1.4.1.3854.1 1.3.6.1.4.1.3854.1.7.1.0 9 =20

Turns siren on (sirenon.bat) snmpset -v1 -c public 139.180.63.157
.1.3.6.1.4.1.3854.1.2.2.1.18.1.25.0 i 3=20
Turns siren off (sirenoff.bat) snmpset -v1 -c public 139.180.63.157
.1.3.6.1.4.1.3854.1.2.2.1.18.1.25.0 i 4


Thanks,

Bob Church
Alcoa
Robert.church@alcoa.com
1-563-459-2079
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You need different actions on different Trap messages? IP-Tools cannot do that.
You need Advanced Host Monitor http://www.ks-soft.net/hostmon.eng/index.htm

Regards
Alex
bachurch
Posts: 4
Joined: Thu Nov 23, 2006 11:52 am

Advanced Host Monitor

Post by bachurch »

Alex,

I don't see in Host Monitor where it can receive a snmp trap and then act on it like trap watcher, I must be missing something. Would you please point me in the right direction.

Thanks,

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

Post by KS-Soft »

bachurch
Posts: 4
Joined: Thu Nov 23, 2006 11:52 am

Post by bachurch »

Alex,

Would this be a test/rule that depends on another test in order to turn the siren off? What I would like to do is receive a trap to turn the siren on and then once the error is corrected I would received another trap showing the error has been corrected.

Second thing is there something I'm missing on the log fucntion, since it only shows that a trap is been received with no ideal on where it came from.

Thanks for the quick response.

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

Post by KS-Soft »

Your device sends different Trap messages when problem appears and when problem fixed, right?
As you see SNMP Trap test method allows you to setup 2 filters: "bad" filter and "good" filter. Alert profile allows you to setup "good" and "bad" actions as well. So, what the problem? Configure single SNMP Trap test using both "good" and "bad" filters, create alert profile with "bad" and "good" actions and assign this profile to the test.
BTW You may create several SNMP Trap test items

Regards
Alex
bachurch
Posts: 4
Joined: Thu Nov 23, 2006 11:52 am

Post by bachurch »

Alex,

I stumble my way thru the setup on HM with you're execellent help, but my brian is still stump on how to set the good statement to work with the following trap that I receive.


ate Source host Trap type Enterprise OID Value
-------------------------------------------------------------------------------------------------------------------------------------
11/26/2006 4:37:23 PM 139.180.63.157 Specific (6.303) 1.3.6.1.4.1.3854.1 1.3.6.1.4.1.3854.1.7.1.0 6 contact closure is closed/alarm state
11/26/2006 4:37:27 PM 139.180.63.157 Specific (6.303) 1.3.6.1.4.1.3854.1 1.3.6.1.4.1.3854.1.7.1.0 2 contact closure is open/normal state

The only difference in the 2 states of the contact closure traps being bad/good state is that the Value is 6 on the bad and 2 on the good state. Is there some way to use this value on the filters that I'm trying to setup?

I'm lost again!!!

Thanks

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

Post by KS-Soft »

Use "Message contains OID <oid> that is = to 6" option for Bad filter.
Use "Message contains OID <oid> that is = to 2" option for Good filter.
Note: You may type “any” instead of specific object identifier. In such case HostMonitor will check every object contained in the Trap message.

Regards
Alex
Post Reply