Page 4 of 4

Re: XI Shows performance graph isn't running

Posted: Tue Sep 10, 2013 2:04 pm
by scottwilkerson
Can you run the following to amuse me

Code: Select all

[root@localhost nagiosxi]# umask
0022

Re: XI Shows performance graph isn't running

Posted: Tue Sep 10, 2013 2:10 pm
by Keo
scottwilkerson wrote:Can you run the following to amuse me

Code: Select all

[root@localhost nagiosxi]# umask
0022

Code: Select all

# umask
0077

Re: XI Shows performance graph isn't running

Posted: Tue Sep 10, 2013 2:36 pm
by abrist
You may want to change the default umask to 022, or get used to changing the permissions by hand when you restart the npcd service as 077 forces a default private system (nothing readable outside of owner).
Edit:

Code: Select all

/etc/profile
Change the line:

Code: Select all

umask 077
To:

Code: Select all

umask 022

Re: XI Shows performance graph isn't running

Posted: Tue Sep 10, 2013 2:59 pm
by Keo
abrist wrote:You may want to change the default umask to 022, or get used to changing the permissions by hand when you restart the npcd service as 077 forces a default private system (nothing readable outside of owner).
Edit:

Code: Select all

/etc/profile
Change the line:

Code: Select all

umask 077
To:

Code: Select all

umask 022

Thanks for the suggestion, but security has a requirement that our umask be set to that. I'll see about modifying the init script to change perms.

Re: XI Shows performance graph isn't running

Posted: Tue Sep 10, 2013 3:05 pm
by abrist
That would be the best option then. You will want to set it to:

Code: Select all

-rw-r--r-- 1 nagios nagios 

Re: XI Shows performance graph isn't running

Posted: Thu Feb 11, 2016 8:15 am
by ksatishhegde
It worked for me. Thanks for the post