Closed datamuc closed 7 years ago
Sounds good to me. I'll figure something out. Just give me some time, I'm currently out of office.
NAGFLUX:TAG::$_SERVICENAGFLUX_TAG$
as well as
NAGFLUX:TAG::
will be ignored now. The first, because there is no "=" within the data and the second because it's empty.
The
service_perfdata_file_template
has\tNAGFLUX:TAG::$_SERVICENAGFLUX_TAG$
appended to it. The problem is, that now every service needs some sane value for it. Otherwise nagflux fails to parse the line:because the macro doesn't get expanded:
I've tried to define a parent service with an empty
_NAGFLUX_TAG
which leads to nagflux crashes:The field
NAGFLUX:TAG
field looks like this in the crashing case:NAGFLUX:TAG::
. I guess a sane way would be to treat the field valueNAGFLUX::TAG::
as if the field wasn't there at all.