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.
NRPE: unable to read output
NRPE: unable to read output
- Attachments
-
Check_mem.docx- (16.31 KiB) Downloaded 107 times
Re: NRPE: unable to read output
On the NRPE client, what is the permission of /opt/iexpress/nagios/libexec/check_mem?
Former Nagios Employee
Re: NRPE: unable to read output
777 nagios:nagios
Re: NRPE: unable to read output
Odd, can you verify the sub-folder permissions as well? This usually ends up being a permission issue.
Code: Select all
ls -l /opt/iexpress/nagios/libexec/
ls -l /opt/iexpress/nagios/
ls -l /opt/iexpress/
Former Nagios Employee
Re: NRPE: unable to read output
Hi,
All 3 sub folders have 777 nagios:nagios
All 3 sub folders have 777 nagios:nagios
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE: unable to read output
Can you share your nrpe.cft and any included files to verify you have the check_mem command configured properly?