I have nsclient++ (version 0.5.x) running on a number of windows servers in my environment, all of which report to my NagiosXI server via passive checks. I've noticed active checks will easily create performance data but for whatever reason I can't seem to get performance graphs for data received from passive checks.
I've worked through this link: https://support.nagios.com/kb/article.php?id=9 which revealed no issue - this was expected though since active checks still work, it's likely something with how data is being submitted to Nagios from nsclient.
Here's an example of the command being run on nsclient:
Code: Select all
check_cpu "warn=load > 90" "crit=load > 95" show-all
L cli OK: OK: 5m: 4%, 1m: 3%, 5s: 1%
L cli Performance data: 'total 5m'=4%;90;95 'total 1m'=3%;90;95 'total 5s'=1%;90;95
Code: Select all
Oct 26 16:08:54 nagiosxi nsca[12842]: SERVICE CHECK -> Host Name: 'STOR-01B', Service Description: 'CPU Usage', Return Code: '0', Output: 'OK: 5m: 4%, 1m: 3%, 5s: 1%|'total 5m'=4%;90;95 'total 1m'=3%;90;95 'total 5s'=1%;90;95'
Oct 26 16:08:54 nagiosxi nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;STOR-01B;CPU Usage;0;OK: 5m: 4%, 1m: 3%, 5s: 1%|'total 5m'=4%;90;95 'total 1m'=3%;90;95 'total 5s'=1%;90;95
Oct 26 16:08:54 nagiosxi nagios: PASSIVE SERVICE CHECK: STOR-01B;CPU Usage;0;OK: 5m: 4%, 1m: 3%, 5s: 1%
Any replies are appreciated