Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to do a little SNMP testing and want to issue some traps from a test Ubuntu box. What are the easiest ways (for a Linux noob) to cause some traps to fire?


share|improve this question
up vote 4 down vote accepted

You'll need to have the snmp package installed. "sudo apt-get install snmp" should install it for you if you don't have it installed already. The package contains the command line tools for snmp from the Net-SNMP project.

After the package is installed use either snmptrap or snmpinfor depending on what you are trying to learn. Look at the manpages and for more information.

share|improve this answer

Looks like you can use snmptrap:


share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.