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.
rbuckle
Posts: 146 Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:
Post
by rbuckle » Thu Sep 03, 2015 10:34 am
I have a new install of Nagios Core 4.1.1 on CentOS 6.7
Any time i try to tell nagios to do something like re-check a device now or stop monitoring i get this:
i have confirmed that Nagios is indeed running and have checked the permissions on the file and folder:
drwxrwsr-x. 2 nagios nagcmd 4096 Sep 2 16:48 rw
and:
[root@RBCentos rw]# ll
total 0
prw-rw----. 1 nagios nagcmd 0 Sep 2 16:48 nagios.cmd
srw-rw----. 1 nagios nagcmd 0 Sep 2 16:48 nagios.qh
but i still get the same error, any thoughts?
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
jolson
Attack Rabbit
Posts: 2560 Joined: Thu Feb 12, 2015 12:40 pm
Post
by jolson » Thu Sep 03, 2015 11:53 am
My first thought is that SELinux is messing with things. Any chance it's running?
If you log in as the nagios user, are you capable of opening the file in question?
Code: Select all
su - nagios
cat /usr/local/nagios/var/rw/nagios.cmd
Just to make certain it's not a simple disk space problem, let's check on your disk space:
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.