Multiple output lines in plugins?

Nicole Hähnel nicole.haehnel at epost.de
Thu Jul 8 08:38:41 CEST 2004


Hi,

I've written my own plugin to get more information from a server.
I use nrpe to check the other servers with my plugin.
The plugin is not only to get "status ok". It gives out more lines,
something like this:

Temperatures OK
CPU Planar	38.0 Celsius
Ambient		26.0 Celsius
BP Bottom Temp	23.0 Celsius

The problem is check_nrpe gets only the first line.
All I see is "Temperatures OK", the other lines are ignored.

Is there any possibility to get more than one line?
Or is the only thing I can do, write all output in one line?


Thanks!

Nicole


-------------------------------------------------------
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