How to configure windows monitored computer in Redhat configuration nagios
In this issue, the editor will bring you about how to configure the windows monitor in the Redhat configuration nagios. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
Configure windows monitored machine (client)
Here is how to configure nagios for Redhat.
Windows monitoring requires a plug-in nsclient to be installed in windows
Decompress to disk c after download
C:\ NSClient > nsclient++ / install Service NSClientpp installed... L NSClient++.cpp (227) Service installed!
Edit nsc.ini with notepad to remove comment symbols ";" except for CheckWMI.dll and RemoteConfiguration.dll
[modules] FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll; CheckWMI.dll CheckExternalScripts.dll NSCAAgent.dll LUAScript.dll RemoteConfiguration.dll NRPEClient.dll CheckTaskSched.dll [Settings] allowed_hosts=10.155.2.65/32 [NSClient] port=12489 C:\ NSClient > NSClient++-start Starting NSClientpp C:\ NSClient > netstat-an | more Active Connections Proto Local Address Foreign Address State TCP 0.0.0.0V 5666 0.0.0.0 LISTENING TCP 0.0.0.0V 12489 0.0.0.0 LISTENING
Server
[root@localhost ~] # vi / usr/local/nagios/etc/nagios.cfg # Definitions for monitoring a Windows machine cfg_file=/usr/local/nagios/etc/objects/windows.cfg [root@localhost ~] # vi / usr/local/nagios/etc/objects/windows.cfg
There is nothing to change about windows.cfg, just change hostname and ip (figure 5)
The above is how to configure the windows monitor in the Redhat configuration nagios shared by the editor. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.