PROCESS_SERVICE_CHECK_RESULT : formating plugin_output
COLIN Nicolas
n.colin at neopost.com
Tue Dec 16 12:06:33 CET 2008
Hi List,
When using "PROCESS_SERVICE_CHECK_RESULT", is it possible to insert a
[new line] character in the <plugin_output> ?
I have different lines to put in Nagios and it is not very clear when
they are aggregated.
In "Status Information" instead of :
quantite-date-min 60 ---
/global/routing/share/data/ComServer/ftp/.*/.*/*.* --- 1
quantite-date-min 10 ---
/global/routing/share/data/pcneopost/CND/.*/.*/.*/.*/EMIS/*.* --- 47
I would like to have :
quantite-date-min 60 ---
/global/routing/share/data/ComServer/ftp/.*/.*/*.* --- 1
quantite-date-min 10 ---
/global/routing/share/data/pcneopost/CND/.*/.*/.*/.*/EMIS/*.* --- 47
I would also like to align column, for example with [tab] character
(instead of my "---" as column separators).
Of course, I tried to use "\n" or "\t" or even "<br/>" but it does not
work.
Thank you for your help.
Regard,
Nicolas COLIN.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081216/c6a8232a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list