[[inputs.exec]]
## Commands array
commands = [" perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --mode=load --hostname=127.0.0.1 --snmp-version='2c' --snmp-community='public'"]
## measurement name suffix (for separating different commands)
name_suffix = "_centreonplugins"
## 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"
It looks like the Telegraf parser does not support ranges in the warning and critical fields as specified in this performance data. I opened an issue.
This quoting of the labels variables also seems undesirable, this also seems like a bug. We should strip the outer quotes, but also since strictly speaking this would be a breaking change maybe we should update the format completely. I opened a second issue.
Can you take a look at the new issues and let me know what you think about the changes I proposed?