Add items to monitor number of FD for squid

tags/zabbix-agent-addons-0.2.20-1 0.2.10_el5
Daniel Berteaud 8 years ago
parent 754f75600a
commit 91f2db6f71
  1. 30
      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}' 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'

Loading…
Cancel
Save