Hello all,
Can anyone tell me why I got this error (please, see below).
My works is as follow:
1. Install squid with SNMP enabled:
tar zxvf squid-2.2.STABLE5-src.tar.gz -C /usr/src
cd /usr/src/squid-2.2.STABLE5
./configure --enable-snmp
make clean
make all
make install
2. Here is some SNMP related parameters in my squid.conf
acl monitor src 172.16.1.2
acl snmppublic snmp_community public
snmp_access allow snmppublic monitor
snmp_access deny all
3. I had installed mrtg 2.8.9 successfully. I'm using it to monitor my
router traffic, of course it works fine.
4. Next, I get the "mrtg-squid-snmp.cfg" from this URL:
http://www.ircache.net/Cache/cache-snmp/mrtg-demo/mrtg-squid-snmp.cfg ,
modify WorkDir, IconDir, hostname to macth my squid host.
5. By issue this command:
/usr/local/mrtg/mrtg /usr/local/mrtg/mrtg-squid-snmp.cfg
I got the following error:
Unknown SNMP var cacheClientHttpRequests
Unknown SNMP var cacheClientHttpRequests
SNMPGET: Failed to reach target:
"cacheClientHttpRequests&cacheClientHttpRequests:public@www-cache1.tlnet.com
.vn:3401". I tried multiple times!
Unknown SNMP var cacheCpuUsage
Unknown SNMP var cacheCpuUsage
SNMPGET: Failed to reach target:
"cacheCpuUsage&cacheCpuUsage:public@www-cache1.tlnet.com.vn:3401". I tried
multiple times!
Unknown SNMP var cacheCurrentSwapSize
Unknown SNMP var cacheCurrentSwapSize
SNMPGET: Failed to reach target:
"cacheCurrentSwapSize&cacheCurrentSwapSize:public@www-cache1.tlnet.com.vn:34
01". I tried multiple times!
Unknown SNMP var cacheHttpErrors
Unknown SNMP var cacheHttpErrors
SNMPGET: Failed to reach target:
"cacheHttpErrors&cacheHttpErrors:public@www-cache1.tlnet.com.vn:3401". I
tried multiple times!
Unknown SNMP var cacheHttpHits
Unknown SNMP var cacheHttpHits
SNMPGET: Failed to reach target:
"cacheHttpHits&cacheHttpHits:public@www-cache1.tlnet.com.vn:3401". I tried
multiple times!
Unknown SNMP var cacheHttpInKb
Unknown SNMP var cacheHttpInKb
SNMPGET: Failed to reach target:
"cacheHttpInKb&cacheHttpInKb:public@www-cache1.tlnet.com.vn:3401". I tried
multiple times!
Unknown SNMP var cacheHttpOutKb
Unknown SNMP var cacheHttpOutKb
SNMPGET: Failed to reach target:
"cacheHttpOutKb&cacheHttpOutKb:public@www-cache1.tlnet.com.vn:3401". I tried
multiple times!
Unknown SNMP var cacheICPkbRecv
Unknown SNMP var cacheICPkbRecv
SNMPGET: Failed to reach target:
"cacheICPkbRecv&cacheICPkbRecv:public@www-cache1.tlnet.com.vn:3401". I tried
multiple times!
Unknown SNMP var cacheICPkbSent
Unknown SNMP var cacheICPkbSent
SNMPGET: Failed to reach target:
"cacheICPkbSent&cacheICPkbSent:public@www-cache1.tlnet.com.vn:3401". I tried
multiple times!
Unknown SNMP var cacheICPpktsRecv
Unknown SNMP var cacheICPpktsRecv
SNMPGET: Failed to reach target:
"cacheICPpktsRecv&cacheICPpktsRecv:public@www-cache1.tlnet.com.vn:3401". I
tried multiple times!
Unknown SNMP var cacheICPpktsSent
Unknown SNMP var cacheICPpktsSent
SNMPGET: Failed to reach target:
"cacheICPpktsSent&cacheICPpktsSent:public@www-cache1.tlnet.com.vn:3401". I
tried multiple times!
Unknown SNMP var cacheMemUsage
Unknown SNMP var cacheMemUsage
SNMPGET: Failed to reach target:
"cacheMemUsage&cacheMemUsage:public@www-cache1.tlnet.com.vn:3401". I tried
multiple times!
Unknown SNMP var cacheNumObjCount
Unknown SNMP var cacheNumObjCount
SNMPGET: Failed to reach target:
"cacheNumObjCount&cacheNumObjCount:public@www-cache1.tlnet.com.vn:3401". I
tried multiple times!
Unknown SNMP var cacheServerErrors
Unknown SNMP var cacheServerErrors
SNMPGET: Failed to reach target:
"cacheServerErrors&cacheServerErrors:public@www-cache1.tlnet.com.vn:3401". I
tried multiple times!
Unknown SNMP var cacheServerInKb
Unknown SNMP var cacheServerInKb
SNMPGET: Failed to reach target:
"cacheServerInKb&cacheServerInKb:public@www-cache1.tlnet.com.vn:3401". I
tried multiple times!
Unknown SNMP var cacheServerOutKb
Unknown SNMP var cacheServerOutKb
SNMPGET: Failed to reach target:
"cacheServerOutKb&cacheServerOutKb:public@www-cache1.tlnet.com.vn:3401". I
tried multiple times!
Unknown SNMP var cacheServerRequests
Unknown SNMP var cacheServerRequests
SNMPGET: Failed to reach target:
"cacheServerRequests&cacheServerRequests:public@www-cache1.tlnet.com.vn:3401
". I tried multiple times!
Unknown SNMP var cacheSysPageFaults
Unknown SNMP var cacheSysPageFaults
SNMPGET: Failed to reach target:
"cacheSysPageFaults&cacheSysPageFaults:public@www-cache1.tlnet.com.vn:3401".
I tried multiple times!
6. In addition, my squid is running, can do anything else fine (such as
caching web object, ftp proxy,...)
Please help me to solvethis problem. Thank you inadvanced!
Dong
------------------------------------------------------
Nguyen Dang Phuoc Dong
Phuong Nam Net. - System Administrator
Received on Wed Dec 22 1999 - 01:21:08 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:22:10 MST