Page 1 of 2

NRPE NSClient++ check_cpu negative values

Posted: Tue Aug 23, 2016 10:16 am
by mhixson2
I've only noticed this issue on one of the 1100+ hosts currently being watched by Nagios.

Nagios XI 2014R2.7
NSClient++ 0.4.3.143 x64

I renamed the perfdata files for the CPU check so they would be recreated thinking it was that data that got messed up, but that doesn't seem to be the case as it happened again within the last 24 hours. Any idea what's causing this? I read https://support.nagios.com/forum/viewto ... 93&p=20613 but it doesn't appears they're using the same check that I am. Is this related?

Command and current output/perfdata:

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H HOSTNAME -u -t 30 -c check_cpu -a 'warn=0' 'crit=load ge 98%' 
OUTPUT: OK: CPU load is ok.|'total 5m'=17%;0;98 'total 1m'=17%;0;98 'total 5s'=19%;0;98
Graph:
nagios_negative_cpu.png

Re: NRPE NSClient++ check_cpu negative values

Posted: Tue Aug 23, 2016 1:39 pm
by tgriep
You may want to upgrade to the latest Stable 4.4.x version of the NSClient and see if that helps.
I looked at the changelog and is shows a bug for negative performance data which sounds like what you are seeing.
https://docs.nsclient.org/0.4.3/whatsnew/changelog.html

Re: NRPE NSClient++ check_cpu negative values

Posted: Tue Sep 13, 2016 12:57 pm
by mhixson2
Just upgraded to 0.4.4.23. So far so good, but the other version took a while to crap out, so we'll see.
I'll report back soon whether this was the fix or not.

Re: NRPE NSClient++ check_cpu negative values

Posted: Tue Sep 13, 2016 3:02 pm
by mcapra
Definitely let us know of any updates :)

Re: NRPE NSClient++ check_cpu negative values

Posted: Wed Sep 14, 2016 2:34 pm
by mhixson2
Unfortunately, that did not fix it (attached).

Just for clarification, after I upgraded NSClient, I renamed the .rrd and .xml files for this service in the host's directory in /usr/local/nagios/share/perfdata/HOSTNAME/. When it recreated them and started graphing again, all was well. The graph looked normal, then the attached happened around 03:30. Any other ideas? I'll look in the server's logs, but I don't have high hopes for that.

Re: NRPE NSClient++ check_cpu negative values

Posted: Wed Sep 14, 2016 4:48 pm
by mcapra
Could we see the contents of your NSClient++ log? It's usually located at C:\Program Files\NSClient++\nsclient.log.

Re: NRPE NSClient++ check_cpu negative values

Posted: Mon Sep 26, 2016 10:03 am
by mhixson2
Definitely seems to be complaining about something. Here's the log. I updated the client on 9/13, so the errors on that date can probably be ignored.

Code: Select all

