Closed Krysztophe closed 6 years ago
If icinga does not support this "custom" unit, just use --format nagios_strict
.
Works better this way :-)
That deserves a word about Icinga & this option in the doc, doesn't it? To avoid other people to rediscover it the hard way.
The -F / --format is already documented. Maybe some FAQ or other specific paragraph could be added on http://opm.readthedocs.io/probes/index.html ot make it more obvious, but that seems unrelated to this issue. Feel free to open a bug or propose a PR on the documentation repository.
Temp files use unsupported units : Files, Bpm, Fpm. Nevertheless, Naemon is able to show the values.
But it seems that they are not supported by Icinga (https://monitoring-portal.org/woltlab/index.php?thread/42185-extending-uoms/) and as a consequence Icinga shows 0 as number of files (warning, critical (without units), and values with B are ok).
I don't know how to resolve this. Add another flag to avoid adding un-universally-supported units? Accept it as a limitation from Icinga?
(tested with Icinga2.8.2 from Debian stretch)