Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: How to send an SNMP V2C Trap

by spadacciniweb (Deacon)
on Jan 25, 2006 at 15:52 UTC ( #525476=note: print w/ replies, xml ) Need Help??

in reply to How to send an SNMP V2C Trap

In my lan
snmpwalk -c my_community
coldStart No more variables left in this MIB View (It is past the end of the MIB tree)

Ahh... ok!!
I have viewed this documentation:

However, you must use

use Net:SNMP
The documentatios is here:

An example is in this application (GPL software)

Comment on Re: How to send an SNMP V2C Trap
Download Code
Replies are listed 'Best First'.
Re^2: How to send an SNMP V2C Trap
by w3ntp (Beadle) on Jan 26, 2006 at 14:48 UTC
    I have defined the following PDU for the SNMP ver 2c trap as

    $sysUpoid=""; $svSvcName=""; $ColdStartoid=""; @snmpColdTrap=qw($sysUpoid TIMETICKS 200 $svSvcName OBJECT_IDENTIFIER $svSvcName $ColdStartoid OBJECT_IDENTIFIER $ColdStartoid);

    Perl is complaining about the OBJECT_IDENTIFIER. Not Sure what to do to correct this. The perl docs state the first two Varbinds are sysUpTime and snmpTrapOID before the coldstart OID. Not sure what the second varbind does? thanks W3NTP

    Edit: g0n - code tags

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://525476]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2015-11-25 00:16 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (666 votes), past polls