SNMP Trap daemon for OpenSUSE?

Hi,

I’m trying to integrate SNMP Traps into my OpenSUSE 11-based Nagios installation. I’ve been looking around a little bit and haven’t been able to find a daemon that will run on my server and receive SNMP traps from the various network devices (UPS’s and Switches). I’d like to eventually have full integration to the point where if an error gets sent to my Nagios server, it will notify me via email. However, I don’t even have the service to receive the traps yet, so I was wondering if anyone here could help me find something that would work out.

I’ve installed Net-SNMP, but it only really seems to enable SNMP requests from the server to the devices (for polling CPU usage and such, which works BTW), but the service snmptrapd seems to be missing.

Hi
Assuming you have configured your Nagios host and snmp, is the snmptrapd
service enabled and started?


sudo /sbin/chkconfig snmptrapd

If it’s not on, then enable it, and start it…


sudo /sbin/chkconfig snmptrapd on
sudo /etc/init.d/snmptrapd start


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 6 days 0:46, 2 users, load average: 0.07, 0.09, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Hi Malcom, thanks for the quick reply!

I installed Net-SNMP as per the instructions, but when I do chkconfig snmptrapd it tells me that it’s an unknown service

SRV-NAGIOS:/sbin # chkconfig snmptrapd
snmptrapd: unknown service
SRV-NAGIOS:/sbin #

With the downloaded tar from net-snmp.org, how can I install the trap daemon?

Hi
I would install the system net-snmp as I’m would assume that one is
sitting in /usr/local directory. Can you uninstall the downloaded one
and then use YaST software to install or run the following command from
a terminal;


sudo zypper in net-snmp


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 6 days 1:14, 2 users, load average: 1.13, 0.45, 0.28
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18