Operating System - Linux
1832458 Members
2954 Online
110043 Solutions
New Discussion

Basic Linux installation - How can i "Generate" SNMP Traps?

 
Daniel Simard
Frequent Advisor

Basic Linux installation - How can i "Generate" SNMP Traps?

Hi All,
We use SolarWind's monitoring solution called 'Orion' to monitor all our HP servers (specially running Windows).

I would like to know the easiest, simplest way, for me to manually generate SNMP traps from my linux server, to the Orion monitoring station. (I have the community string information etc...)

I don't want to configure my linux server to be an SNMP server (in other words, receive traps), I just want to send "test" traps possibly command line?

Your help is appreciated!
Si tu n'as pas ce que tu aimes, aimes ce que tu as.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Basic Linux installation - How can i "Generate" SNMP Traps?

Shalom,

This depends a lot on your linux distribution.


For yum based distros
yum list | grep -i snmp

See whats there and then:
yum install

Modify the snmp community strings to your environment as noted in your original post.

snmpwalk is a good commmand I learned in HP-UX to test snmp trap configuration.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
J. Maestre
Honored Contributor

Re: Basic Linux installation - How can i "Generate" SNMP Traps?

The snmp client package mentioned above provides tools like snmptrap and snmptest to send traps.