NRPE: unable to read output
Posted: Mon Jan 25, 2016 7:19 am
Hi guys,
From Nagios server :
=================
root ~ # /usr/local/nagios/libexec/check_nrpe -H 10.1.12.5 -c check_mem
NRPE: Unable to read output
root ~ # /usr/local/nagios/libexec/check_nrpe -H 10.1.12.5
NRPE v2.12
From 10.1.12.5 Nagios Client :
==========================
/opt/iexpress/nagios/etc # /opt/iexpress/nagios/libexec/check_mem -u -w 90 -c 95
OK - 51.8% (14.50 GB) used.|TOTAL=28GB;;;; USED=14.50GB;25;26;; FREE=13.50GB;;;; CACHES=0.00GB;;;;
When checked by 2>&1 appended at nrpe.cfg in Nagios server :
=====================================================
root /usr/local/pnp4nagios/var/perfdata/10.14.1.1 # /usr/local/nagios/libexec/check_nrpe -H 10.1.12.5 -c check_mem
Can't find ./index/INDEX
p4 exiting
Illegal division by zero at /opt/iexpress/nagios/libexec/check_mem line 95.
Need to get this thing running.
From Nagios server :
=================
root ~ # /usr/local/nagios/libexec/check_nrpe -H 10.1.12.5 -c check_mem
NRPE: Unable to read output
root ~ # /usr/local/nagios/libexec/check_nrpe -H 10.1.12.5
NRPE v2.12
From 10.1.12.5 Nagios Client :
==========================
/opt/iexpress/nagios/etc # /opt/iexpress/nagios/libexec/check_mem -u -w 90 -c 95
OK - 51.8% (14.50 GB) used.|TOTAL=28GB;;;; USED=14.50GB;25;26;; FREE=13.50GB;;;; CACHES=0.00GB;;;;
When checked by 2>&1 appended at nrpe.cfg in Nagios server :
=====================================================
root /usr/local/pnp4nagios/var/perfdata/10.14.1.1 # /usr/local/nagios/libexec/check_nrpe -H 10.1.12.5 -c check_mem
Can't find ./index/INDEX
p4 exiting
Illegal division by zero at /opt/iexpress/nagios/libexec/check_mem line 95.
Need to get this thing running.