<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Here are a couple check commands that were provided. This is from a
<b>nrpe.cfg</b> file on monitored system<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The 1<sup>st</sup> line, the –w is $ARG1$, -c is $ARG2$, -s is $ARG3$              ARG1=5 ARG2=10 ARG3=Z<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The 2<sup>nd</sup> line is $ARG1$ and $ARG2$                                                          ARG1=350 ARG2=500<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:.5in"><span style="color:#1F497D">command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:.5in"><span style="color:#1F497D">command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 350 -c 500<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">NOTE: this is just 1 way of doing it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Rick Garland | Sr UNIX Systems Administrator
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Torres-Capeles.Juan [mailto:Juan.Torres-Capeles@IGT.com]
<br>
<b>Sent:</b> Wednesday, September 19, 2012 4:07 PM<br>
<b>To:</b> Nagios Plugin Development Mailing List<br>
<b>Subject:</b> Re: [Nagiosplug-devel] CPU Threads<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Rick,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I have these entries as well. It is have to be a file which the values can be set-up to have the trigger point. That’s what I need. My servers are more frequently accessed and more load is in, which I need to increase
 the warnings and the critical values to reduce the e-mail traffic.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Thanks,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">J Torres<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"># 'check_local_procs' command definition<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">define command{<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">        command_name    check_proc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">        command_line    $USER1$/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">        }<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"># 'check_local_procs' command definition<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">define command{<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">        command_name    check_local_procs<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">        command_line    $USER1$/check_procs -w $ARG1$ -c $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">        }<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Rick Garland
<a href="mailto:[mailto:Rick.Garland@quantum.com]">[mailto:Rick.Garland@quantum.com]</a>
<br>
<b>Sent:</b> Wednesday, September 19, 2012 12:14 PM<br>
<b>To:</b> Nagios Plugin Development Mailing List<br>
<b>Subject:</b> Re: [Nagiosplug-devel] CPU Threads<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">The $ARG$’s would go into the command.cfg on the server and the values would be in your nrpe.cfg<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">Here is an entry from my commands.cfg<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span style="color:#1F497D">define command{<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span style="color:#1F497D">        command_name    check_proc_by_ssh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span style="color:#1F497D">        command_line    $USER1$/check_by_ssh -H $HOSTADDRESS$ -C '/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$ -u $ARG4$'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span style="color:#1F497D">        }<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">The nrpe.cfg would hold the values.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">Rick Garland | Sr UNIX Systems Administrator | Quantum, Corp | Office: 720-249-5984 | cell: 720-210-4671<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Torres-Capeles.Juan
<a href="mailto:[mailto:Juan.Torres-Capeles@IGT.com]">[mailto:Juan.Torres-Capeles@IGT.com]</a>
<br>
<b>Sent:</b> Wednesday, September 19, 2012 12:02 PM<br>
<b>To:</b> <a href="mailto:nagiosplug-devel@lists.sourceforge.net">nagiosplug-devel@lists.sourceforge.net</a><br>
<b>Subject:</b> [Nagiosplug-devel] CPU Threads<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">Support.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">I have in nrpe.cfg as follow:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">…<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG2$ -c $ARG3$ --metric=$ARG4$ $ARG5$ $ARG6$<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">command[check_proc]=/usr/lib64/nagios/plugins/check_procs -w $ARG2$ -c $ARG3$ -C $ARG4$<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">…<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">In what file I set the actual value?<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">Thanks,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#595959">Juan Torres<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#365F91">Sr. Systems & Apps Administrator IV<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#595959"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#595959">International Game Technology<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#17365D">405 Howard Street<br>
Suite 600<br>
San Francisco, CA 94105<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#17365D">W: (415) 229-8365<br>
M: (386) 478-8599<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue"><a href="mailto:Juan.Torres-Capeles@igt.com">Juan.Torres-Capeles@igt.com</a></span></u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#17365D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<div class="MsoNormal" align="center" style="margin-left:.5in;text-align:center">
<span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information
 is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs
 and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.<o:p></o:p></span></p>
</div>
</body>
</html>