I changed it and below are the reults. Thank-You for your assistance.
mrtg /var/www/mrtg/mrtg-squid.cfg
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.3495.1.5.2.1.2)
SNMPv1_Session (remote host: "localhost" [127.0.0.1].3401)
community: "public"
request ID: 445412789
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 465
SNMPGET Problem for cacheClientHttpRequests cacheClientHttpRequests
cacheUptime cacheSoftware cacheVersionId on public@localhost:3401
at /usr/bin/mrtg line 1683
Use of uninitialized value in concatenation (.) or string at
/usr/bin/mrtg line 1686.
Use of uninitialized value in concatenation (.) or string at
/usr/bin/mrtg line 1686.
Modification of non-creatable array value attempted, subscript -2 at
/usr/bin/mrtg line 1686.
Jim
On Thu, 2003-12-11 at 16:36, Bryce C wrote:
> Ignore my last post. I think I see the problem. MRTG is using port 161
> while you're walking port 3401. Just fix your mrtg config to use port
> 3401 (see docs) and it should work.
> Have fun.
>
> On Thu, 2003-12-11 at 15:53, Jim wrote:
> > I have been trying to get mrtg and squid working with Debian and I have
> > not been sucessful yet.
> >
> > Below is the site that has some of the scripts I have been trying to
> > confgure.
> > http://www.psychofx.com/chris/unix/mrtg/
> >
> > I have tried this on two different computers, tried the squid mailing
> > list
> > and read the documentation; as much as I could locate.
> >
> > Here is the problem output below:
> > mrtg /var/www/mrtg/mrtg-squid.cfg
> > SNMP Error:
> > Received SNMP response with error code
> > error status: noSuchName
> > index 5 (OID: 1.3.6.1.4.1.3495.1.2.3)
> > SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
> > community: "public"
> > request ID: -1283661128
> > PDU bufsize: 8000 bytes
> > timeout: 2s
> > retries: 5
> > backoff: 1)
> > at /usr/share/perl5/SNMP_util.pm line 465
> > SNMPGET Problem for cacheServerRequests cacheServerRequests cacheUptime
> > cacheSoftware cacheVersionId on public@localhost
> > at /usr/bin/mrtg line 1683
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/mrtg
> > line 1686.
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/bin/mrtg
> > line 1686.
> > Modification of non-creatable array value attempted, subscript -2 at
> > /usr/bin/mrtg line 1686.
> >
> > Although when I enter this command below I do get a good response. Is
> > the
> > problem that I need to tell mrtg to use a specific version of spnmp
> > authenticaion?
> >
> > snmpwalk localhost:3401 -v 1 -c public .1.3.6.1.4.1.3495.1.1
> > SNMPv2-SMI::enterprises.3495.1.1.1.0 = INTEGER: 92
> > SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 92152
> > SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (92543) 0:15:25.43
> >
> >
> > System Specifics:
> > Debian
> > kernel 2.4.21
> > mrtg 2.9.29-1
> > squid 2.5.4-2
> > snmpd 5.0.9-3
> >
> >
> >
> >
> >
> > Jim
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss