On 14/05/16 09:48, Stephan Tesch wrote:
Am 13.05.2016 um 16:55 schrieb Joel A Divekar:
did you check if selinux is enabled? Might be an idea to turn it off and
try again.
Well, instead of turning it off and disabling a very important security
mechanism, it's better to set it to permissive, if at all.
Generally, it's best to check with 'ausearch -m avc' if selinux in fact
prevented access to check_disk...
If that's that cases that's a starting point...
-Gerald
Regards,
Stephan
Hi All
I have just added a linux client for monitoring on Icinga2 server, the
dashboard shows host is up but still shows following errors
execvpe(/usr/lib64/nagios/plugins/check_disk) failed: No such file
or directory
I checked on Icinga2 server, this directory and the plugin file exist
[root@icinga2 plugins]# pwd
/usr/lib64/nagios/plugins
[root@icinga2 plugins]# ll
total 2516
-rwxr-xr-x 1 root root 2251 Sep 11 2015 check_breeze
-rwxr-xr-x 1 root root 62352 Sep 11 2015 check_by_ssh
lrwxrwxrwx 1 root root 9 Apr 18 17:50 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 45288 Sep 11 2015 check_cluster
-rwsr-x--- 1 root nagios 62024 Sep 11 2015 check_dhcp
-rwxr-xr-x 1 root root 57960 Sep 11 2015 check_dig
-rwxr-xr-x 1 root root 66904 Sep 11 2015 check_disk
-rwxr-xr-x 1 root root 9289 Sep 11 2015 check_disk_smb
-rwxr-xr-x 1 root root 62008 Sep 11 2015 check_dns
-rwxr-xr-x 1 root root 36632 Sep 11 2015 check_dummy
......
I tried to setuid
chmod u+s check_disk
and even change the owner of the file as
-rwxr-xr-x 1 root nagios 66904 Sep 11 2015 check_disk
But still no luck. Can someone guide me. Thanks.
Regards
Joel Divekar
<https://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
Get your own *FREE* website, *FREE* domain & *FREE* mobile app with
Company email.
*Know More >*
<http://track.rediff.com/click?url=___http://businessemail.rediff.com?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users