Hi Carlos,
>> > Received SNMP response with error code
>> > error status: noSuchName
>> > index 3 (OID: 1.3.6.1.2.1.1.3.0)
>> You are trying to query the sysUpTime from port 3401, and squid's SNMP
>> doesn't support that OID.
Yep, i had this problem too. Read above again.
OID 1.3.6.1.2.1.1.3.0 is "SysUpTime" which squid doesn't support. MRTG is
asking squid for an OID that doesn't exist, which is why an error is
returned.
I suggest you make a new squid-mrtg directory, and edit the mrtg perl file
and comment out the SysUpTime and SysName parts.
Your mrtg perl file should look something like this:
Line 1241~
....
($in,$out,$uptime,$name,$newifDescrs{$targ}) =
&snmpget($$target{$targ}{'router'},
$$target{$targ}{'community'},
$$target{$targ}{'oid1'},
$$target{$targ}{'oid2'},
'sysUptime',
'sysName',
"ifDescr.$1");
} else {
($in,$out,$uptime,$name) =
&snmpget($$target{$targ}{'router'},
$$target{$targ}{'community'},
$$target{$targ}{'oid1'},
$$target{$targ}{'oid2'},
# 'sysUptime',
# 'sysName');
);
....
This works fine for me, give it a go.
Regards,
Robert
Received on Tue Dec 22 1998 - 20:15:18 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:42 MST