Build precise queries to find exactly what you need
Press ESC to close
@josimar_br
Member Since: September 18, 2016
Favorites0
Views
Projects0
Hello! Copy squidclient and past on /usr/sbin/ Edit check_squid Change # Hits as % of all requests: 5min: 23.6%, 60min: 19.7% $line =~ /s+Hits as % of all requests:s+5min:s+([0-9.]+)%,s+60min:s+([0-9.]+)%/ and $cache_requesthitratio5 = $1 and $cache_requesthitratio60 = $2; # Hits as % of bytes sent: 5min: 1.4%, 60min: 5.1% $line =~ /s+Hits as % of bytes sent:s+5min:s+([0-9.]+)%,s+60min:s+([0-9.]+)%/ and $cache_bytehitratio5 = $1 and $cache_bytehitratio60 = $2; By # Hits as % of all requests: 5min: 23.6%, 60min: 19.7% $line =~ /s+Hits as % of all requests:s+5min:s+([0-9.]+)%,s+60min:s+([0-9.]+)%/ and $cache_requesthitratio5 = $1 and $cache_requesthitratio60 = $2; # Hits as % of bytes sent: 5min: 1.4%, 60min: 5.1% $line =~ /s+Hits as % of bytes sent:s+5min:s+([0-9.]+)%,s+60min:s+([0-9.]+)%/ and $cache_bytehitratio5 = $1 and $cache_bytehitratio60 = $2; Sorry bad English.
Reviewed 9 years ago