[squid-users] http://wessels.squid-cache.org/squid-rrd/

From: Ralf Hildebrandt <Ralf.Hildebrandt@dont-contact.us>
Date: Mon, 26 May 2003 12:10:35 +0200

I use the script poll.pl I found at
http://wessels.squid-cache.org/squid-rrd/

While it has been working OK for months now, after an upgrade of our
Squid to 2.5stable3 the script fails to report anything but 0.0 values.

It uses:
     print $sock "GET cache_object://$host/$what HTTP/1.0\n\n";
to query the squid cache for operational paramaters.

Does anybody have an idea why this only retreives zero values from Squid?

# ./poll.pl spiderman.charite.de
/usr/bin/rrdtool update connections.rrd --template http:icp:htcp:snmp 1053943781:0:0:0:0
/usr/bin/rrdtool update objects.rrd --template disk:mem 1053943781:0:0
/usr/bin/rrdtool update volume.rrd --template disk:mem 1053943781:0.000000:0.000000
/usr/bin/rrdtool update memory.rrd --template mallinfo:accounted:rss:sbrk 1053943781:0.000000:0.000000:0.000000:0.000000
/usr/bin/rrdtool update fd.rrd --template all:store 1053943781:0:0
/usr/bin/rrdtool update pagefaults.rrd --template pf 1053943781:0
/usr/bin/rrdtool update cpu.rrd --template usage 1053943781:0.000000
/usr/bin/rrdtool update replacement.rrd --template thresh 1053943781:0.000000
/usr/bin/rrdtool update svctime.rrd --template http:dns:icp:htcp 1053943781:0.000000:0.000000:0.000000:0.000000
/usr/bin/rrdtool update hitratio.rrd --template count:volume 1053943781:0.000000:0.000000
/usr/bin/rrdtool update diskd.rrd --template max_away:max_shmuse:open_fail_queue_len:block_queue_len N:0:0:0:0
/usr/bin/rrdtool update store_io.rrd --template create_calls:create_select_fail:create_create_fail:create_success N:0:0:0:0
/usr/bin/rrdtool update select.rrd --template sl:sf:asfp:msf N:0.000000:0.000000:0.000000:0.000000
spidergirl:/webroot/spidergirl.charite.de:80/spiderman#

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt@charite.de
Charite Campus Mitte                            Tel.  +49 (0)30-450 570-155
Referat V a - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
AIM: ralfpostfix
Received on Mon May 26 2003 - 06:08:12 MDT

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