Hi, all
       
       I'm trying to run mrtg-2.5.4b to monitor our cache, but some errors are
returning from mrtg, and I don't know where to start to fix them. See:
        I have compiled squid-2.1.PATCH2 with --enable-snmp and I configured
squid.conf as well the FAQ says. I also have applied the squid patch to mrtg and
defined port 3401 in mrtg.conf as follows:
Target[httpsvc]: cacheHttpAllSvcTimeFiveMin&cacheHttpAllSvcTimeFiveMi
n:[EMAIL PROTECTED]:3401
        Every line where there is a [EMAIL PROTECTED], I put the :3401 entry.
        Squid stars so smootly, everything goes ok...:
        .
        .
        .
        1999/01/14 16:11:44| Accepting HTTP connections on port 3128, FD 6.
        1999/01/14 16:11:44| Accepting HTTP connections on port 3128, FD 6.
        1999/01/14 16:11:44| Accepting ICP messages on port 3130, FD 15.
        1999/01/14 16:11:44| Accepting SNMP messages on port 3401, FD 16.
        1999/01/14 16:11:44| Ready to serve requests.

        But, when I try to start mrtg (it is (will be) running just to monitor
the cache), a lot of the following block lines return to me:

        (Sorry... I must put xxx.xxx.xxx and 000.000.000.00 to the machine's
        name and IP address.)

SNMPv1_Session (remote host: "xxx.xxx.xxx" [000.000.000.00].3401
                  community: "public"
                 request ID: 327354413
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET: Failed to reach target: "cacheICPpktsSent&cacheICPpktsSent:public@
xxx.xxx.xxx:3401". I tried multiple times!
SNMP Error:
no response received
SNMPv1_Session (remote host: "xxx.xxx.xxx" [000.000.000.00].3401
                  community: "public"
                 request ID: 1400477190
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET: Failed to reach target: "cacheHttpInKb&cacheHttpInKb:public@
xxx.xxx.xxx:3401". I tried multiple times!

        And, at the end, the line:  Unknown SNMP var cacheServerOutKb.
        Could anybody tell me what am I doing wrong or what I didn't do yet?


        Thankyou your attention
        
        Alexandre Almeida

Reply via email to