Displaying full output (verbose) for a service.

Marc Powell mpowell at ena.com
Wed Oct 1 18:28:50 CEST 2003


There is no differentiation between output of a plugin and 'complete'
output of a plugin. They're one and the same. As a general rule, plugin
output must be one line only (for nagios) and less than 80 characters
for readability.

http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT

Now, that being said, I don't believe there is anything to prevent you
from ignoring the 80 character recommendation and single-lining your
plugin output by substituting '<br>' for '\n' in the plugin output for
display on the web page and doing the opposite in your notification
script.

--
Marc

> -----Original Message-----
> From: Tomer H. [mailto:tomer at metnix.com]
> Sent: Wednesday, October 01, 2003 12:13 PM
> To: nagios-users at lists.sourceforge.net
> 
> Hello,
> 
>   I would like to know if it's possible to see the complete output of
>   a service(command) that has been executed as an additional
>   information to the single(/first) output line of the command.
> 
>   Also, is it possible to include that complete verbose in the email
>   delivery (notify-by-email command) ?
> 
> Thanks, Tomer.
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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