Nagios Core Help

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
chuck112
Posts: 9
Joined: Fri Jan 03, 2014 12:01 pm

Nagios Core Help

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Core Help

Post 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:

Code: Select all

tail -50 /var/log/messages
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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
chuck112
Posts: 9
Joined: Fri Jan 03, 2014 12:01 pm

Re: Nagios Core Help

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Core Help

Post 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!
chuck112
Posts: 9
Joined: Fri Jan 03, 2014 12:01 pm

Re: Nagios Core Help

Post 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?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Core Help

Post by lmiltchev »

Is nagios running?

Code: Select all

service nagios status
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked