Start a script from a OID Trap
Usuário do Sistema <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAMTjHryL3rHprapBhv3O8iJAyUJkxGjDq-x6fwzWQmbcSQSNHQ@mail.gmail.com> |
Hello, I'm beginning a monitor task with traps snmp from my network
devices. I whish start a script when a kind of OID trap arrives in
the log. for exemplo follow a kind of OID trap.
2012-01-19 15:31:51 192.168.2.171(via UDP: [192.168.2.171]:1024) TRAP,
SNMP v1, community public
SNMPv2-SMI::enterprises.231.7.2.9 Enterprise Specific Trap
(939) Uptime: 2:56:30.06
SNMPv2-SMI::enterprises.231.7.2.9.2.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.231.7.2.9.2.2.1.2.1 = Hex-STRING: 07 DC 01 13
0F 1C 11 00 SNMPv2-SMI::enterprises.231.7.2.9.2.2.1.3.1 =
INTEGER: 9 SNMPv2-SMI::enterprises.231.7.2.9.2.2.1.4.1 =
INTEGER: 39 SNMPv2-SMI::enterprises.231.7.2.9.2.2.1.5.1 =
INTEGER: 9 SNMPv2-SMI::enterprises.231.7.2.9.2.2.1.6.1 =
INTEGER: 0 SNMPv2-SMI::enterprises.231.7.2.9.2.2.1.7.1 =
STRING: "ErrorClass: 09; Number 39; Alarm indication signal error off
(TMS2M)" SNMPv2-SMI::enterprises.231.7.2.9.1.1.0 = INTEGER: 5
SNMPv2-SMI::enterprises.231.7.2.9.2.2.1.8.1 = INTEGER: 1
I already the script I only wish do integration it with snmptrap.
how can I reach this ??
any tip is welcome
thanks
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users