Metrics Display not showing data from check_nrpe checks
Posted: Mon May 27, 2019 11:54 pm
Hi - I'm having issues again with check_nrpe commands not displaying data in the Metrics screen - see https://support.nagios.com/forum/viewto ... 16&t=51122
If I setup monitoring using the WIndows Config Wizard it uses the check_nt commands by default and they all appear OK in the Metrics screen. However, I would prefer to use the check_nrpe commands with NSclient++ because I can manipulate the output and appears a bit more versatile.
So the big question is why does Nagios use the check_nt commands by default for Windows Config instead of check_nrpe ? Is there a specific reason?
The following is the output of the CPU Usage monitors. The results of the check_nt command display as expected in the Metrics screen. The check_nrpe results aren't displayed at all in the Metrics screen.
In the previous query I had, you provided an updated php file to fix this, however, I don't want to have to keep applying these patches each time I update NagiosXI.
BTW - I'm running NagiosXI 5.6.2 on a CentOS 7 VM.
Thanks... Fred
If I setup monitoring using the WIndows Config Wizard it uses the check_nt commands by default and they all appear OK in the Metrics screen. However, I would prefer to use the check_nrpe commands with NSclient++ because I can manipulate the output and appears a bit more versatile.
So the big question is why does Nagios use the check_nt commands by default for Windows Config instead of check_nrpe ? Is there a specific reason?
The following is the output of the CPU Usage monitors. The results of the check_nt command display as expected in the Metrics screen. The check_nrpe results aren't displayed at all in the Metrics screen.
Code: Select all
# ./check_nrpe -H 192.168.11.82 -c check_cpu -a "warn=load >80" "crit=load > 90"
OK: CPU load is ok.|'total 5m'=0%;80;90 'total 1m'=0%;80;90 'total 5s'=0%;80;90
# ./check_nt -H 192.168.11.82 -s "" -p 12489 -v CPULOAD -l 5,80,90
CPU Load 0% (5 min average) | '5 min avg Load'=0%;80;90;0;100
BTW - I'm running NagiosXI 5.6.2 on a CentOS 7 VM.
Thanks... Fred