snmptraphandling.py not found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User Name
Posts: 8
Joined: Wed Mar 23, 2016 8:17 am

snmptraphandling.py not found

Post by User Name »

When using the SNMP Trap wizard I get the following error:
It looks like you are missing the trap handling file snmptraphandling.py normally located here: /usr/local/bin/ - To use this wizard you must configure SNMP using the document How to Intergrate SNMP Traps With Nagios XI.
The script is indeed not in the mentioned location, nor anywhere else on the server. Should it have been installed with XI or does it come from another package?

This is an offline (manual) installation of Nagios XI 5.2.0 on RHEL6 x86-64.
--
Martijn
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: snmptraphandling.py not found

Post by rkennedy »

Take a look at the document it's referring to. https://assets.nagios.com/downloads/nag ... ios_XI.pdf

You'll need to run -

Code: Select all

cd /tmp
wget 
http://assets.nagios.com/downloads/nagiosxi/scripts/NagiosXI-SNMPTrap-setup.sh
sh ./NagiosXI-SNMPTrap-setup.sh
Specifically in this script, you'll see -

Code: Select all

# Download & install supporting files
(
	cd /tmp
	wget http://assets.nagios.com/downloads/support/snmptrap-bins.tar.bz2
	tar xjf snmptrap-bins.tar.bz2
	cd snmptrap-bins/
	cp ./* /usr/local/bin/
)
Since it's an offline install, make sure you also upload wget http://assets.nagios.com/downloads/supp ... ns.tar.bz2 to /tmp, and comment out the wget line in the NagiosXI-SNMPTrap-setup.sh script.

Let us know if you run into any issues.
Former Nagios Employee
User Name
Posts: 8
Joined: Wed Mar 23, 2016 8:17 am

Re: snmptraphandling.py not found

Post by User Name »

Thank you very much for the reply. The wizard is working now :)
--
Martijn
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: snmptraphandling.py not found

Post by rkennedy »

Great to hear! Marking this as resolved and closing it out.

Feel free to make a new thread if you have any questions in the future! :D
Former Nagios Employee
Locked