telegraf/plugins/parsers/nagios
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
..
README.md Split parser/serializer docs (#4690) 2018-09-17 11:45:08 -07:00
parser.go Remove error return type from metric.New method (#9116) 2021-04-13 14:40:03 -04:00
parser_test.go Remove error return type from metric.New method (#9116) 2021-04-13 14:40:03 -04:00

README.md

Nagios

The nagios data format parses the output of nagios plugins.

Configuration

[[inputs.exec]]
  ## Commands array
  commands = ["/usr/lib/nagios/plugins/check_load -w 5,6,7 -c 7,8,9"]

  ## Data format to consume.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ##   https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
  data_format = "nagios"