I configured everything according to the official instructions, nagios can not see my switch. I only have localhost. Suggestions?
Sorry for bad eng.
I can not see switch
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: I can not see switch
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
Re: I can not see switch
Did you restart nagios' service after adding your hosts?
Code: Select all
service nagios restart
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: I can not see switch
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.