Is this SNMP value present in the cache-manager pages? If so it would be pretty simple to write a script that will extract the relevant data via http.
Eliezer ---- Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il -----Original Message----- From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of Amos Jeffries Sent: Friday, March 2, 2018 15:38 To: email@example.com Subject: Re: [squid-users] Squid SNMP remote monitoring and IP fragmentation On 03/03/18 01:28, Peter Viskup wrote: > We do monitor our Squid's via SNMP with Zabbix and use the template > available on Zabbix share portal . > Retrieval of values is not reliable. Seems to be related to IP fragmentation. > > The complete answer should be 4325B long. > > ~# snmpwalk -m /usr/share/squid3/mib.txt -v2c -CE > .22.214.171.124.4.1.34126.96.36.199.2 -Cc -c d8d385baeb54 localhost:3401 > .188.8.131.52.4.1.3495.1 2>/dev/null | wc -c > 4325 > > But on the Squid we receive one 1514B packet (not complete answer). You do know there is a difference between binary and textual representations of these things right? The packets contain the full OID binary data, and the snmpwalk output is abbreviated down to textual names which may be half or even a third the size. Then there is the protocol headers in packets which in the case of single SNMP queries like these are much larger than the OID and data itself. Amos _______________________________________________ squid-users mailing list firstname.lastname@example.org http://lists.squid-cache.org/listinfo/squid-users _______________________________________________ squid-users mailing list email@example.com http://lists.squid-cache.org/listinfo/squid-users