KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

IP-tools trap watcher

 
Post new topic   Reply to topic    KS-Soft Forum Index -> IP-Tools
View previous topic :: View next topic  
Author Message
bachurch



Joined: 23 Nov 2006
Posts: 4

PostPosted: Thu Nov 23, 2006 11:56 am    Post subject: IP-tools trap watcher Reply with quote

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
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 11761
Location: USA

PostPosted: Thu Nov 23, 2006 4:04 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bachurch



Joined: 23 Nov 2006
Posts: 4

PostPosted: Thu Nov 23, 2006 4:40 pm    Post subject: Advanced Host Monitor Reply with quote

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
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 11761
Location: USA

PostPosted: Thu Nov 23, 2006 4:53 pm    Post subject: Reply with quote

Sure
SNMP Trap test method:
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#snmptrap
Actions:
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bachurch



Joined: 23 Nov 2006
Posts: 4

PostPosted: Fri Nov 24, 2006 9:16 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 11761
Location: USA

PostPosted: Fri Nov 24, 2006 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bachurch



Joined: 23 Nov 2006
Posts: 4

PostPosted: Sun Nov 26, 2006 4:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 11761
Location: USA

PostPosted: Sun Nov 26, 2006 8:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> IP-Tools All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index