Janning Vygen
Janning Vygen

Reputation: 9192

Munin - how to return unknown value from plugin

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

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.

Upvotes: 1

Views: 1151

Answers (1)

lkarsten
lkarsten

Reputation: 2981

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

This is briefly mentioned without explanation in the documentation:

https://munin.readthedocs.io/en/latest/reference/plugin.html#fieldname-value

Upvotes: 5

Related Questions