<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Em 20/10/15 16:26,
<a class="moz-txt-link-abbreviated" href="mailto:Sebastien.Boulianne@cpu.ca">Sebastien.Boulianne@cpu.ca</a> escreveu:<br>
</div>
<blockquote
cite="mid:5FE0959288C73D448BB44CB7E9CC320F5828ACA37D@CPUMAIL2.cpu.qc.ca"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<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:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Tahoma",sans-serif;
color:windowtext;}
.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 90.0pt 72.0pt 90.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"><br>
<p class="MsoNormal">When I try to do a snmpwalk, I got a
timeout.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[root@bak ~]# snmpwalk xxxxxxxxxx:3401 -c
cpuread -v 1<o:p></o:p></p>
<p class="MsoNormal">[root@bak ~]#<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Anyone monitor Squid using SNMP ? Do you
experiment some issues ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p><br>
</p>
</div>
</blockquote>
<br>
You're not getting timeout, you're getting no data, which is
completly different from timeout.<br>
<br>
Try giving the initial MIB number and you'll probably get the
data:<br>
<br>
[root@firewall ~]# snmpwalk -v 1 -c public localhost:3401
.1.3.6.1.4.1.3495.1<br>
SNMPv2-SMI::enterprises.3495.1.1.1.0 = INTEGER: 419756<br>
SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 96398932<br>
SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (77355691) 8 days,
22:52:36.91<br>
SNMPv2-SMI::enterprises.3495.1.2.1.0 = STRING: "webmaster"<br>
SNMPv2-SMI::enterprises.3495.1.2.2.0 = STRING: "squid"<br>
SNMPv2-SMI::enterprises.3495.1.2.3.0 = STRING: "3.5.8"<br>
<br>
<br>
and to make things easier, i use to configure the SNMP daemon
that runs on UDP/161 to 'proxy' requests to squid, so i dont need to
worry about informing the correct port:<br>
<br>
[root@firewall snmp]# grep proxy snmpd.conf<br>
# proxying requests to squid MIB<br>
proxy -v 1 -c public localhost:3401 .1.3.6.1.4.1.3495.1<br>
<br>
<br>
so i can 'snmpwalk' on the default udp/161 port: (note the lack
of :3401 port)<br>
<br>
[root@firewall snmp]# snmpwalk -v 1 -c public localhost
.1.3.6.1.4.1.3495.1<br>
SNMPv2-SMI::enterprises.3495.1.1.1.0 = INTEGER: 419964<br>
SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 96359504<br>
SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (77370521) 8 days,
22:55:05.21<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
<a class="moz-txt-link-freetext" href="http://www.solutti.com.br">http://www.solutti.com.br</a>
Minha armadilha de SPAM, NÃO mandem email
<a class="moz-txt-link-abbreviated" href="mailto:gertrudes@solutti.com.br">gertrudes@solutti.com.br</a>
My SPAMTRAP, do not email it
</pre>
</body>
</html>