Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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)

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 chilling in the Monastery: (6)
As of 2018-09-18 23:59 GMT
Find Nodes?
    Voting Booth?
    Eventually, "covfefe" will come to mean:

    Results (163 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!