[squid-users] SNMP which object?

From: Palmer J.D.F. <J.D.F.Palmer@dont-contact.us>
Date: Tue, 27 Mar 2001 12:50:39 +0100


I have SNMP running on my squid servers and am monitoring them with MRTG.
What I would like to do now is to use SNMP to detect whether the squid
process has stopped responding for whatever reason.

At present I have a cron job which pings my main cache every 2 mins, if
there is no response, the DNS tables are rebuilt re-assigning
wwwcache.swan.ac.uk to the IP address of the backup cache. The main cache
is continually pinged until it is back up again, at this point the DNS
tables are rebuilt again. Hence redirecting http traffic back through the
main cache server.

The reason we were using ping was because we had an intermittent hardware
fault which was the cause of 99% of crashes, this caused a kernel panic and
therefore the network card would stop responding to ping. However this HW
fault has been fixed and ping is no longer suitable for this type of
monitoring as squid/something else may die but ping still responds.

As we force nearly 3000 PC's through the cache, it is imperative that
problems are detected and the caches switched ASAP, as users are unable to
access external sites whilst the cache is down.

I am going to use SNMP from now on to detect squid fatalities, but I'd like
to know which SNMP objects I should use to base my testing on.

If anyone has any thought on this I'd be grateful

Many thanks,

Jezz Palmer.

Jezz Palmer.
Internet Systems Officer.
Library and Information Services
University of Wales, Swansea
Singleton Park
Tel 01792 513260
Received on Tue Mar 27 2001 - 04:49:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:59 MST