Question about check_nt on 2 cpu server

Fredrik Mikker fmikker at op5.com
Fri Mar 23 13:17:55 CET 2018


Hi Andrew,
According to the documentation this should be possible (at least via
NRPE) by using the filter "filter=none".

You can find some more information in the docs:
https://docs.nsclient.org/reference/windows/CheckSystem/#check_cpu_samples

Hope this helps somewhat. Good Luck!

On 2018-03-15 15:34, Andrew Mayer wrote:
> Hello,
> 
>  
> 
> I’ve run into an issue while using check_nt to monitor CPU load on
> windows servers from my instance of Nagios core. I’m running NSClient
> 3.8 or 4.3 and it has become apparent that the CPU utilization
> information I receive back is only ever for CPU 0 and not the total
> system load. I’ve been able to replicate this issue on multiple systems
> and I’m wondering if I’m missing a variable  in my config. An example of
> how I’m using the plugin is:
> 
>  
> 
> In the cfg for a system:
> 
>  
> 
> define service{
> 
>         use                     247service
> 
>         host_name               HOSTNAME
> 
>         service_description     CPU Load
> 
>         check_command           check_nt!CPULOAD!-l 5,80,90
> 
>         }
> 
>  
> 
> And I’ve defined the command in commands.cfg under objects:
> 
>  
> 
> define command{
> 
>         command_name    check_nt
> 
>         command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s
> PASSWORD -v $ARG1$ $ARG2$
> 
>         }
> 
>  
> 
> I’ve checked multiple forums and I’m not seeing a similar reported issue
> so I’m wondering if I am just missing something obvious.

> 


-- 
Fredrik Mikker | Operations engineer/Open Source Community Manager | OP5
Phone  +46 (0)31-352 56 00
Email: fredrik.mikker at op5.com
OP5 AB | Första Långgatan 19 | 413 27 Göteborg | Sweden
VAT SE556582913101
Twitter: @op5ab
www.op5.com
Red Herring Global top 100

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x6E41165F.asc
Type: application/pgp-keys
Size: 7246 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20180323/fe462e3f/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20180323/fe462e3f/attachment.sig>


More information about the Devel mailing list