Page 1 of 1
Nagios Core Help
Posted: Tue Jul 15, 2014 12:59 pm
by chuck112
Long story short, which I know Ill get a lot of questions which I need. I have nagios up and going I have many servers on my service tab and see a lot of SSL handshakes not working... so im just going out on a limb and saying its cause the plugins and the NRPE are all old from the core i just installed.... I have just resurected this project so they started then stopped so I am getting some greens and some fails...
So i went in and reinstalled the plugin and nrpe cause I could not find an easy button to update all the servers. now still getting the same handshake issue.
Ideas?
Thanks in advance.
Re: Nagios Core Help
Posted: Tue Jul 15, 2014 3:28 pm
by abrist
Have you set the "allowed_hosts" directive on each of the clients nrpe.cfg to the ip of your nagios server? You can try sunning a check against one of the broken remote hosts and then check that host's system messages for nrpe errors/output:
Additionally, please look at the following document, it will be a bit more verbose than this post:
http://assets.nagios.com/downloads/nagi ... utions.pdf
Re: Nagios Core Help
Posted: Tue Jul 15, 2014 4:10 pm
by chuck112
I know there are about 20+ posts out there on this issue.. some of them being over a year old so I just was hoping it wouldnt get lost in the HELP topics
Thanks for the quick reply ill dig into in the morning.. thanks
Re: Nagios Core Help
Posted: Wed Jul 16, 2014 3:23 pm
by slansing
If in doubt, don't hesitate to ask! There is a lot of archived data on these forums. Give us an update when you can!
Re: Nagios Core Help
Posted: Thu Jul 17, 2014 10:31 am
by chuck112
Okay found a new issue
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
I get this when I try to put a service on hold. any ideas on how to fix this?
Re: Nagios Core Help
Posted: Thu Jul 17, 2014 4:42 pm
by lmiltchev
Is nagios running?
What is the output of the following commands?
Code: Select all
ls -lad /usr/local/nagios/var/rw
ls -la /usr/local/nagios/var/rw
grep nag /etc/group
Note: Modify the paths if they are different on your system.