Heiko Schlittermann <[EMAIL PROTECTED]> (Mi 21 Nov 2007 23:25:00 CET):
> Hello,
>
> the example for the nagios grapher command is about this way:
>
> define command{
> ...
> command_line .../contrib/fifo_write .../rw/ngraph.pipe
> '$HOSTNAME$\t...$SERVICEPERFDATA$\n' 3
> }
>
>
> But the fifo_write doesn't process the '\n'. This brings trailing 'n'
> into the fifo output, but no newline.
>
> Currently I'm not even sure, why the pipe reader (collect2.pl) thinks
> there's a line to read..., if the writer doesn't send a newline. But
> this is another issue.
This issue is solved now: the check_ssh doesn't send a '\n' at the end of
its performance data, other check_* do. Thus the fifo_write-bug didn't
break a lot, just created an additional single 'n' on a line itself.
Except for check_ssh.
This way each performance output directly after the output from
check_ssh wasn't processed, because collect2.pl read a single line,
containing first the ssh *and* then the other performance data.
Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann HS12-RIPE -----------------------------------------
gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Nagios-users mailing list [email protected] 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
