Page 1 of 1

Network Switch / Router Wizard does not function correctly

Posted: Wed Oct 29, 2014 10:47 pm
by vincheesel
Hi Team,

I have an issue with the Network Switch / Router Wizard in Nagios XI. I have had this issue from the beginning. (NagiosXI deployed for 2 years now)

This uses the command
$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$

When I run the wizard, it is able to detect the Ports and the port names - however it doesn't pick up any statistics

Eg

ppp0 Bandwidth displays - OK - Current BW in: 0Mbps Out: 0Mbps
This has always displayed 0 - there are several other ports which also have the same problem

ppp0 Status displays "Unknown" the status information states - UNKNOWN: No support for SNMP v0 yet

I have tried using a Cisco ADM series, Draytek 2830 and a Netgear UTM 5 - SNMP is enabled and functioning as its able to detect the ports in the wizard, but the stats never worked!

please help!

Re: Network Switch / Router Wizard does not function correct

Posted: Thu Oct 30, 2014 9:45 am
by tmcdonald
Are either the Nagios system or the remote devices set to use a non-English language for their console? I have seen many cases where foreign languages will use a comma in place of a period for writing out numbers (and vice-versa) so 1,000 becomes a very precise 1.000 instead.

Re: Network Switch / Router Wizard does not function correct

Posted: Thu Oct 30, 2014 5:02 pm
by vincheesel
Thanks for the reply. All our routers are set to English.

We are from Australia - not sure if setting the location on Nagios has anything to do with it??

Re: Network Switch / Router Wizard does not function correct

Posted: Thu Oct 30, 2014 7:21 pm
by Box293
What version of XI are you running?

Also I'll get you to tell me the version of the Config Wizard, can you please do the following:

Click the Admin menu
System Extensions > Manage Config Wizards
Find the Network Switch / Router config wizard
What version is this config wizard?

Re: Network Switch / Router Wizard does not function correct

Posted: Thu Oct 30, 2014 7:27 pm
by vincheesel
We are running XI 2014R1.5 but I've had issues with this since the beginning 2012R1.4

The extension version of Network Switch /Router is v2.0.1

Thanks,

Re: Network Switch / Router Wizard does not function correct

Posted: Thu Oct 30, 2014 7:42 pm
by Box293
There is a newer version of the wizard that fixes a few things which I think you are experiencing.

Download it from here:
http://exchange.nagios.org/directory/Ad ... rd/details

To upload it:
Click the Admin menu
System Extensions > Manage Config Wizards
Browse to the downloaded zip
Click the Upload wizard button.

Next, go into Core Configuration Manager and delete any services that exist for this switch, we want to re-create them from scratch. Apply Config once you've delete them.

Finally I want you to delete the MRTG config file for this particular switch. It will be located in:
/etc/mrtg/conf.d/
The file will be the ip address or dns name
Example:

Code: Select all

rm /etc/mrtg/conf.d/10.25.4.1.cfg
Now run the Wizard against this switch and see if it works. The graphs will take about 15 minutes to appear.

Let us know how that goes

Re: Network Switch / Router Wizard does not function correct

Posted: Thu Oct 30, 2014 8:23 pm
by vincheesel
Thanks so much! it worked!!!

Re: Network Switch / Router Wizard does not function correct

Posted: Thu Oct 30, 2014 8:38 pm
by Box293
Excellent, glad we were able to fix this for you.