XI 2014 Switch Problems

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
hudbaylicensing
Posts: 27
Joined: Fri Jul 13, 2012 11:48 am

XI 2014 Switch Problems

Post by hudbaylicensing »

Trying to add a switch, SNMP is turned on on the switch, community name is setup - when trying to add in Nagios Switch/Router Wizard, it gives me a "No ports were detected on the switch" error. It then says to run a cfgmaker command, I did and the link below is what I is what I received - It appears that it does see the switch and can connect to it. Not sure what to do next?

http://pastebin.com/ZWh20pWh



Thanks,
Marc
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: XI 2014 Switch Problems

Post by scottwilkerson »

There is a known issue with the current switch wizard, and a new wizard has been posted at
http://assets.nagios.com/downloads/nagi ... switch.zip

Install through Admin -> Manage Wizards
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
hudbaylicensing
Posts: 27
Joined: Fri Jul 13, 2012 11:48 am

Re: XI 2014 Switch Problems

Post by hudbaylicensing »

Great Thanks, that allowed me to get past that and add the switch.

I am getting results though that do not make sense, when looking at Bandwidth, they are all reporting as:

OK - Current BW in: 0Mbps Out: 0Mbps

But I know that there is traffic moving on this switch - it is one of our busiest switches in the plant. Am I doing something wrong?

Thanks,
Marc
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: XI 2014 Switch Problems

Post by slansing »

How long has it been since you configured this switch in XI? It may take a bit of time before you start seeing the results displayed for the first time.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: XI 2014 Switch Problems

Post by tmcdonald »

Also, please run the following and post the results:

Code: Select all

LC_ALL=C /usr/local/nagios/libexec/check_icmp -H 8.8.8.8
/usr/local/nagios/libexec/check_icmp -H 8.8.8.8
Former Nagios employee
hudbaylicensing
Posts: 27
Joined: Fri Jul 13, 2012 11:48 am

Re: XI 2014 Switch Problems

Post by hudbaylicensing »

LC_ALL=C /usr/local/nagios/libexec/check_icmp -H 8.8.8.8
OK - 8.8.8.8: rta 72.236ms, lost 0%|rta=72.236ms;200.000;500.000;0; pl=0%;40;80;; rtmax=73.982ms;;;; rtmin=71.143ms;;;;

/usr/local/nagios/libexec/check_icmp -H 8.8.8.8
OK - 8.8.8.8: rta 77.177ms, lost 0%|rta=77.177ms;200.000;500.000;0; pl=0%;40;80;; rtmax=85.856ms;;;; rtmin=70.748ms;;;;

Looks OK to me...

It has only been a couple of hours - I will leave it and check it tomorrow morning. Thanks!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: XI 2014 Switch Problems

Post by sreinhardt »

Great, I'll leave it open for a few days in case you still have issues.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
hudbaylicensing
Posts: 27
Joined: Fri Jul 13, 2012 11:48 am

Re: XI 2014 Switch Problems

Post by hudbaylicensing »

Checked it again this morning - have setup two switches and neither of them are reporting any traffic on the bandwidth everything displays as:

OK - Current BW in: 0Mbps Out: 0Mbps
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: XI 2014 Switch Problems

Post by lmiltchev »

After installing the new wizard, did you rerun it (and re-add the hosts) as explained in the following document?

http://assets.nagios.com/downloads/nagi ... Router.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
hudbaylicensing
Posts: 27
Joined: Fri Jul 13, 2012 11:48 am

Re: XI 2014 Switch Problems

Post by hudbaylicensing »

using that pdf for adding Switches, my mrtg.cfg file does not contain any information for switches in it - this is all I see:

######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
#
# Note:
#
# * Keywords must start at the begin of a line.
#
# * Lines which follow a keyword line which do start
# with a blank are appended to the keyword line
#
# * Empty Lines are ignored
#
# * Lines starting with a # sign are comments.

# Where should the logfiles, and webpages be created?

# Minimal mrtg.cfg
#--------------------

HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
WorkDir: /var/lib/mrtg

Include: conf.d/*.cfg

And I get all kinds of errors when I try to run LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg –check - and the errors are actually from different routers that we have at our sites - we used the WatchGuard wizard to add these, not the Switch/Router wizard and doesn't seem to display any errors for the switches we have added.
Locked