Sorry, I've just read this thread.
And I haven't tried my scripts with Icinga2 >= 2.7, I haven't upgraded yet
I usually bypass this issue in my environment disabling perfdata for services/plugins that don't use it with a template like that:
As open source matters, here's the PR: https://github.com/mmarodin/icinga2-plugins/pull/5
The error originates from the fact that perfdata is empty. Just tested this locally.
And while I am at it, another one which improves the error handling. I don't…
Replied to the thread Problem with "icinga2 performance data preview via mail notification messages".PostThx a lot dnsmichi again
It solved my problem
It should just ignore invalid performance data strings (which is still the case for plugins unfortunately).
Try adding something like this before the actual split:
(Code, 2 lines)
Note: It is Python, ensure that indent is correct.
Interesting! I tried to use the same notifications plugin today, but I got the same error.
Maybe the syntax changed in one of the last updates?
mmarodin do you have an idea?
Currently I am trying to implement the great plugin by mmarodin (thx for this nice job) for notifications with perfdata.
Unfortunately I am stuck here:
(Code, 4 lines)
Lines 98 to 106 are looking like this:
(Code, 9 lines)
As far as I understand the…
Replied to the thread UNKNOWN: SNMP Table Request : (genError) A general failure occured.PostIt seems like that the Centreon-Plugins are one reason for trouble here.
Using Manubulon-Plugins did the trick for me.