View previous topic :: View next topic |
Author |
Message |
bachurch
Joined: 23 Nov 2006 Posts: 4
|
Posted: Thu Nov 23, 2006 11:56 am Post subject: IP-tools trap watcher |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12802 Location: USA
|
|
Back to top |
|
|
bachurch
Joined: 23 Nov 2006 Posts: 4
|
Posted: Thu Nov 23, 2006 4:40 pm Post subject: Advanced Host Monitor |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12802 Location: USA
|
|
Back to top |
|
|
bachurch
Joined: 23 Nov 2006 Posts: 4
|
Posted: Fri Nov 24, 2006 9:16 am Post subject: |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12802 Location: USA
|
Posted: Fri Nov 24, 2006 12:30 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
bachurch
Joined: 23 Nov 2006 Posts: 4
|
Posted: Sun Nov 26, 2006 4:49 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12802 Location: USA
|
Posted: Sun Nov 26, 2006 8:08 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|