Hello,
Have use ```https://github.com/jonschipp/nagios-plu ... service.sh``` script on debian / ubuntu !
But on centos and fedora is not work have more bugs...
no see if this bug is from centos or the script.
Can you help me to see for what this script not work in nrpe with centos.
Have see 3 bugs/errors
1. Unable to read output
2. /usr/lib64/nagios/plugins/check_service.sh: line 248: systemctl: command not found
3. / usr / sbin / service: line 87: exec: / bin / systemctl: can not execute: Permission not granted
The first one can easily fix it we download the plugin and we made a chmod + x even if it had already been done!
Here have more informations : https://github.com/jonschipp/nagios-plugins/issues/44
Best Regards
CentOS 7.6 + check_service.sh fails
Re: CentOS 7.6 + check_service.sh fails
I saw that you added the entries to the sudoers files, and fixed the selinux issue.
Is the plugin fully functioning for you?
Is the plugin fully functioning for you?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 25
- Joined: Tue Mar 19, 2019 8:56 am
Re: CentOS 7.6 + check_service.sh fails
Fixed by SELinux thank you for your reply
Re: CentOS 7.6 + check_service.sh fails
Thanks for replying back that the issue is resolved. I will lock the post for you but feel free to open a new one in the future for any other questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!