<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 01/06/2012 00:18, Stuart Browne wrote:
    <blockquote
cite="mid:8CEF048B9EC83748B1517DC64EA130FB729C6917CF@off-win2003-01.ausregistrygroup.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <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: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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">What
            happens when you run this check as the user Nagios runs as
            (usually 'nagios')?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Stuart<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div style="border-width: medium medium medium 1.5pt;
          border-style: none none none solid; border-color:
          -moz-use-text-color -moz-use-text-color -moz-use-text-color
          blue; -moz-border-top-colors: none; -moz-border-right-colors:
          none; -moz-border-bottom-colors: none;
          -moz-border-left-colors: none; -moz-border-image: none;
          padding: 0cm 0cm 0cm 4pt;">
          <div>
            <div style="border:none;border-top:solid #B5C4DF
              1.0pt;padding:3.0pt 0cm 0cm 0cm">
              <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                    lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                  lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:Peter.Shankland@ricoh-rpl.com">Peter.Shankland@ricoh-rpl.com</a>
                  [<a class="moz-txt-link-freetext" href="mailto:Peter.Shankland@ricoh-rpl.com">mailto:Peter.Shankland@ricoh-rpl.com</a>] <br>
                  <b>Sent:</b> Thursday, 31 May 2012 8:14 PM<br>
                  <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
                  <b>Subject:</b> [Nagios-users] check_snmp_ibm_imm.sh
                  Plugin Help<o:p></o:p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi
              all,</span> <br>
            <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">I
              am trying to use the check_snmp_ibm_imm.sh plugin from
              Nagios Exchange (</span><a moz-do-not-send="true"
href="http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details</span></a><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">)
              but am having issues with getting a status back through
              Nagios - command line seems to work fine.</span> <br>
            <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">As
              an example, when I run "./check_snmp_ibm_imm.sh -H
              <hostname> -C <community> -T voltage" at the
              command line of the Nagios server I get output:</span> <br>
            <br>
            <img id="_x0000_i1025"
              src="cid:part2.04040503.04030705@coochey.net" border="0"
              height="95" width="716"><br>
            <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">So
              this shows that the plugin is working fine. However, when
              I then translate that into Nagios with the new command of:</span>
            <br>
          </p>
        </div>
      </div>
    </blockquote>
    Not quite - I don't see a status of OK / WARNING or CRITICAL - and
    this doesn't show you the exit code of the check either.<br>
    I don't know this plugin, but are there any parameters for warning
    or critical ? You may need to put these in. At the moment it is only
    returning performance data to you.<br>
    <br>
    <br>
    <blockquote
cite="mid:8CEF048B9EC83748B1517DC64EA130FB729C6917CF@off-win2003-01.ausregistrygroup.local"
      type="cite">
      <div class="WordSection1">
        <div style="border:none;border-left:solid blue 1.5pt;padding:0cm
          0cm 0cm 4.0pt">
          <p class="MsoNormal"><br>
            <img id="_x0000_i1026"
              src="cid:part3.02080505.07090305@coochey.net" border="0"
              height="120" width="798"><br>
            <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">I
              just get the following:</span> <br>
            <br>
            <img id="_x0000_i1027"
              src="cid:part4.04000906.06010305@coochey.net" border="0"
              height="53" width="1069"><br>
            <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">It
              is obviously something I am doing wrong in Nagios but
              could do with a push in the right direction :)</span> <br>
            <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Thanks.</span>
            <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Pete.</span>
            <o:p></o:p></p>
          <div class="MsoNormal" style="text-align:center"
            align="center">
            <hr style="color:#A0A0A0" align="center" noshade="noshade"
              size="2" width="100%"></div>
          <p class="MsoNormal"><br>
            <br>
            <b><span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> Peter
                Shankland</span></b> <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> TECHNICAL
              NETWORK SPECIALIST</span> <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> IT
              DEPARTMENT</span> <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> DD:+44
              (0) 1952 205160</span> <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> F:+44
              (0) 1952 213100</span> <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> M:+44
              (0) 7919 444077  </span> <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> E:</span><a
              moz-do-not-send="true"
              href="mailto:Peter.Shankland@ricoh-rpl.com"><span
style="font-size:7.5pt;font-family:"Arial","sans-serif"">
                Peter.Shankland@ricoh-rpl.com</span></a> <br>
            <br>
            <img id="_x0000_i1029"
              src="cid:part6.05050409.00050003@coochey.net" border="0"
              height="23" width="73"><br>
            <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> Ricoh
              UK Products Limited</span> <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> Priorslee
              | Telford | Shropshire | TF2 9NS</span> <br>
            <span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F"> T:
              +44 (0) 1952 290090</span> <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><img
              id="_x0000_i1030"
              src="cid:part7.04060609.06040508@coochey.net" border="0"
              height="19" width="392"> <br>
            <span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Please
              do not print this email unless absolutely necessary in
              order to save paper and energy, and you will contribute to
              resource conservation and CO2 reduction. This email
              including attachments is intended for the addressee(s)
              only. It may be labelled confidential/ private and contain
              confidential/private information. Please respect the
              wishes of the sender in the way you treat this email and
              the information contained within. If in doubt clarify the
              wishes of the sender before acting. If you have received
              this email in error, you may not review, copy or forward
              this message in whole or in part. Ricoh UK Products
              employees should delete from their system and notify us of
              the error via the ISMS Security Incident Reporting
              database. External recipients should delete from their
              system and alert us via email, advising the name of the
              sender and the time and date of receipt. Any views
              expressed in this email may not necessarily reflect those
              of Ricoh UK Products Ltd. You should ensure that the
              onward transmission, opening or use of this message or
              attachments will not adversely affect your system or data
              and carry out anti-virus checks before downloading.
              Internet communications are not secure and therefore Ricoh
              UK Products Ltd accepts no responsibility for any direct,
              indirect or consequential damage resulting from the
              transmission of this message.<br>
              <br>
              Registered in England No. 1763860<br>
              Registered Office: Ricoh UK Products Limited, Priorslee,
              Telford, Shropshire, TF2 9NS</span> <o:p></o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. <a class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
<a class="moz-txt-link-freetext" href="http://www.coochey.net">http://www.coochey.net</a>
<a class="moz-txt-link-freetext" href="http://www.netsecspec.co.uk">http://www.netsecspec.co.uk</a>
<a class="moz-txt-link-abbreviated" href="mailto:giles@coochey.net">giles@coochey.net</a>
</pre>
  </body>
</html>