Now that our NSCA server is up and running, we can continue with actually submitting results over the network. We will need the send_nsca
client binary on all of the machines that will report passive check results to Nagios.
There are various prebuilt binaries available at NagiosExchange, including a native Win32 binary, which allows the sending of results from any check using NSCA. As it is a prebuilt version, there is no need to compile or install it. Simply copy the binary to a Windows machine, and it can be used with any valid NSCA client configuration.
As with the NSCA server, the client uses a configuration file. This requires the specification of the password
and encryption_method
parameters. A sample configuration that can be used in conjunction with the configuration for a server created earlier:
password=ok1ij2uh3yg encryption_method=1
The NSCA client accepts the status results that should be sent out to the server on standard input. Each line indicates...