Passive Checks Performance Graphing
Posted: Wed Oct 26, 2016 3:23 pm
Hello,
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:
Here's what NagiosXI receives:
I'm not sure how to read the performance data though, I know the nsclient documentation states that the performance data can be manipulated and I'm thinking that's exactly what I need to do to get this working I'm just unsure on the formatting of it. Does anyone have some experience with this?
Any replies are appreciated
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