<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the cfg for a system:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">define service{<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">        use                     247service<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">        host_name               HOSTNAME<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">        service_description     CPU Load<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">        check_command           check_nt!CPULOAD!-l 5,80,90<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">        }<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And I’ve defined the command in commands.cfg under objects:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">define command{<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">        command_name    check_nt<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">        command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD -v $ARG1$ $ARG2$<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">        }<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Andrew<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.0pt">Andrew Mayer</span></b><span style="font-size:8.0pt;color:gray"> |
</span><span style="font-size:8.0pt;color:#E36C0A">Spider</span><span style="font-size:8.0pt;color:#404040">Rock
</span><span style="font-size:8.0pt;color:gray">|</span><span style="font-size:8.0pt;color:#404040"> 300 S. RiverSide Plaza
</span><span style="font-size:8.0pt;color:gray">|</span><span style="font-size:8.0pt;color:#404040"> Suite 2350
</span><span style="font-size:8.0pt;color:gray">|</span><span style="font-size:8.0pt;color:#404040"> Chicago, IL 60606</span><span style="color:#282828"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.0pt;color:gray">Office:</span><span style="font-size:8.0pt;color:#404040"> 312.256.9620
</span><span style="font-size:8.0pt;color:gray">|</span><span style="font-size:8.0pt;color:#404040">
</span><span style="font-size:8.0pt;color:gray">Fax:</span><span style="font-size:8.0pt;color:#404040"> 312.256.9640 |
</span><span style="color:#282828"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:8.0pt;color:gray">E-Mail:</span><span style="font-size:8.0pt;color:blue">
<a href="mailto:andrew.mayer@spiderrock.net"><span style="color:blue">andrew.mayer@spiderrock.net</span></a></span><span style="color:#282828"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.0pt;color:gray">                                                
</span></b><span style="color:#282828"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:8.0pt;color:#F79646">Client Support:</span></b><span style="font-size:8.0pt;color:#404040"> 312.256.9602 |
<a href="mailto:cs@spiderrock.net"><span style="color:blue">cs@spiderrock.net</span></a> | AIM: spiderrockcs | gChat: spiderrockcs</span><span style="color:#282828"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<br>
<br>
<span style="font-family:Verdana;font-size:9px;font-style:italic;font-weight:normal;text-decoration:none;text-transform:none;color:B3B2B2;background-color:ffffff;"><br>
--<br>
Important - Confidential Information & Disclaimer. All email sent to or from this address will be retained by SpiderRock’s email archiving system. This message is intended only for the use of the individual or entity to which it is addressed, and may contain
 information that is privileged, confidential, and exempt from disclosure under applicable law. Please do not forward or distribute this correspondence by any means. Please also be aware that there is no assumption of privacy in any SpiderRock communication.
 If you have received this message in error, please notify us immediately and delete the message without copying or forwarding it to anyone. SpiderRock will not be liable for any compliance and technical information or guidance provided herein.</span>
<p style="font-size:10px;"></p>
</body>
</html>