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