Problem configuring SNMP traps on Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
TorqueSteer
Posts: 26
Joined: Thu Mar 30, 2017 10:18 am

Problem configuring SNMP traps on Nagios XI

Post 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!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Problem configuring SNMP traps on Nagios XI

Post 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.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
TorqueSteer
Posts: 26
Joined: Thu Mar 30, 2017 10:18 am

Re: Problem configuring SNMP traps on Nagios XI

Post by TorqueSteer »

Hi, thanks for your relpy,

I removed the duplicate and tried it again, I go the same error.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Problem configuring SNMP traps on Nagios XI

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
TorqueSteer
Posts: 26
Joined: Thu Mar 30, 2017 10:18 am

Re: Problem configuring SNMP traps on Nagios XI

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Problem configuring SNMP traps on Nagios XI

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
TorqueSteer
Posts: 26
Joined: Thu Mar 30, 2017 10:18 am

Re: Problem configuring SNMP traps on Nagios XI

Post by TorqueSteer »

AWESOME! that worked, thank you!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Problem configuring SNMP traps on Nagios XI

Post by npolovenko »

@TorqueSteer , Not a problem! Can I go ahead and lock this topic?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
TorqueSteer
Posts: 26
Joined: Thu Mar 30, 2017 10:18 am

Re: Problem configuring SNMP traps on Nagios XI

Post by TorqueSteer »

sorry, yes that's fine.
lpereira
Posts: 143
Joined: Thu Jul 27, 2017 4:23 pm

Re: Problem configuring SNMP traps on Nagios XI

Post 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.
Locked