2016-09-13 10:25:24: error:c:\source\nscp\modules\NRPEServer\NRPEServer.cpp:132: Certificate not found: C:\Program Files\NSClient++/security/certificate.pem (generating a default certificate)
2016-09-13 10:25:24: error:c:\source\nscp\modules\NRPEServer\NRPEServer.cpp:132: CA not found: C:\Program Files\NSClient++/security/ca.pem (generating a default CA)
2016-09-13 10:25:24: error:c:\source\nscp\modules\WEBServer\WEBServer.cpp:662: No password set please run nscp web --help
2016-09-13 10:25:46: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:25:46: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:25:47: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:25:51: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:25:51: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:26:34: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:26:35: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:26:43: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:26:44: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:26:44: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:26:45: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:26:49: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 10:26:49: error:c:\source\nscp\include\nrpe/server/protocol.hpp:80: Rejected connection from: 10.x.x.x
2016-09-13 19:45:50: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-13 19:45:51: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-13 19:45:52: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-14 00:06:07: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-14 20:46:11: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:03:22: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:03:31: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:06:45: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: short read
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-15 00:06:47: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:07:07: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:09: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:09: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:09: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:09: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 00:07:09: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:11: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 00:07:11: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 02:29:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 02:29:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 02:29:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 02:29:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 02:29:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 02:29:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 02:29:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 02:29:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 03:00:47: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-15 03:45:03: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 03:45:04: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 03:45:04: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 03:45:28: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 03:47:12: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 03:47:27: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 03:47:27: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 03:47:33: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 03:47:33: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 20:50:34: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-15 20:52:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:02:21: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:02:36: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: short read
2016-09-16 00:02:36: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: short read
2016-09-16 00:03:17: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:03:17: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:03:17: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:03:20: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:07:59: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-16 00:08:00: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:00: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:00: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:00: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:00: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:13: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:42: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:42: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-16 00:08:43: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:44: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:45: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:08:45: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-16 00:50:48: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:02:13: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: short read
2016-09-17 00:03:28: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:03:36: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:03:36: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:12: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:15: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:15: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 00:04:19: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 19:55:59: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 19:55:59: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 21:02:59: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 23:46:37: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 23:47:11: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 23:47:13: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 23:47:13: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-17 23:47:13: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-18 00:08:19: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: An established connection was aborted by the software in your host machine
2016-09-18 00:08:20: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: An established connection was aborted by the software in your host machine
2016-09-19 00:03:03: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:03:42: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:03:42: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:03:42: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:03:42: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:03:42: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:03:42: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:03:51: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:03:51: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:04:01: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:04:01: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:04:01: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:04:01: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:04:01: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:04:50: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:05:11: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:05:21: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:05:26: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:05:26: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:05:26: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:05:26: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:06:21: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:07:04: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-19 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-19 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:07:10: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:07:20: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:08:00: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-19 00:08:00: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:37: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:46: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-19 00:11:50: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:50: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:50: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:51: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:52: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:52: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:53: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:11:53: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-19 00:12:14: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:12:16: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:12:16: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-19 00:12:20: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-20 00:04:33: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-20 00:06:27: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-20 00:06:42: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-20 00:07:44: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:01:39: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: short read
2016-09-21 00:01:49: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:01:49: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:01:49: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: short read
2016-09-21 00:02:03: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:02:03: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:02:03: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:02:08: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:02:11: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:03:14: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:03:18: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:03:39: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:03:41: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:03:57: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:04:03: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 00:04:03: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-21 21:01:18: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-22 00:05:53: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-22 23:56:44: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-22 23:56:54: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-22 23:56:54: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-22 23:56:54: error:c:\source\nscp\include\socket/connection.hpp:137: Failed to read data: short read
2016-09-22 23:56:55: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-22 23:56:57: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-23 00:02:28: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-23 00:03:01: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-23 00:03:09: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-23 00:03:28: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-23 00:03:47: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:48: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:57: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-23 00:03:57: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:57: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-23 00:03:57: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:57: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: short read: 219
2016-09-23 00:03:57: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-23 00:03:57: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-23 19:02:41: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-24 19:04:09: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-24 19:04:09: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-24 19:04:10: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-25 00:01:36: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-25 00:01:55: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-25 00:01:56: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-25 00:56:12: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-25 01:00:44: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-25 23:45:37: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-25 23:45:42: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-26 00:03:44: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-26 00:04:30: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An existing connection was forcibly closed by the remote host: 1862
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-26 00:04:32: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: An established connection was aborted by the software in your host machine: 1861
2016-09-26 00:04:34: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-26 00:04:34: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-26 00:04:34: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-26 00:04:36: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-26 00:04:36: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid
2016-09-26 00:04:37: error:c:\source\nscp\include\socket/connection.hpp:149: Failed to send data: The file handle supplied is not valid

Re: NRPE NSClient++ check_cpu negative values

Posted: Mon Sep 26, 2016 3:29 pm
by tgriep
Can you post your nsclient.ini file as well and have you seen negative values in the last few days?

Re: NRPE NSClient++ check_cpu negative values

Posted: Mon Sep 26, 2016 4:02 pm
by mhixson2
nsclient.ini file (IPs and stuff omitted, there are lots of external script definitions)

Code: Select all

[/settings/default]
;A comma separated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges.
	allowed hosts=127.0.0.1,10.x.x.x,etc.

[/modules]
;Various system related checks, such as CPU load, process state, service state memory usage and PDH counters.
	CheckSystem=1
;Various file and disk related things.
	CheckDisk=1
;Listens for incoming NRPE connection and processes incoming requests.
	NRPEServer=1
;Execute external scripts
	CheckExternalScripts=enabled

[/settings/NRPE/server]
	allowed ciphers=ADH
;Allow characters in command definitions
	allow nasty characters=1
