Not able to Run the Plugin without the sudo Access
Posted: Tue Feb 13, 2018 12:16 pm
I have the requirement to monitor the following:
1) Mount Points in a Linux machine.
2) Number of Files in a Folder.
I have downloaded the following 2 scripts from the Nagios Exchange:
1) check_mountpoints.sh
2) check_numoffiles.sh
But i am not getting the desired output as expected.
When i try to run these scripts manually, it is not giving the expected output and failing.
But when i run these scripts using the sudo then it is giving the expected result.
Our Client is not agreeing to give the sudo access to the "nagios" user.
Please suggest is there any way out?
1) Mount Points in a Linux machine.
2) Number of Files in a Folder.
I have downloaded the following 2 scripts from the Nagios Exchange:
1) check_mountpoints.sh
2) check_numoffiles.sh
But i am not getting the desired output as expected.
When i try to run these scripts manually, it is not giving the expected output and failing.
But when i run these scripts using the sudo then it is giving the expected result.
Our Client is not agreeing to give the sudo access to the "nagios" user.
Please suggest is there any way out?