XI Shows performance graph isn't running

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: XI Shows performance graph isn't running

Post 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
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.
Keo
Posts: 33
Joined: Wed May 09, 2012 12:11 pm

Re: XI Shows performance graph isn't running

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

Re: XI Shows performance graph isn't running

Post 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
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.
Keo
Posts: 33
Joined: Wed May 09, 2012 12:11 pm

Re: XI Shows performance graph isn't running

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

Re: XI Shows performance graph isn't running

Post by abrist »

What are the permissions on the following directory:

Code: Select all

ls -lad /usr/local/nagiosxi/var/subsys/
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.
Keo
Posts: 33
Joined: Wed May 09, 2012 12:11 pm

Re: XI Shows performance graph isn't running

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

Re: XI Shows performance graph isn't running

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

Code: Select all

getenforce 
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.
Keo
Posts: 33
Joined: Wed May 09, 2012 12:11 pm

Re: XI Shows performance graph isn't running

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

Code: Select all

getenforce 
RHEL 6
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: XI Shows performance graph isn't running

Post by abrist »

selinux is not a distro, but a security mechanism. Check it with "getenforce" and post the output.
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.
Keo
Posts: 33
Joined: Wed May 09, 2012 12:11 pm

Re: XI Shows performance graph isn't running

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

Code: Select all

# getenforce
Disabled
Locked