max_check_result_file_age
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: max_check_result_file_age
drwxr-sr-x 2 nagios nagios 184410112 Nov 5 19:18 checkresults
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: max_check_result_file_age
Lets run the following to correct the permissions:
Code: Select all
chmod g-s -R checkresults
chmod g+wx -R checkresults
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: max_check_result_file_age
Please find the details,
drwxr-xr-x 2 nagios nagios 218431488 Nov 13 07:01 checkresults
drwxr-xr-x 2 nagios nagios 218431488 Nov 13 07:01 checkresults
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: max_check_result_file_age
still not group write, execute the following
Code: Select all
chmod g+w -R checkresults
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: max_check_result_file_age
Executed shared command
drwxrwxr-x 2 nagios nagios 4096 Nov 13 08:00 checkresults
What is expected group / permission, please share the example.
drwxrwxr-x 2 nagios nagios 4096 Nov 13 08:00 checkresults
What is expected group / permission, please share the example.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: max_check_result_file_age
That is it
Code: Select all
drwxrwxr-x 2 nagios nagios
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: max_check_result_file_age
And now provided your httpd/apache user is part of the nagios group things should work correctly
Code: Select all
grep nag /etc/group
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: max_check_result_file_age
Please find details
[nagios@abc123 ~]$ grep nag /etc/group
nagios12366:apache,nagcmd
apache2800:nagcmd,nagios
nagcmd31235:nagios
[nagios@abc123 ~]$ grep nag /etc/group
nagios12366:apache,nagcmd
apache2800:nagcmd,nagios
nagcmd31235:nagios
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: max_check_result_file_age
That looks ok, are you still seeing the same problem you had before?
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: max_check_result_file_age
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
chmod g-s -R checkresults
chmod g+wx -R checkresults
chmod g+w -R checkresults