From 91f2db6f71e822605e6e34f9fd4a2fa1c7a7c79d Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 25 Aug 2016 11:02:17 +0200 Subject: [PATCH] Add items to monitor number of FD for squid --- zabbix_conf/squid.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/zabbix_conf/squid.conf b/zabbix_conf/squid.conf index 7cc7f3b..8bd738b 100644 --- a/zabbix_conf/squid.conf +++ b/zabbix_conf/squid.conf @@ -50,3 +50,33 @@ UserParameter=squid.cache_size_disk,squidclient mgr:info|grep 'Storage Swap size UserParameter=squid.cache_size_mem,squidclient mgr:info|grep 'Storage Mem size:' | awk '{print $4}' +# Description: Squid FD limit +# Type: Agent or Agent (active) +# Key: squid.fd_max +# Type of information: Numeric (integer 64bits) +# Units: N/A +# Custom multiplier: Do not use +# Store Value: As is + +UserParameter=squid.max_fd,squidclient mgr:info | grep 'Maximum number of file descriptors' | cut -d':' -f2 | tr -d ' \t' + +# Description: Squid reserved FD +# Type: Agent or Agent (active) +# Key: squid.fd_reserved +# Type of information: Numeric (integer 64bits) +# Units: N/A +# Custom multiplier: Do not use +# Store Value: As is + +UserParameter=squid.reserved_fd,squidclient mgr:info | grep 'Reserved number of file descriptors' | cut -d':' -f2 | tr -d ' \t' + +# Description: Squid available FD +# Type: Agent or Agent (active) +# Key: squid.fd_available +# Type of information: Numeric (integer 64bits) +# Units: N/A +# Custom multiplier: Do not use +# Store Value: As is + +UserParameter=squid.available_fd,squidclient mgr:info | grep 'Available number of file descriptors' | cut -d':' -f2 | tr -d ' \t' +