To properly install squid with snmp support in a non Debian enviroment one is supposed to use --enable-snmp option when installing from source but if apt-get is used how can I tell if that was part of the installation? Is that the problem? Another item that is part of the install by source but I can not locate it when installed by apt-get is cachemgr.cgi which is supposed to provide a web page with how the cache is doing for the squid server. Jim On Thu, 2003-12-11 at 16:22, Bryce C wrote: > 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 > 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 > > 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