;Allow -a arguments in command definitions
	allow arguments=1

[/settings/external scripts]
;Allow characters in external scripts
    allow nasty characters=1
;Allow arguments to be passed to external scripts
	allow arguments=1
	
[/settings/external scripts/scripts]
;Reboot server
	reboot_server=scripts\custom\reboot_server.bat $ARG1$ $ARG2$ $ARG3$
;Restart service
	multi_service_restart=scripts\custom\multi_service_restart.bat "$ARG1$"
;Citrix licenses
	citrix_licenses = scripts\custom\citrix_licenses.bat
;CV Media Agent Disk Check
	disk_check = scripts\custom\CV_Library_DiskCheck.bat
;MS cluster resources (VB - server 2008)
	check_mscs=cscript.exe //T:30 //NoLogo scripts\custom\check_microsoft_cluster.vbs $ARG1$ $ARG2$
;Windows update
	windows_update=scripts\custom\windows_update_watcher.bat $ARG1$ $ARG2$
;MS cluster resources (PS - server 2012+)
	cluster_node = scripts\custom\cluster_node.bat
	cluster_resource = scripts\custom\cluster_resource.bat
;Primary and secondary app server event log scraping
	eventlogs_app=scripts\custom\eventlogs_app.bat $ARG1$
;Web server event log scraping
	eventlogs_web_api=scripts\custom\eventlogs_web_api.bat $ARG1$
;Citrix server event log scraping
	eventlogs_citrix=scripts\custom\eventlogs_citrix.bat $ARG1$
;Citrix Memory Optimization file clean-up
	citrix_memopt=scripts\custom\citrix_memopt.bat $ARG1$ $ARG2$
;MSMQ
	msmq=scripts\custom\msmq.bat
;App server processes
	processes_app=scripts\custom\processes_app.bat
;SUS MSMQ
	msmq_sus=scripts\custom\msmq_sus.bat
;Citrix User Count
	citrix_usercount=scripts\custom\CTXUsers.bat $ARG1$
;Workspeed WSUS & reboot
	ws_wsus_reboot=scripts\custom\ws_wsus_reboot_watcher.bat $ARG1$ $ARG2$
;total user count
	usercount=scripts\custom\usercount.bat $ARG1$
;capacity
	capacity=scripts\custom\capacity.bat $ARG1$
;Disk load
	disk_load=scripts\custom\disk_load.bat $ARG1$
;Drive space clustered nodes
	drive_space_clustered=scripts\custom\drive_space_clustered.bat $ARG1$ $ARG2$
;Drive space non-clustered nodes
	drive_space_nonclustered=scripts\custom\drive_space_nonclustered.bat $ARG1$ $ARG2$
;Cluster drive space
	cluster_drive_space=scripts\custom\cluster_drive_space.bat $ARG1$ $ARG2$
;Citrix zero sessions
	citrix_zero_sessions=scripts\custom\citrix_zero_sessions.bat $ARG1$
;Workspeed EAP log scraping
	ws_eap_logs=scripts\custom\ws_eap_logs.bat
	
[/settings/log]
;Enable logging
	;file name = nsclient-debug-log.txt
	;level = trace
Yes, the negative values are persistent once they start. I updated NSClient++ on 9/13 in the afternoon, at which time I also renamed the .rrd and .xml perfdata files so the graph would be re-created, and until I left for the day the graph looked good. The next day there were negative values in the perfdata and it's been like that since. This is the only host we've seen this issue on. Very strange.
2016-09-26_16-56-51.png

Re: NRPE NSClient++ check_cpu negative values

Posted: Mon Sep 26, 2016 4:23 pm
by tgriep
Can you add the following under the following section.

Code: Select all

[/settings/log]
; LOG LEVEL - Log level to use. Available levels are error,warning,info,debug,trace
level = debug
; FILENAME - The file to write log data to. Set this to none to disable log to file.
file name = nsclient.log
; DATEMASK - The size of the buffer to use when getting messages this affects the speed and maximum size of messages you can recieve.
date format = %Y-%m-%d %H:%M:%S
[/settings/log/file]
; MAXIMUM FILE SIZE - When file size reaches this it will be truncated to 50% if set to 0 (default) truncation will be disabled
max size = 4096000
Save the file and restart the service.

This will enable the debugging and the next time you see negative information, post that section here.