Download NSClient++ 0.3.9
Install NSClient++
- Run the installer
- The welcome page appears
- Click Next
- Tick the box I accept the terms in the License Agreement
- Click Next
- Accept the defaults
- Click Next
- Configuration page, being a fresh install there is nothing to select here
- Click Next
- Allowed hosts, type the IP Address of your Nagios Core host, for example:
- NSClient Password
- This can be left blank, it is not used with NRPE
- Modules to load (tick the following):
- Enable common check plugins
- Enable NRPE server (check_nrpe)
- Enable WMI checks
- Click Next
- Click Install
- Wait for NSClient++ to install
- When finished click Finish (don't tick the box Start service)
Configure NSClient++There are a couple of final settings to change in the config file.
- Open the Run dialog (Windows Key + R)
- Type notepad "C:\Program Files\NSClient++\NSC.ini" and press Enter
- This opens the config file in Notepad
- There is a section called [NRPE]
- Change:
- ;allow_arguments=0
- to
- allow_arguments=1
- Change:
- ;allow_nasty_meta_chars=0
- to
- allow_nasty_meta_chars=1
- Save and Close the file
Start NSClient++- Open the Run dialog (Windows Key + R)
- Type services.msc and press Enter
- This opens the services management console
- Find NSClient++ service
- Right click it and select Start
- Wait for the service to start
- Close the services manangement console when service is started
Test NSClient++
This
will test that the NSClient++ is properly installed and
listening on port 5666. The following command is executed on a Nagios
Core server and the computer running NSClient++ has the ip
address 192.168.142.1. - Type /usr/local/nagios/libexec/check_nrpe -H 192.168.142.1 and press Enter
- You should receive a response like:
- I (0.3.9.327 2011-08-16) seem to be doing fine...
- This confirms the NSClient++ is working
|