SNMP Error
"Ehsan Nikaeen" <[email protected]> Mon, 5 May 2003 10:07:54 -0700
| Newsgroups | gmane.comp.web.cache.snmp |
|---|---|
| Message-ID | <006e01c31328$deb85db0$1864a8c0@ehsan> |
This is a multi-part message in MIME format. ------=_NextPart_000_006B_01C312EE.323052D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I installed squid-2.5stable2 and i did these settings in squid.conf: acl snmppublic snmp_community public=20 snmp_port 3401=20 snmp_access allow snmppublic all=20 snmp_access deny all=20 snmp_incoming_address 0.0.0.0=20 snmp_outgoing_address 255.255.255.255=20 =20 and when I check it with snmpwalk it report correctly but when I do = cfgmaker get these error: :\mrtg-2.9.27\bin>perl cfgmaker --snmp-option=3Dport:3401 = [email protected] - global "WorkDir: c:\inetpub\wwwroot\mrtg" --output mrtg.cfg -base: Get Device Info on [email protected]:3401 SNMP Error: received SNMP response with error code error status: noSuchName index 1 (OID: 1.3.6.1.2.1.1) SNMPv1_Session (remote host: "192.168.100.25" [192.168.100.25].3401) community: "public" request ID: -382575577 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg-2.9.27/bin\..\lib\mrtg2/SNMP_util.pm line 570 SNMPWALK Problem for 1.3.6.1.2.1.1 on [email protected]:3401 at cfgmaker line 689 Any one Can help me? Ehsan Nikaeen ------=_NextPart_000_006B_01C312EE.323052D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3502.4373" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I installed squid-2.5stable2 and i did = these=20 settings in squid.conf:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>acl snmppublic snmp_community public = <BR>snmp_port=20 3401 <BR>snmp_access allow snmppublic all <BR>snmp_access deny all=20 <BR>snmp_incoming_address 0.0.0.0 <BR>snmp_outgoing_address = 255.255.255.255=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>and when I check it with snmpwalk it = report=20 correctly but when I do cfgmaker get these error:</DIV></FONT> <DIV><FONT face=3DArial size=3D2><BR>:\mrtg-2.9.27\bin>perl cfgmaker=20 --snmp-option=3Dport:3401 <A=20 href=3D"mailto:[email protected]">[email protected]</A> = -<BR>global=20 "WorkDir: c:\inetpub\wwwroot\mrtg" --output mrtg.cfg<BR>-base: Get = Device Info=20 on <A=20 href=3D"mailto:[email protected]:3401">[email protected]:3401</A>= <BR>SNMP=20 Error:<BR>received SNMP response with error code<BR> error status:=20 noSuchName<BR> index 1 (OID: 1.3.6.1.2.1.1)<BR>SNMPv1_Session = (remote host:=20 "192.168.100.25"=20 [192.168.100.25].3401)<BR>  = ; =20 community:=20 "public"<BR> &= nbsp; =20 request ID:=20 -382575577<BR>  = ; =20 PDU bufsize: 8000=20 bytes<BR> &nbs= p; =20 timeout:=20 2s<BR> &= nbsp; =20 retries:=20 5<BR> &n= bsp; =20 backoff: 1)<BR>at C:/mrtg-2.9.27/bin\..\lib\mrtg2/SNMP_util.pm line=20 570<BR>SNMPWALK Problem for 1.3.6.1.2.1.1 on <A=20 href=3D"mailto:[email protected]:3401">[email protected]:3401</A>= <BR>at=20 cfgmaker line 689</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Any one Can help me?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Ehsan=20 Nikaeen</FONT></DIV></FONT></DIV></FONT></DIV></BODY></HTML> ------=_NextPart_000_006B_01C312EE.323052D0--