Page 2 of 3
Re: check_file_age error
Posted: Tue Sep 22, 2020 3:51 am
nagios

114:nagios
appusr

1010:appusr,nagios
nagcmd

1012:nagios
Re: check_file_age error
Posted: Tue Sep 22, 2020 7:32 am
by scottwilkerson
The permissions you previously showed show permissions for appuser group but here you have nagios added to the appusr group
Re: check_file_age error
Posted: Wed Sep 23, 2020 5:31 am
hi Team,
it stypo error, nagios user is added to appuser group only.
Re: check_file_age error
Posted: Wed Sep 23, 2020 7:58 am
by scottwilkerson
I am out of the usual troubleshooting options.
Clearly the nagios user on the 192.168.105.93 server does not have access to the file, why that is based on what you have posted I'm not sure.
to clarify one thing, when you posted this, was this on the remote 192.168.105.93 server?
I ask because it wouldn't be very common to have a nagcmd user on a non-nagios server
Re: check_file_age error
Posted: Wed Sep 23, 2020 9:28 pm
Yes, i posted that with nagios client server.
Re: check_file_age error
Posted: Thu Sep 24, 2020 7:30 am
by scottwilkerson
Please show the output of the following from the client machine
Code: Select all
su nagios -c "ls -l /dir/dir/dir/logs/log.log"
Re: check_file_age error
Posted: Mon Sep 28, 2020 5:37 am
i am not getting any output for the above command
Re: check_file_age error
Posted: Mon Sep 28, 2020 7:29 am
by scottwilkerson
Re: check_file_age error
Posted: Tue Sep 29, 2020 8:24 am
hi Team,
i have not got any output.
Please suggest how to proceed further
Re: check_file_age error
Posted: Tue Sep 29, 2020 8:27 am
by scottwilkerson
[email protected] wrote:hi Team,
i have not got any output.
Please suggest how to proceed further
Clearly the nagios user cannot see the file.
However, you are likely going to have to work this out with the security team as there is no way for us to know why that would be.
The nagios user is going to need to be able to see the file in order for the check to work properly