Wondering how to add Windows Disk Usage Checks In Nagios? We can help you.
As a part of our Server Management Services, we help our customers with requests related to windows regularly.
Today, let us discuss how our Support Engineers perform this.
How to Add Windows Disk Usage Checks In Nagios?
Today, let us see how our Support Engineers monitor additional drives on a Windows client.
In this, we can see how to make quick changes without needing to re-run the Windows Server/Desktop wizard using CCM.
Make sure to install NSClient++ before proceeding.
Installing The NSClient++ Agent
In this, let us see steps to install NSClient++ Agent.
- Firstly, log on to the Windows machine we wish to install the NSClient++ agent on.
- Then, run the NSClient++ installer package to start the installation.
- The welcome screen will appear. Click Next to continue to the next step.
- Then, select Generic and click Next to continue. Click the Typical button.
- Next, we will need to configure the NSClient++ agent. Enter the IP address(s) of the Nagios XI server(s) in the Allowed hosts box.
For example, two addresses have been added (10.25.5.11 and 10.25.5.12 separated by a comma). Enter a password in the Password box that is required for communication between the Nagios server and the Windows machine (used by check_nt plugin).
Enable common check plugins = Checked
Enable nsclient server (check_nt) = Checked
- Do not select NRPE as it is not necessary by using the Windows Server configuration wizard.
- NRPE does offer advanced monitoring capabilities. Click Next to continue.
- Then, click the Install button on the next screen to begin the installation.
- We will prompted to grant permission to the installer to make changes to the computer, click Yes to continue.
- Wait while NSClient++ is install and click Finish to complete the setup.
Navigating to the Core Config Manager (CCM)
There are multiple ways to access CCM:
• When hovering the Configure button in the top menu bar, we can select Core Config Manager.
• On the Configure tab, we can select Core Config Manager from the left pane or from the main screen.
Utilizing the Core Config Manager
In the left pane under Monitoring, click on Services.
This will bring us to Service Management view.
Let us see how to duplicate an existing service and modify the duplicate service to a new disk usage check.
In this example, our config name is 10.25.14.52. we could use the search functionality or use the Config Name drop down list.
Duplicating a service is as easy as clicking the Copy iconfor that service.
In this example, we will copy the Drive C: Disk Usage service. After pressing the copy icon, a new service will appear.
Next, edit the service.
To do that, click the Service Name 10.25.14.52_copy_1 or we can click the Screwdriver/Wrench icon in the Actions column.
This brings us to the editor screen for the service.
Firstly, we must do is rename the Config Name field. In this case, it is all the services for the host 10.25.14.52. Since this will be another service for 10.25.14.52, we will simply remove the _copy_1 from the config name.
Then, we must change the Service Description field. Since we are adding a service to monitor D drive, we will change the letter C to a D.
Next, we have to actually change what the service does. We change that by changing the letter after the -l flag in the $ARG3$ field. Change the C to which drive letter we wish to monitor, in our case, a D.
Then, click the Active check to enable this service. Click the Save button when finished.
Once we click Save, we will be returned to the services lists.
We can now see the new Drive D: Disk Usage service in the list.
We must click the Apply Configuration button at the bottom of the screen, this saves our new config and restarts Nagios.
[Need any further assistance with Windows? – We’re available 24*7]
Conclusion
Today, we saw how our Support Techs monitor additional drives on a Windows client.
0 Comments