I use check_by_ssh plugin to execute remote scripts and grab their output.
Example is:
Code: Select all
GL:0504:/home GLOBUS GL.OS.fs critical Capacity of /home is 59 % ( > 50 %)
GL:0504:/opt GLOBUS GL.OS.fs critical Capacity of /opt is 52 % ( > 50 %)
After clicking "Service Status Detail" I can see first line bolded and other lines with regular font.
How to display whole information in "Status Information" field
Executing the plugin command from shell on nagios server I got all lines of the output. Only Web interface displays output with this strange rule.
Any tries of parsing event in "command" (via piping with "tr") were unsuccessful, ie. parsing works OK, but the result is displayed as described before.
I can merge all output in one line in script body, but it is not well redable for human.
Thx.