go.d.plugin.conf 602 B

1234567891011121314151617
  1. # make sure go.d.plugin data collection job is running
  2. template: go.d_job_last_collected_secs
  3. on: netdata.go_plugin_execution_time
  4. class: Error
  5. type: Netdata
  6. component: go.d.plugin
  7. module: !prometheus *
  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. info: number of seconds since the last successful data collection
  15. to: webmaster