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

template: nginx_last_collected_secs
      on: nginx.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