To monitor Windows hosts on Nagios we need to configure NSC++ on the client side.
First, you need to download the add-on packages(NSClient) from this link.
Create a new folder named “NSC++” on C:\ Drive and extract the dowloaded folder.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-19.11.51-1024x907.png)
You will find a file named “NSC.ini” In the extracted files. Open with your favourite editor and make these changes.
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
NSClientListener.dll
NRPEListener.dll
SysTray.dll
CheckEventLog.dll
CheckHelpers.dll
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-19.12.11-1024x693.png)
Uncomment the above lines in the file.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-19.12.28-1024x408.png)
As shown in the above picture, uncomment ”alowed_hosts” line and add your nagios core server IP address here.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-19.12.43-1024x231.png)
As shown in the above picture, uncomment ”port=12489”
Now save the file and open the command line on windows. Run these commands on the command line.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-19.13.07.png)
Now open run and type ”services.msc” top open services window.
Search for NSC client service on it and right-click >> properties.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-19.13.23.png)
on “Logon” tab check this option.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-19.13.49.png)
Now apply the changes and start the service.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-19.14.28-877x1024.png)
That’s it. Client-side configuration is done, now you need to add this Windows host to Nagios server configuration file which is ”windows.cfg”