Multiple output lines in plugins?
Sean Dilda
agrajag at dragaera.net
Fri Jul 9 19:52:38 CEST 2004
On Fri, 2004-07-09 at 12:09, Christopher M Bergeron wrote:
> Nicole, you can "trick" nagios by putting in "<br>" where you want each
> line to break. Like this:
> Temperatures OK<br>CPU Planar 38.0 Celsius<br>Ambient 26.0
> Celsius<br>BP Bottom Temp 23.0 Celsius
>
> nsca will see it as one line, and when it renders it in the browser, the
> <br> will be a new line. (<br> is html markup for a line break).
If you're doing this, you'll want to make pass all your notifications
through a filter to clean that up. Otherwise you'll get ugly
emails/pages.
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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