NSCClient++ check_nt CPULOAD

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
FrontlineIT
Posts: 94
Joined: Tue Jul 26, 2016 8:46 am

NSCClient++ check_nt CPULOAD

Post by FrontlineIT »

Happy Tuesday,

When it comes to the NSClient++, we are running 0.3.9 and have CPULOAD monitors setup across the board using check_nt. We are curious on what data the NSClient is pulling when reporting back on the CPU %. Would someone be able to assist?

Thanks!
FrontlineIT
Posts: 94
Joined: Tue Jul 26, 2016 8:46 am

Re: NSCClient++ check_nt CPULOAD

Post by FrontlineIT »

For example, is the client getting its data from Resource Monitor? Thanks again.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: NSCClient++ check_nt CPULOAD

Post by mcapra »

FrontlineIT wrote:We are curious on what data the NSClient is pulling when reporting back on the CPU %
That's probably a better question for the NSClient++ forums.

I am not an expert on NSClient++, but as far as I can tell checkCPU (for 0.3.9 anyway) references the following Windows performance counters:

Code: Select all

#define C_SYSTEM_CPU_BUFFER_TIME _T("CPUBufferSize") 
#define C_SYSTEM_CPU _T("SystemTotalProcessorTime")
#define C_SYSTEM_MEM_CPU_DEFAULT _T("\\Processor(_total)\\% Processor Time")
And does some clever math on them.
Former Nagios employee
https://www.mcapra.com/
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NSCClient++ check_nt CPULOAD

Post by tgriep »

Thanks @mcapra for the help. @FrontlineIT let us know if you have any further questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked