snmp_trapsend command in solaris
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)"