hello all
I'm been trying to setup snmp in the squid using mrtg but here is what I'm
obtaining from the mrtg script
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.3495.1.3.2.1.2.0)
SNMPv1_Session (remote host: "hostname" [IPnumber].161
community: "public"
request ID: 2079998968
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPGET Problem for cacheHttpHits cacheHttpHits on public@hostname
SNMPGET: Failed to reach target:
"cacheHttpHits&cacheHttpHits:public@hostname". I tried multiple
times!
hostname = realname ( the same for the IP Number)
what was what i did,
first of all, i did all what the FAQ say, look at the cache.log and note
that the snmp is running in the squid
2000/02/02 18:01:22| Accepting HTTP connections at 0.0.0.0, port 3128, FD
5.
2000/02/02 18:01:22| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2000/02/02 18:01:22| Accepting SNMP messages on port 3401, FD 13.
2000/02/02 18:01:22| WCCP Disabled.
2000/02/02 18:01:22| Loaded Icons.
2000/02/02 18:01:22| Ready to serve requests.
so, it looks ok in the squid side, is it?
in the mrtg side i had to add the variables to the SNMP_utils.pm file
because it doesn't had it ( i get it from the patch for the mrtg2.7.3, is
it fine? )
here is the squid.cfg for the mrtg, it only has a target because I'm
testing it.
WorkDir: /home/httpd/portal/mrtg
Options[^]: perhour
Target[cacheHttpHits]:
cacheHttpHits&cacheHttpHits:public@hostname:3401
MaxBytes[cacheHttpHits]: 100000
Title[cacheHttpHits]: cacheHttpHits
Options[cacheHttpHits]: gauge, growright
PageTop[cacheHttpHits]: <h1>cacheHttpHits @ hostname</h1>
YLegend[cacheHttpHits]:
LegendI[cacheHttpHits]: cacheHttpHits
LegendO[cacheHttpHits]:
Legend1[cacheHttpHits]: cacheHttpHits
Legend2[cacheHttpHits]:
i check the var cacheHttpHits and it apear in the mib.txt so What do i
doing wrong???
please, help
thanth for any ligth :-)
Roger
Sorry for my english
Received on Wed Feb 02 2000 - 21:49:26 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:55 MST