Minor distributed monitoring documentation error
Ethan Galstad
nagios at nagios.org
Sun Apr 13 22:59:22 CEST 2008
Goldschrafe, Jeffrey wrote:
> In the middle of the documentation for the distributed monitoring
> configuratoin, there's an example script used to submit NSCA results to
> the master server from an OCSP/perfdata processor. That script contains
> this command:
>
> /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" |
> /usr/local/nagios/bin/send_nsca central_server -c
> /usr/local/nagios/etc/send_nsca.cfg
>
> It's missing the -H argument before central_server, though, so it should
> read as follows:
>
> /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" |
> /usr/local/nagios/bin/send_nsca -H central_server -c
> /usr/local/nagios/etc/send_nsca.cfg
>
> The script should probably also just define $CENTRAL_SERVER at the top
> of the script somewhere in keeping with good scripting form, but that's
> a nitpick -- the missing switch is the big concern. :)
Thanks for the note Jeff - CVS will be updated shortly.
Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web: www.nagios.org
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
More information about the Developers
mailing list