Nagios plugin documentation fix (#2659)

This commit is contained in:
Jesús Roncero 2017-04-12 20:04:44 +01:00 committed by Daniel Nelson
parent 87f4f67b44
commit 0c0b22874e
1 changed files with 2 additions and 2 deletions

View File

@ -428,13 +428,13 @@ Note: Nagios Input Data Formats is only supported in `exec` input plugin.
```toml ```toml
[[inputs.exec]] [[inputs.exec]]
## Commands array ## Commands array
commands = ["/usr/lib/nagios/plugins/check_load", "-w 5,6,7 -c 7,8,9"] commands = ["/usr/lib/nagios/plugins/check_load -w 5,6,7 -c 7,8,9"]
## measurement name suffix (for separating different commands) ## measurement name suffix (for separating different commands)
name_suffix = "_mycollector" name_suffix = "_mycollector"
## Data format to consume. ## Data format to consume.
## Each data format has it's own unique set of configuration options, read ## Each data format has its own unique set of configuration options, read
## more about them here: ## more about them here:
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
data_format = "nagios" data_format = "nagios"