1

I want my munin plugin to report unknown values if the value can't be reported. What do I have to return?

  • "nan"
  • "-nan"
  • nothing at all, just skip returning a value
  • "unknown"
  • ...?

Nothing works for me.

Background: ntp_offset plugin fails if ntp is not running at all. I want to return unknown value and send an alert message.

Vangelis Tasoulas
  • 3,109
  • 3
  • 23
  • 36
Janning Vygen
  • 8,877
  • 9
  • 71
  • 102

1 Answers1

5

I think the correct value to return is "U".

This is briefly mentioned without explanation in the documentation:

http://munin.readthedocs.org/en/latest/reference/plugin.html#plugin-reference

lkarsten
  • 2,971
  • 1
  • 15
  • 11