Monitoring Windows Using NSClient++
Monitoring Windows Using NSClient++
Purpose
This document describes how to monitor Microsoft Windows using the NSClient++ monitoring
agent. There are two different methods for communicating with NSClient++ and this
documentation explains them both.
Target Audience
This document is intended for use by Nagios XI Administrators who are interested in monitoring Windows
machines using NSClient++.
Overview
NSClient++ must be installed on the target Windows machine before Nagios XI can monitor system metrics,
services, processes, or performance data on the target machine. If you haven't installed the NSClient++ agent
on the remote machine, please, refer to our documentation on installing the XI Windows agent:
Installing The Windows Agent NSClient++ For Nagios XI
The two methods for communicating with NSClient++ are explained as follows:
• check_nt
◦ This is the most common method used
◦ The Windows Server and Windows Desktop configuration wizards use this method
◦ It provides basic functionality, cannot be customized much
• check_nrpe
◦ Uses the NRPE communication protocol
◦ The NRPE configuration wizard uses this method
◦ It allows more advanced monitoring functionality and customization
You can use a combination of both methods in Nagios XI, it is not a choice of one or the other.
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 1 / 9
Updated – October, 2017
The Industry Standard In Infrastructure Monitoring
To begin using one of the Windows wizards navigate via the top menu bar to Configure > Run a configuring
wizard and select the desired wizard. This documentation will focus on the Windows Server wizard. In the
following screenshot you can see how the search field allows you to quickly find a wizard.
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 2 / 9
Updated – October, 2017
The Industry Standard In Infrastructure Monitoring
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 3 / 9
Updated – October, 2017
The Industry Standard In Infrastructure Monitoring
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 4 / 9
Updated – October, 2017
The Industry Standard In Infrastructure Monitoring
Once you've finished selecting all the items you wish to monitor click Next and then complete the wizard by
choosing the required options in Step 3 - Step 5.
To finish up, click on Finish in the final step of the wizard. This will create the new hosts and services and
begin monitoring. Once the wizard applies the configuration, click the View status details for <your host>
link to see the new host and services that were created.
Once that is installed you will also need to configure NSClient++ to enable the NRPE Listener, this is
explained in the following documentation:
Enabling the NRPE Listener In NSClient++ 0.4.x
To begin using the NRPE wizard navigate via the top menu bar to Configure > Run a configuring wizard
and select the NRPE wizard. In the screenshot on the following page you can see how the search field allows
you to quickly find a wizard.
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 5 / 9
Updated – October, 2017
The Industry Standard In Infrastructure Monitoring
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 6 / 9
Updated – October, 2017
The Industry Standard In Infrastructure Monitoring
The next step is to define the NRPE Commands you want issued to the NSClient++ agent. You will need to
refer to the online documentation for a complete list of the commands at the following location:
http://docs.nsclient.org/0.4.3/reference/index.html#windows-modules
Here are some example commands and their arguments, they provide similar functionality to that of the
previous wizard and the services it created.
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 7 / 9
Updated – October, 2017
The Industry Standard In Infrastructure Monitoring
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 8 / 9
Updated – October, 2017
The Industry Standard In Infrastructure Monitoring
Once you've finished selecting all the items you wish to monitor click Next and then complete the wizard by
choosing the required options in Step 3 - Step 5.
To finish up, click on Finish in the final step of the wizard. This will create the new hosts and services and
begin monitoring. Once the wizard applies the configuration, click the View status details for <your host>
link to see the new host and services that were created.
Finishing Up
This completes the documentation on how to monitor Microsoft Windows with Nagios XI using NSClient++.
If you have additional questions or other support related questions, please visit us at our Nagios Support
Forums:
https://support.nagios.com/forum
https://support.nagios.com/kb
1295 Bandana Blvd N, St. Paul, MN 55108 sales@nagios.com US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 9 / 9
Updated – October, 2017