Unix/Linux

Send SNMP TRAP on Solaris 10

Send SNMP trace on Solaris 10:

snmp_trapsend -e 1.3.6.1.4.1.11080.400.3  -a “.1.3.6.1.4.1.11080.400.3 STRING (Test trap)” -T4

[-h host]             (default = localhost)
[-c community]        (default = public)
[-e enterprise | -E enterprise_str]   (default = 1.3.6.1.4.1.42)
[-g generic#]         (range 0..6, default = 6)
[-s specific#]        (default = 1)
[-i ipaddr]           (default = localhost)
[-p trap_port]        (default = 162)
[-t timestamp]        (a time in unix-time format, default is uptime)
-a “object-id object-type ( object-value )”
[-T trace-level]      (range 0..4, default = 0)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s