NSClient++ offers a way for Windows machines to send results to the Nagios server using the NSCA protocol. This is done by incorporating the sending mechanism in the agents. A very common situation is where network routers or firewalls are filtering out communication to the Windows machines. It is impossible to communicate using the check_nt
and check_nrpe
plugins. In such cases, sending results over NSCA is the only option.
Setting up the NSCA functionality is very simple. The first thing that needs to be done is to enable the NSCAAgent.dll
library in the modules
section. It is also necessary to configure the section NSCA Agent
. This configures the checks interval (in seconds) and the connection options — encryption, password, NSCA host, and port. For details on NSCA connectivity, please refer to Chapter 7 Passive Checks and NSCA.
Configuration also specifies the local host name that should be used when reporting to the NSCA daemon. The section, NSCA Commands...