[rrd-users] PROCESS_SERVICE_CHECK_RESULT - plugin_output formating

COLIN Nicolas n.colin at neopost.com
Thu Dec 11 12:13:16 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.



More information about the rrd-users mailing list