Oracle Solaris System Administration (MOSC)

MOSC Banner

snmp_trapsend command in solaris

edited Apr 18, 2014 12:00PM in Oracle Solaris System Administration (MOSC) 1 commentAnswered


I am using the following command to successfully send snmp traps on Linux but I cant get it to work on Solaris , can someone give me the syntax plz?

Linux:

/usr/sbin/snmptrap -v 2c -c org 10.100.10.211 \'\' 1.3.6.1.4.1.791.2.9.2  1.3.6.1.4.1.791.2.9.2 s \"$1 \"

but I am unable to use the snmp_trapsend command in solaris. how can i send a text as snmp trap msg like iam doing in linux?

the following command I tried hangs.

/usr/sbin/snmp_trapsend -h 10.100.10.112 -i 10.200.32.22 -g 6 -s 1 -a "1.3.6.1.4.1.791.2.9.2 STRING (testing)"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center