<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: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]--></head><body lang=EN-AU link=blue vlink=purple><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:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Peter.Shankland@ricoh-rpl.com [mailto:Peter.Shankland@ricoh-rpl.com] <br><b>Sent:</b> Thursday, 31 May 2012 8:14 PM<br><b>To:</b> nagios-users@lists.sourceforge.net<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 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 border=0 width=716 height=95 id="_x0000_i1025" src="cid:image001.gif@01CD3FD7.79390170"><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><br><img border=0 width=798 height=120 id="_x0000_i1026" src="cid:image002.gif@01CD3FD7.79390170"><br><br><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I just get the following:</span> <br><br><img border=0 width=1069 height=53 id="_x0000_i1027" src="cid:image003.gif@01CD3FD7.79390170"><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 align=center style='text-align:center'><hr size=2 width="100%" noshade style='color:#A0A0A0' align=center></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 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 border=0 width=73 height=23 id="_x0000_i1029" src="cid:image004.gif@01CD3FD7.79390170"><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 border=0 width=392 height=19 id="_x0000_i1030" src="cid:image005.gif@01CD3FD7.79390170"> <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></body></html>