Configure SNMP Traps in Nagios?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
riahc3
Posts: 53
Joined: Thu Apr 05, 2018 9:36 am

Configure SNMP Traps in Nagios?

Post by riahc3 »

How do I configure SNMP Traps in Nagios?

Ive imported the MIB, set up the trap listener….but….
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Configure SNMP Traps in Nagios?

Post by cdienger »

Have you setup snmptt.conf to use a trap handler to send the traps to Nagios for processing? Have you setup and passive checks in Nagios for it? http://askaralikhan.blogspot.com/2010/1 ... agios.html is outdated but has some good information. For example, you can use the trap handler snmptraphandling.py found in http://assets.nagios.com/downloads/supp ... ns.tar.bz2 instead of what they use. The article also covers setting up a passive check.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
rhassing
Posts: 412
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Configure SNMP Traps in Nagios?

Post by rhassing »

There is some information on:
http://mona.deltics.info/snmptrapping/
Rob Hassing
Image
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Configure SNMP Traps in Nagios?

Post by cdienger »

Thanks for the additional link, @rhassing.

@riahc3, let us know if you have any further questions for us :)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
riahc3
Posts: 53
Joined: Thu Apr 05, 2018 9:36 am

Re: Configure SNMP Traps in Nagios?

Post by riahc3 »

Well, the packages in the outdated tutorial are already here: https://assets.nagios.com/downloads/nag ... ios_XI.pdf so....

Anyways…

This is for CentOS 5.....holy shit. Im mean thats old. I cant find the snmptrapd.options file. Seeing as this is a production server, I cant play around and test.

Im not sure why Nagios makes this so difficult to setup.

I use SNMPv3 so I cant disable authorization.

There is a lot outdated in this tutorial...sorry.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Configure SNMP Traps in Nagios?

Post by tgriep »

It shouldn't matter the OS release is in the instructions, the commands should be the same.
Do you have a specific issue you need help on?
Is this a better tutorial?
https://paulgporter.net/2013/09/16/nagios-snmp-traps/
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked