Page 1 of 2

Problem configuring SNMP traps on Nagios XI

Posted: Fri Dec 29, 2017 8:32 am
by TorqueSteer
Hi, happy holidays!

I am trying to follow the guide on how to configure my nagios xi server to received SNMP traps, in the guide it says to establish a connection to my server and run the following command:

cd /tmp
wget https://assets.nagios.com/downloads/nag ... p-setup.sh
sh ./NagiosXI-SNMPTrap-setup.sh

When I do it fails with:

Image

Any help much appreciated!

Re: Problem configuring SNMP traps on Nagios XI

Posted: Fri Dec 29, 2017 10:22 am
by npolovenko
Hello, @TorqueSteer. After wget you pasted the download link two times by accident. I'll also attach the downloaded script to this post just in case.

Re: Problem configuring SNMP traps on Nagios XI

Posted: Thu Jan 04, 2018 10:33 am
by TorqueSteer
Hi, thanks for your relpy,

I removed the duplicate and tried it again, I go the same error.

Re: Problem configuring SNMP traps on Nagios XI

Posted: Thu Jan 04, 2018 11:13 am
by npolovenko
@TorqueSteer, Could you attach a screenshot one more time? I just tested the link:

Code: Select all

wget https://assets.nagios.com/downloads/nagiosxi/scripts/NagiosXI-SNMPTrap-setup.sh
and was able to download the script. Is your company using a VPN?

Re: Problem configuring SNMP traps on Nagios XI

Posted: Thu Jan 04, 2018 11:44 am
by TorqueSteer
Yeah it's odd, I can download it from my desktop machine, but not through my Nagios box using the command from the SNMP trap setup guide i'm following.

Image

Re: Problem configuring SNMP traps on Nagios XI

Posted: Thu Jan 04, 2018 12:04 pm
by npolovenko
@TorqueSteer, I think the link is case sensitive. I've tried wget with all lowercase letters as on your screenshot and got the same error. But then I used the following link and it worked:

Code: Select all

wget https://assets.nagios.com/downloads/nagiosxi/scripts/NagiosXI-SNMPTrap-setup.sh

Re: Problem configuring SNMP traps on Nagios XI

Posted: Thu Jan 04, 2018 12:12 pm
by TorqueSteer
AWESOME! that worked, thank you!

Re: Problem configuring SNMP traps on Nagios XI

Posted: Thu Jan 04, 2018 1:02 pm
by npolovenko
@TorqueSteer , Not a problem! Can I go ahead and lock this topic?

Re: Problem configuring SNMP traps on Nagios XI

Posted: Tue Jan 09, 2018 6:18 am
by TorqueSteer
sorry, yes that's fine.

Re: Problem configuring SNMP traps on Nagios XI

Posted: Tue Jan 09, 2018 9:51 am
by lpereira
If for some reasons wget does not work. you can download the file to your Desktop and then copy it to the Nagios Server via WinSCP. It not solves the wget problem, but it will get the work done.