RPE: Unable to read output
Posted: Fri Oct 19, 2018 8:55 am
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
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