Hi,
I am unable to execute the Check_init_service remotely. when i rum from local machine its running whereas from remote machine using NRPE i cannot.
On local Machine
./check_init_service crond
Redirecting to /bin/systemctl status crond.service
* crond.service - Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-10-16 14:38:56 EDT; 2 days ago
from remote machine
/usr/local/nagios/libexec/check_nrpe -H IP address -t 30 -c check_init_service -a 'sendmail'
NRPE: Unable to read output
Any help will be appreciated
RPE: Unable to read output
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: RPE: Unable to read output
Hi @Johnsmit
This type error can be caused by an incorrect plugin path. Please verify that the plugin path on the remote machine matches the path in the config file, nrpe.cfg.
The default path for plugins is:
/usr/local/nagios/libexec/
Then compare with the path for the command directive in nrpe.cfg:
command[check_users]=/usr/local/nagios/libexec/check_users $ARG1$
We have a knowledgebase article on troubleshooting this type of error at:
https://support.nagios.com/kb/article/n ... t-620.html
Let me know this resolves the issue.
This type error can be caused by an incorrect plugin path. Please verify that the plugin path on the remote machine matches the path in the config file, nrpe.cfg.
The default path for plugins is:
/usr/local/nagios/libexec/
Then compare with the path for the command directive in nrpe.cfg:
command[check_users]=/usr/local/nagios/libexec/check_users $ARG1$
We have a knowledgebase article on troubleshooting this type of error at:
https://support.nagios.com/kb/article/n ... t-620.html
Let me know this resolves the issue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!