Add items to monitor number of FD for squid
This commit is contained in:
parent
754f75600a
commit
91f2db6f71
|
@ -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…
Reference in New Issue
Block a user