max_check_result_file_age

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: max_check_result_file_age

Postby sandeepatil » Tue Nov 05, 2019 10:19 pm

drwxr-sr-x 2 nagios nagios 184410112 Nov 5 19:18 checkresults
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: max_check_result_file_age

Postby scottwilkerson » Wed Nov 06, 2019 8:03 am

Lets run the following to correct the permissions:
Code: Select all
chmod g-s -R checkresults
chmod g+wx -R checkresults
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Wed Nov 13, 2019 7:03 am

Please find the details,

drwxr-xr-x 2 nagios nagios 218431488 Nov 13 07:01 checkresults
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: max_check_result_file_age

Postby scottwilkerson » Wed Nov 13, 2019 7:37 am

still not group write, execute the following
Code: Select all
chmod g+w -R checkresults
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Wed Nov 13, 2019 8:02 am

Executed shared command

drwxrwxr-x 2 nagios nagios 4096 Nov 13 08:00 checkresults

What is expected group / permission, please share the example.
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: max_check_result_file_age

Postby scottwilkerson » Wed Nov 13, 2019 8:10 am

That is it
Code: Select all
drwxrwxr-x 2 nagios nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby scottwilkerson » Wed Nov 13, 2019 8:12 am

And now provided your httpd/apache user is part of the nagios group things should work correctly
Code: Select all
grep nag /etc/group
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Wed Nov 13, 2019 8:19 am

Please find details

[nagios@abc123 ~]$ grep nag /etc/group
nagios:x:12366:apache,nagcmd
apache:x:2800:nagcmd,nagios
nagcmd:x:31235:nagios
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: max_check_result_file_age

Postby scottwilkerson » Wed Nov 13, 2019 8:34 am

That looks ok, are you still seeing the same problem you had before?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Wed Nov 13, 2019 8:56 am

We will observe for 24 Hrs and update, please confirm permission commands for checkresults dir.

chmod g-s -R checkresults
chmod g+wx -R checkresults
chmod g+w -R checkresults
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

PreviousNext

Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot], traemccombs and 23 guests