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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: XI Shows performance graph isn't running

Post by scottwilkerson »

Can you run the following to amuse me

Code: Select all

[root@localhost nagiosxi]# umask
0022
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Keo
Posts: 33
Joined: Wed May 09, 2012 12:11 pm

Re: XI Shows performance graph isn't running

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

Re: XI Shows performance graph isn't running

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

Re: XI Shows performance graph isn't running

Post 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 
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.
ksatishhegde
Posts: 3
Joined: Fri Sep 12, 2014 11:50 pm
Contact:

Re: XI Shows performance graph isn't running

Post by ksatishhegde »

It worked for me. Thanks for the post
Locked