Re: [Nagios-devel] Minor distributed monitoring documentation error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Minor distributed monitoring documentation error

Post by Guest »

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: [email protected]
Web: www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked