There's more than one way to do things | |
PerlMonks |
Re: Send SNMP trapby LazerRed (Pilgrim) |
on Sep 23, 2003 at 20:49 UTC ( [id://293674]=note: print w/replies, xml ) | Need Help?? |
I've a couple quick thoughts/questions on this...
Check where your building your Net::SNMP session, and verify what version of SNMP you are using. The docs for Net::SNMP, at the end of the traps section, states:
NOTE: This method can only be used when the version of the object is set to SNMPv1.
my @oids = ($svSvcName, OCTET_STRING, $message); To: my @oids = ($svSvcName, 0x01, $message); A longshot, but I'm rather inexperienced with sending traps. LR Whip me, Beat me, Make me use Y-ModemG.
In Section
Seekers of Perl Wisdom
|
|