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' +