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
--=-70rm84J2h47ezBzS0faB
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Just from an SNMP n00b taking a quick glance, it would appear that the
squid MIB definition "thing" isn't installed right, or used, or
something like that as snmpwalk doesn't show any "words". Either that
(which I'm thinking is the more wrong of my response) or mrtg is not
looking at the right OID, as judged by the difference between=20
index 5 (OID: 1.3.6.1.4.1.3495.1.2.3)
and
.1.3.6.1.4.1.3495.1.1
What happens if you try and walk 1.3.6.1.4.1.3495.1.2.3 or some subset
of that?
I'm sorry if I've just exacerbated your confusion. Good luck.

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

--=-70rm84J2h47ezBzS0faB
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/2Pw7/wbq/C6yyPcRAr70AKCn0ZwvEQmLxzI6naXXOJKhSbDc5QCglPZb
nofJZ8lShgQsb3Sugmu86fc=
=K2Y+
-----END PGP SIGNATURE-----

--=-70rm84J2h47ezBzS0faB--