Re: [squid-users] squid + snmp

From: Marc Elsen <marc.elsen@dont-contact.us>
Date: Tue, 07 Oct 2003 11:11:32 +0200

Aleksandar Simonovski wrote:
>
> hi,
> if someone can tell me wtah i'm doing wrong here
> i get this error when i try cfgmaker:
>
> /usr/bin/cfgmaker --global 'WorkDir: /var/www/html/squid' --global 'Options[_]: bits,growright' --output /etc/mrtg.squid.cfg public@xxx.xxx.xxx.xxx:3401
>
> SNMP Error:
> Received SNMP response with error code
> error status: noSuchName
> index 1 (OID: 1.3.6.1.2.1.1.1.0)
> SNMPv1_Session (remote host: "xxx.xxx.xxx.xxx" [xxx.xxx.xxx.xxx].3401)
> community: "public"
> request ID: 1557196032
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on public@xxx.xxx.xxx.xxx:3401
> --base: Vendor Id:
> --base: Populating confcache
>
> This is in my squid.conf:
>
> acl kes src xxx.xxx.xxx.xxx
> acl snmppublic snmp_community public
> snmp_access allow snmppublic kes
> anmp_access deny all
>
> Can i use cfgmaker with squid or not

 Think not; you need to download the SQUID mib, specify it in mrtg.conf
 with the 'LoadMib' command, then use wanted stats related to squid in
 mrtg.cfg.

 You may find examples in the archives,even googeling on squid,mrtg etc.
 may return samples already.

 M.

>
> thanx

-- 
 'Love is truth without any future.
 (M.E. 1997)
Received on Tue Oct 07 2003 - 03:11:48 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:25 MST