<meta charset="utf-8"><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium; "><span class="postbody" style="font-size: 12px; line-height: 18px; "><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium; "><span class="postbody" style="font-size: 12px; line-height: 18px; "><br>
</span></span></div>C:\net-snmp\etc\snmp\snmpd.conf has to contain something like this : <br></span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tbody><tr><td style="font-family: Verdana, Arial, Helvetica, sans-serif; ">
<span class="genmed" style="font-size: 11px; color: rgb(0, 0, 0); "><b>Code:</b></span></td></tr><tr><td class="code" style="font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: rgb(0, 102, 0); background-color: rgb(250, 250, 250); border-top-color: rgb(209, 215, 220); border-right-color: rgb(209, 215, 220); border-bottom-color: rgb(209, 215, 220); border-left-color: rgb(209, 215, 220); border-width: initial; border-style: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; ">
rocommunity public</td></tr></tbody></table></span><br><div>Here is an example of ours:</div><div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace"><b><span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">syslocation LAX</span></b></font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace">disk /var 5%</font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace">disk /usr 5%</font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace">disk /tmp 5%</font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace">load 30 30 30</font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace"><b><span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">syscontact <a href="mailto:email@domain.com">email@domain.com</a></span></b></font></blockquote>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace"><b><span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">rwcommunity sdjslf8sdf8 <a href="http://192.168.0.0/24">192.168.0.0/24</a></span></b></font></blockquote>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="'courier new', monospace"><b><span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">rocommunity public </span></b></font></blockquote><div><br></div></blockquote>
<div><br></div><div><b>You then need to restart NET-SNMP </b>for the changes to apply.</div><div><br></div><div>Good little tutorial: <a href="http://forums.cacti.net/about26151.html">http://forums.cacti.net/about26151.html</a></div>
<div><br></div><div>Regards,<br><br>Justin Dorfman<br>Mahalo.com Inc. > Jr. Systems Engineer<br>818.485.1458<br><a href="http://www.twitter.com/jdorfman" target="_blank">@jdorfman</a> | <a href="http://twitter.com/MahaloSysops" target="_blank">@MahaloSysops</a> | Blog: <a href="http://bit.ly/aNiWSk" target="_blank">http://bit.ly/aNiWSk</a><br>
<br><br><div class="gmail_quote">On Mon, Sep 13, 2010 at 2:54 AM, IT Toonz <span dir="ltr"><<a href="mailto:it.toonz@gmail.com">it.toonz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-IN" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Justin,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks for the reply.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">We downloaded net-snmp.exe and installed in a monitored window
server.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Didn’t modify anything, tried to start net-snmp service
from the windows system, stopped at event id 7031! Checking again</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Downloaded and installed the perl scripts... is there anything
to modify...</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Please advice.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Regards</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Ananth.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<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">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> Dorfman, Justin [mailto:<a href="mailto:justin@mahalo.com" target="_blank">justin@mahalo.com</a>] <br>
<b>Sent:</b> 10 September 2010 20:06</span></p><div><div></div><div class="h5"><br>
<b>To:</b> Nagios Users List<br>
<b>Subject:</b> Re: [Nagios-users] SNMP showing Unknown</div></div><p></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Ananth,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">This is how we check an SNMP process (in commands.cfg):</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span><span style="font-size:10.0pt;font-family:"Courier New""># 'check_snmp' command definition</span></span> </p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span><span style="font-size:10.0pt;font-family:"Courier New"">define command{</span></span></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span><span style="font-size:10.0pt;font-family:"Courier New""> command_name
check_snmp_process</span></span></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span><span style="font-size:10.0pt;font-family:"Courier New""> command_line
$USER1$/<a href="http://check_snmp_process.pl" target="_blank">check_snmp_process.pl</a>
-H $HOSTADDRESS$ -C $USER3$</span></span></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span><span style="font-size:10.0pt;font-family:"Courier New""> }</span></span></p>
</blockquote>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I would recommend you downloading these perl scripts: <a href="http://nagios.manubulon.com/index_snmp.html" target="_blank">http://nagios.manubulon.com/index_snmp.html</a> and
putting them into your <span><b><span>/usr/local/nagios/libexec</span></b></span><span><span>
folder.</span></span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span><span>Let
me know how it goes.</span></span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Regards,<br>
<br>
Justin Dorfman<br>
Mahalo.com Inc. > Jr. Systems Engineer<br>
818.485.1458<br>
<a href="http://www.twitter.com/jdorfman" target="_blank">@jdorfman</a> | <a href="http://twitter.com/MahaloSysops" target="_blank">@MahaloSysops</a> |
Blog: <a href="http://bit.ly/aNiWSk" target="_blank">http://bit.ly/aNiWSk</a><br>
<br>
</p>
<div>
<p class="MsoNormal">On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz <<a href="mailto:it.toonz@gmail.com" target="_blank">it.toonz@gmail.com</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Justin, </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">We have the native SNMP in Windows
installed and we wanted to monitor those readings. We downloaded and installed
Net-SNMP, but seems there a bit of configuring to do, we are fiddling with
Nagios settings, so not sure whether we want to spend time learning Net-SNMP at
present.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">But its definitely something which we
want to look at in the future. Thanks for sharing the info.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Meanwhile we are still stuck in SNMP!!</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">This is what we get when we run </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">[root@Nagios nagios]# snmpwalk -v1 -c
taipl 192.168.3.100 snmp</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInPkts.0 = Counter32: 1</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutPkts.0 = Counter32:
11</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInBadVersions.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInBadCommunityNames.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInBadCommunityUses.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInASNParseErrs.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInTooBigs.0 = Counter32:
0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInNoSuchNames.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInBadValues.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInReadOnlys.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInGenErrs.0 = Counter32:
0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInTotalReqVars.0 =
Counter32: 11</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32:
0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInGetRequests.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInGetNexts.0 =
Counter32: 14</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInSetRequests.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInGetResponses.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpInTraps.0 = Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutTooBigs.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutNoSuchNames.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutBadValues.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutGenErrs.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutGetRequests.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutGetNexts.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutSetRequests.0 =
Counter32: 0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutGetResponses.0 =
Counter32: 25</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpOutTraps.0 = Counter32:
10</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#E36C0A">SNMPv2-MIB::snmpEnableAuthenTraps.0 =
INTEGER: enabled(1)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">So seems client side is fine. Please
advice... below is the error we get by mail</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="color:#0070C0">***** Nagios *****</span></p>
<p><span style="color:#0070C0"> </span></p>
<p><span style="color:#0070C0">Notification Type: PROBLEM</span></p>
<p><span style="color:#0070C0"> </span></p>
<p><span style="color:#0070C0">Service: SNMP</span></p>
<p><span style="color:#0070C0">Host: antivirsrv</span></p>
<p><span style="color:#0070C0">Address: 192.168.3.100</span></p>
<p><span style="color:#0070C0">State: UNKNOWN</span></p>
<p><span style="color:#0070C0"> </span></p>
<p><span style="color:#0070C0">Date/Time: Thu Sept 9 14:42:56 IST 2010</span></p>
<p><span style="color:#0070C0"> </span></p>
<p><span style="color:#0070C0">Additional Info:</span></p>
<p><span style="color:#0070C0"> </span></p>
<p><span style="color:#0070C0">No OIDs specified</span></p>
<p><span style="color:#E36C0A"> </span></p>
<p><span style="color:#76923C">below is the config settings for windows servers</span></p>
<p><span style="color:#76923C"> </span></p>
<p><span style="color:#76923C"># Create a service for monitoring SNMP</span></p>
<p><span style="color:#76923C"> </span></p>
<p><span style="color:#76923C">define service{</span></p>
<p><span style="color:#76923C">
use
generic-service</span></p>
<p><span style="color:#76923C">
host_name
taipl-domsrv</span></p>
<p><span style="color:#76923C">
host_name
tai3dserver</span></p>
<p><span style="color:#76923C">
host_name
tai3dstorage-02</span></p>
<p><span style="color:#76923C">
host_name
tai3d-avsrv</span></p>
<p><span style="color:#76923C">
service_description SNMP</span></p>
<p><span style="color:#76923C">
check_command
check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000</span></p>
<p><span style="color:#76923C"> }</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Please advice....what else is there to
configure, please be specific, we just started in Fully Automated Nagios, with
a lot of help we have reached this far.... </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Regards</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Ananth.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<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">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> Dorfman, Justin [mailto:<a href="mailto:justin@mahalo.com" target="_blank">justin@mahalo.com</a>] <br>
<b>Sent:</b> 08 September 2010 22:59</span></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Nagios Users List<br>
<b>Subject:</b> Re: [Nagios-users] SNMP showing Unknown</p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">First
off do you have NET-SNMP (<a href="http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/" target="_blank">http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/</a>)
installed on the server you are trying to fetch info from?</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br clear="all">
Regards,<br>
<br>
Justin Dorfman<br>
Mahalo.com Inc. > Jr. Systems Engineer<br>
818.485.1458<br>
<a href="http://www.twitter.com/jdorfman" target="_blank">@jdorfman</a> | <a href="http://twitter.com/MahaloSysops" target="_blank">@MahaloSysops</a> |
Blog: <a href="http://bit.ly/aNiWSk" target="_blank">http://bit.ly/aNiWSk</a></p>
<div>
<p class="MsoNormal">On
Wed, Sep 8, 2010 at 4:54 AM, IT Toonz <<a href="mailto:it.toonz@gmail.com" target="_blank">it.toonz@gmail.com</a>> wrote:</p>
<div>
<div>
<div>
<p><i>You need to look at the service definition as well as the command</i></p>
<p><i>definition to find out how the command is configured to run for this</i></p>
<p><i>particular service check.</i></p>
<p> </p>
</div>
<p><span style="color:#0070C0">Which file that will be? The command.cfg file
entry was the one we had put in the earlier mail.</span></p>
<p><span style="color:#0070C0"> </span></p>
<p><span style="color:#0070C0">We are newbies's so if possible kindly explain
in detail.</span></p>
<p><span style="color:#0070C0"> </span></p>
<p><span style="color:#0070C0">Regards</span></p>
<p><span style="color:#0070C0">Ananth.</span></p>
<div>
<div>
<p> </p>
<p> </p>
<p> </p>
<p><span lang="EN-US">-----Original Message-----<br>
From: Jim Avery [mailto:<a href="mailto:jim@jimavery.me.uk" target="_blank">jim@jimavery.me.uk</a>]
<br>
Sent: 08 September 2010 16:13<br>
To: Nagios Users List<br>
Subject: Re: [Nagios-users] SNMP showing Unknown</span></p>
<p> </p>
<p>On 8 September 2010 10:19, IT Toonz <<a href="mailto:it.toonz@gmail.com" target="_blank">it.toonz@gmail.com</a>> wrote:</p>
<p>> We are using FAN 2.0</p>
<p>> </p>
<p>> </p>
<p>> </p>
<p>> One of our Windows Servers shows in Nagios.</p>
<p>> </p>
<p>> </p>
<p>> </p>
<p>> tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No
OIDs</p>
<p>> specified</p>
<p>> </p>
<p>> </p>
<p>> </p>
<p>> How can we troubleshoot it. This is the snmp entry in commands.cfg
file.</p>
<p>> </p>
<p>> </p>
<p>> </p>
<p>> # 'check_snmp' command definition</p>
<p>> </p>
<p>> define command{</p>
<p>> </p>
<p>>
command_name check_snmp</p>
<p>> </p>
<p>> command_line
$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$</p>
<p>> </p>
<p>> }</p>
<p>> </p>
<p>> </p>
<p>> </p>
<p>> We entered the snmp community name give the switch –C after
check_snmp, but</p>
<p>> still no effect.</p>
<p> </p>
<p>You need to look at the service definition as well as the command</p>
<p>definition to find out how the command is configured to run for this</p>
<p>particular service check.</p>
<p> </p>
<p>hth,</p>
<p> </p>
<p>Jim</p>
<p> </p>
<p>------------------------------------------------------------------------------</p>
<p>This SF.net Dev2Dev email is sponsored by:</p>
<p> </p>
<p>Show off your parallel programming skills.</p>
<p>Enter the Intel(R) Threading Challenge 2010.</p>
<p><a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a></p>
<p>_______________________________________________</p>
<p>Nagios-users mailing list</p>
<p><a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a></p>
<p><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></p>
<p>::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. </p>
<p>::: Messages without supporting info will risk being sent to /dev/null</p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
------------------------------------------------------------------------------<br>
This SF.net Dev2Dev email is sponsored by:<br>
<br>
Show off your parallel programming skills.<br>
Enter the Intel(R) Threading Challenge 2010.<br>
<a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null</p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
------------------------------------------------------------------------------<br>
This SF.net Dev2Dev email is sponsored by:<br>
<br>
Show off your parallel programming skills.<br>
Enter the Intel(R) Threading Challenge 2010.<br>
<a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null</p>
</div>
<p class="MsoNormal"> </p>
</div>
</div></div></div>
</div>
<br>------------------------------------------------------------------------------<br>
Start uncovering the many advantages of virtual appliances<br>
and start using them to simplify application deployment and<br>
accelerate your shift to cloud computing<br>
<a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>
<br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div>