Debian, mrtg and squid

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryce C
Date:  
Subject: Debian, mrtg and squid
--=-F2M3JH2kE11S9pgnAUwX
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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=20
> not been sucessful yet.=20
>=20
> Below is the site that has some of the scripts I have been trying to
> confgure. =20
> http://www.psychofx.com/chris/unix/mrtg/
>=20
> I have tried this on two different computers,  tried the squid mailing
> list
> and read the documentation; as much as I could locate.
>=20
> 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.
>=20
> 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?
>=20
> snmpwalk localhost:3401 -v 1 -c  public .1.3.6.1.4.1.3495.1.1
> SNMPv2-SMI::enterprises.3495.1.1.1.0 =3D INTEGER: 92
> SNMPv2-SMI::enterprises.3495.1.1.2.0 =3D INTEGER: 92152
> SNMPv2-SMI::enterprises.3495.1.1.3.0 =3D Timeticks: (92543) 0:15:25.43
>=20
>=20
> System Specifics:
> Debian
> kernel 2.4.21
> mrtg 2.9.29-1
> squid 2.5.4-2
> snmpd 5.0.9-3
>=20
>=20
>=20
>=20
>=20
> Jim
>=20
> ---------------------------------------------------
> PLUG-discuss mailing list - 
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

--=20
Bryce C <>
CoBryce Communications

--=-F2M3JH2kE11S9pgnAUwX
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/2P+N/wbq/C6yyPcRAofRAJ9dtNuIucMYmyAZbyf3pEm2I/TBFQCffk+2
deA/8aHSxatGEhHldCib9i4=
=kYH8
-----END PGP SIGNATURE-----

--=-F2M3JH2kE11S9pgnAUwX--