fping.conf 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. template: fping_last_collected_secs
  2. families: *
  3. on: fping.latency
  4. calc: $now - $last_collected_t
  5. units: seconds ago
  6. every: 10s
  7. warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
  8. crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
  9. delay: down 5m multiplier 1.5 max 1h
  10. info: number of seconds since the last successful data collection
  11. to: sysadmin
  12. template: host_reachable
  13. families: *
  14. on: fping.latency
  15. calc: $average != nan
  16. units: up/down
  17. every: 10s
  18. crit: $this == 0
  19. info: states if the remote host is reachable
  20. delay: down 30m multiplier 1.5 max 2h
  21. to: sysadmin
  22. template: host_latency
  23. families: *
  24. on: fping.latency
  25. lookup: average -10s unaligned of average
  26. units: ms
  27. every: 10s
  28. green: 500
  29. red: 1000
  30. warn: $this > $green OR $max > $red
  31. crit: $this > $red
  32. info: average round trip delay during the last 10 seconds
  33. delay: down 30m multiplier 1.5 max 2h
  34. to: sysadmin
  35. template: packet_loss
  36. families: *
  37. on: fping.quality
  38. lookup: average -10m unaligned of returned
  39. calc: 100 - $this
  40. green: 1
  41. red: 10
  42. units: %
  43. every: 10s
  44. warn: $this > $green
  45. crit: $this > $red
  46. info: packet loss percentage
  47. delay: down 30m multiplier 1.5 max 2h
  48. to: sysadmin