summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d/squid.conf
blob: cc5ce1c3a45fbefe0786ca5035e14fc1a25252d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# make sure squid is running

template: squid_last_collected_secs
      on: squid.clients_requests
    calc: $now - $last_collected_t
   every: 10s
    warn: $this > ( 5 * $update_every)
    crit: $this > (10 * $update_every)
   units: seconds ago
    info: number of seconds since the last successful data collection