Book Image

Learning Nagios 3.0

Book Image

Learning Nagios 3.0

Overview of this book

Table of Contents (16 chapters)
Learning Nagios 3.0
Credits
About the Author
About the Reviewer
Preface

Passive Checks using NSCA Protocol


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...