Page 1 of 1
Vertical Bar in Plugin Output Text
Posted: Wed Aug 31, 2016 2:22 pm
by grenley
From searching the forum, this topic was last addressed three years ago and I'm hoping progress has been made since.
We have log text that contains vertical bars in the output text.
Obviously, this has been an issue for some time where anything to the right of the vertical bar is stripped and treated as metrics.
Has this been addressed in XI 5?
Big issue for our users.
Thanks, Rick
Re: Vertical Bar in Plugin Output Text
Posted: Wed Aug 31, 2016 2:30 pm
by ssax
Unfortunately not, you would need to convert them into something else to get the data into XI. What plugin are you using that is sending them in?
Re: Vertical Bar in Plugin Output Text
Posted: Wed Aug 31, 2016 2:56 pm
by grenley
Bummer. I was afraid of that.
We use a custom logfile plugin
Re: Vertical Bar in Plugin Output Text
Posted: Wed Aug 31, 2016 3:08 pm
by mcapra
The plugin development guidelines for reference:
https://nagios-plugins.org/doc/guidelines.html
Section pertaining to performance data and the
| character:
https://nagios-plugins.org/doc/guidelines.html#AEN200
Substituting this character within the plugin itself is probably your best option.
Re: Vertical Bar in Plugin Output Text
Posted: Wed Aug 31, 2016 3:12 pm
by grenley
ok. thanks
Re: Vertical Bar in Plugin Output Text
Posted: Wed Aug 31, 2016 4:33 pm
by mcapra
Since the original question was answered, is it alright if we lock this thread?