<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">












<STYLE TYPE="text/css">
a.weblink:visited {color: #fd6e01; text-decoration: none} 
a.weblink:active {color: #fd6e01; text-decoration: none} 
a.weblink:link {color: #fd6e01; text-decoration: none} 
a.weblink:hover {text-decoration: none;  color: #008000;}
</STYLE>


<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta content="Microsoft Word 12 (filtered medium)" name=Generator>
<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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</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>
 <P ALIGN="left">
   <FONT FACE="Arial" SIZE="2">
      

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Hello,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>I
am running nagios 2.9 on Ubuntu server.  It has been functioning fine<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>and
we are starting to monitor more equipment.  I am trying to get SNMP to<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>work
with the idea of monitoring a Cisco 501 through an ipsec tunnel.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>The
VPN/networking side works fine, it is just Nagios I cannot get to work.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>If
I run snmpwalk:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>snmpwalk 
-v 1 -c public x.x.x.x<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>then
it reutrns back the full result set from a mixture of mibs<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>(SNMPv2-MIB,IF-MIB
being the main ones)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>snmpget
on a speceifc OID:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>snmpget 
-v 1 -c public x.x.x.x ifNumber.0<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>IF-MIB::ifNumber.0
= INTEGER: 2<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>If
I try and run the check_snmp command manually, specifying the snmp v1 I<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>get
the following:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'> ./check_snmp
-H 10.0.30.1 -c cisco-assp -P 1 -o IF-MIB::ifNumber.0<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>External
command error: Cannot find module (IF-MIB): At line 0 in (none)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>IF-MIB::ifNumber.0:
Unknown Object Identifier<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>The
MIBS are in /usr/share/snmp/mibs, I have run the export MIBDIRS<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>command
to locate to the correct location, but check_snmp still has issue<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>with
finding them.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Any
ideas anyone?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>

</div>


   </FONT>
 </P>
 <P ALIGN="left">
   <FONT FACE="Arial" SIZE="2">
      Adam Carter 
      <BR>
      adam.carter@vantageit.co.uk
        <P ALIGN="left">
          <A HREF="http://www.vantageit.co.uk/">
            <IMG ALIGN="baseline" ALT="Vantage IT Solutions Limited" BORDER="0" HSPACE="0" SRC="cid:imagea392a8.gif@55c24630.99154d1a">
            
          </A>
   </P>
</FONT>
  </P>
  <P ALIGN="left">
      <A HREF="http://www.vantageit.co.uk/contact.php">
        <IMG ALIGN="baseline" ALT="Unit 2, Airfield Park, Long Marston, Tring, HP23 4QR. Tel: 44 (0)1296 668966, Fax: 44 (0)1296 662798" BORDER="0" HSPACE="0" SRC="cid:imageae8882.gif@be9d700d.667249af">
      </A>
  </P>
  <P ALIGN="left">
      <A HREF="http://www.vantageit.co.uk/contact.php">
        <IMG ALIGN="baseline" ALT="Registered in England and Wales at the above address. Registered no. 3750576" BORDER="0" HSPACE="0" SRC="cid:imageaea773.gif@0fe6aeb5.53994352">
      </A>
  </P>

  <P ALIGN="left">  
    <FONT COLOR="green" FACE="Arial" SIZE="2">
      <B>Please visit our website at:</B>
    
    <A CLASS="weblink" HREF="http://www.vantageit.co.uk/">
      <B>http://www.vantageit.co.uk<BR></B>
    </A>
    
    </FONT>   
  
    <FONT COLOR="#666666" FACE="Arial" SIZE="1">
      <BR>This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and then delete it. Any views or opinions in this email are solely those of the author and do not necessarily represent those of the company. The recipient should check this email and any attachments for the presence of harmful code. The company accepts no liability for any damage caused by any harmful code transmitted by or with this email.
        <BR><BR></FONT>
<FONT SIZE="2">
        <BR>
    </FONT>
    
    <P>
 </P>
 
</P>
</BODY></HTML>