am2320.conf 471 B

123456789101112
  1. # make sure am2320 is sending stats
  2. template: am2320_last_collected_secs
  3. on: am2320.temperature
  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: webmaster