Page 3 of 4
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 9:52 am
by abrist
Yes, it should be nagios:nagios:
Code: Select all
-rw-r--r-- 1 nagios nagios 5 Aug 18 21:57 /usr/local/nagiosxi/var/subsys/npcd.pid
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 9:57 am
by Keo
abrist wrote:Yes, it should be nagios:nagios:
Code: Select all
-rw-r--r-- 1 nagios nagios 5 Aug 18 21:57 /usr/local/nagiosxi/var/subsys/npcd.pid
That fixed that problem. Thanks for your help.
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 10:01 am
by abrist
Do me a favor and restart the npcd process. I would like to make sure that the file keeps the correct permissions:
Code: Select all
service npcd stop
service npcd restart
ll /usr/local/nagiosxi/var/subsys/npcd.pid
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 10:08 am
by Keo
abrist wrote:Do me a favor and restart the npcd process. I would like to make sure that the file keeps the correct permissions:
Code: Select all
service npcd stop
service npcd restart
ll /usr/local/nagiosxi/var/subsys/npcd.pid
Darn...
Code: Select all
# ll /usr/local/nagiosxi/var/subsys/npcd.pid
-rw-r----- 1 root root 5 Sep 10 10:07 /usr/local/nagiosxi/var/subsys/npcd.pid
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 10:52 am
by abrist
What are the permissions on the following directory:
Code: Select all
ls -lad /usr/local/nagiosxi/var/subsys/
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 11:00 am
by Keo
abrist wrote:What are the permissions on the following directory:
Code: Select all
ls -lad /usr/local/nagiosxi/var/subsys/
Code: Select all
# ls -lad /usr/local/nagiosxi/var/subsys/
drwxr-xr-x 2 nagios nagios 4096 Sep 10 10:07 /usr/local/nagiosxi/var/subsys/
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 11:16 am
by abrist
Oddly enough, the pid only needs og+r, it does not even need to have nagios:nagios permissions. It should be created with og+r, but in your case it is not. Are you running selinux?
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 11:19 am
by Keo
abrist wrote:Oddly enough, the pid only needs og+r, it does not even need to have nagios:nagios permissions. It should be created with og+r, but in your case it is not. Are you running selinux?
RHEL 6
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 12:17 pm
by abrist
selinux is not a distro, but a security mechanism. Check it with "getenforce" and post the output.
Re: XI Shows performance graph isn't running
Posted: Tue Sep 10, 2013 12:30 pm
by Keo
abrist wrote:selinux is not a distro, but a security mechanism. Check it with "getenforce" and post the output.
LOL! Sorry about that. I glanced at your comment and thought it said something about Suse.
Here is what you were looking for.