Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to send snmp v3 trap using snmptrap command on ubuntu 12. I tried:

sudo snmptrap -v 3 -c 1 localhost -a MD5 -A abcdefgh -l noAuthNoPriv -u myuser

sudo snmptrap -v 3 -c 1 localhost -a MD5 -A 1.2.3 -l noAuthNoPriv -u myuser

sudo snmptrap -v 3 localhost -a MD5 -A 1.2.3 -l noAuthNoPriv -u myuser

but keep getting:

-A: Unknown Object Identifier (Sub-id not found: (top) -> -A)

I also tried:

sudo snmptrap -v 3  -a MD5 -A abcdefgh -l noAuthNoPriv -u myuser localhost:162

and got:

Missing up-time parameter

Can anyone see what I am doing wrong.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.