problem with NRPE
Posted: Sat Feb 06, 2016 8:50 am
Hello,
i ve a problem with the nrpe plugin. the server and the host are in the same network.
in command line i can remote informations, by example :
but in the web interface, i can't see informations needed, example :
i can see just : the "UNKNOWN" state, and "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages."
i read the "NRPE-Troubleshooting-and-Common-Solutions" link : https://assets.nagios.com/downloads/nag ... utions.pdf , but there's no solution for me.
indeed, my remote nrpe.cfg is "dont_blame_nrpe=1"
but as in command line the informations pass, i don't think it is a firewall's problem.
someone maybe know a solution ?
thx by advance.
i ve a problem with the nrpe plugin. the server and the host are in the same network.
in command line i can remote informations, by example :
Code: Select all
/usr/lib/nagios/plugins# ./check_nrpe -H 172.16.1.3
NRPE v2.15
/usr/lib/nagios/plugins# ./check_nrpe -H 172.16.1.3 -c check_load
OK - Charge moyenne: 0.00, 0.02, 0.05|load1=0.000;15.000;30.000;0; load5=0.020;10.000;25.000;0; load15=0.050;5.000;20.000;0;
/usr/lib/nagios/plugins# ./check_nrpe -H 172.16.1.3 -c check_users
UTILISATEURS OK - 0 utilisateurs actuellement connectés sur |users=0;5;10;0
/usr/lib/nagios/plugins# ./check_nrpe -H 172.16.1.3 -c check_disk
DISK OK - free space: / 5104 MB (74% inode=85%);| /=1787MB;5824;6552;0;7280
/usr/lib/nagios/plugins# ./check_nrpe -H 172.16.1.3 -c check_mem
<b>CRITICAL: Memory Usage (W> 90, C> 80): 89% <br>Swap Usage (W> 100, C> 100): 0%</b>|MemUsed=89%;90;80 SwapUsed=0%;100;100
Code: Select all
Current Load
UNKNOWN 2016-02-06 13:47:32 1d 21h 11m 46s 4/4 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Current Users
UNKNOWN 2016-02-06 13:43:25 1d 21h 11m 47s 4/4 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Disk Space
UNKNOWN 2016-02-06 13:47:36 1d 21h 10m 49s 4/4 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Memory
UNKNOWN 2016-02-06 13:47:17 1d 15h 34m 8s 4/4 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
i read the "NRPE-Troubleshooting-and-Common-Solutions" link : https://assets.nagios.com/downloads/nag ... utions.pdf , but there's no solution for me.
indeed, my remote nrpe.cfg is "dont_blame_nrpe=1"
but as in command line the informations pass, i don't think it is a firewall's problem.
someone maybe know a solution ?
thx by advance.