python.d.plugin.conf 640 B

123456789101112131415161718
  1. # make sure python.d.plugin data collection job is running
  2. template: python.d_job_last_collected_secs
  3. on: netdata.pythond_runtime
  4. class: Errors
  5. type: Netdata
  6. component: python.d.plugin
  7. module: !* *
  8. calc: $now - $last_collected_t
  9. units: seconds ago
  10. every: 10s
  11. warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
  12. crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
  13. delay: down 5m multiplier 1.5 max 1h
  14. summary: Python.d plugin last collection
  15. info: Number of seconds since the last successful data collection
  16. to: webmaster