I can not see switch

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
5kgroup
Posts: 1
Joined: Sat Apr 05, 2014 4:13 am

I can not see switch

Post by 5kgroup »

I configured everything according to the official instructions, nagios can not see my switch. I only have localhost. Suggestions?
Sorry for bad eng. :)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: I can not see switch

Post by slansing »

Have you made sure to configure both a host, and services for the switch, as well as whatever is required by the mechanism you are using to check it? What distro are you running on? Can you run the following and show the output if you are running CENTOS/Rhel:

Code: Select all

/usr/local/nagios/bin -v /usr/local/nagios/etc/nagios.cfg
mkot
Posts: 68
Joined: Tue Feb 25, 2014 1:47 am
Location: Poland

Re: I can not see switch

Post by mkot »

Did you restart nagios' service after adding your hosts?

Code: Select all

service nagios restart
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: I can not see switch

Post by sreinhardt »

Agreed, verify then restart if the configs check out ok. Otherwise nagios will not update with the new switch.
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.
Locked