Does anyone know if the latest version of Nagios XI 5.5.2 support Windows Mount Point monitor? Only finding somewhat outdated posts that suggested using NSClient and the CheckDriveSize using NRPE. Even with that, may not be 100% success method. Some other suggestions found include powershell and vbs.
Like to know if there is a default plug-in avail with the latest version. Any other suggestions appreciate it.
Thanks in advance.
-P
Windows Mount Point
Re: Windows Mount Point
Are you referring to a standard mapped drive?
The problem with mapped drives is that they are per user in windows, so unless you are going to run the nsclient service as the user who has it mapped you wouldn't see it.
The problem with mapped drives is that they are per user in windows, so unless you are going to run the nsclient service as the user who has it mapped you wouldn't see it.
Re: Windows Mount Point
Thanks for the reply SSAX.
I am not referring to mapped drives but rather as a Windows Mount Point folder path - here's a Microsoft link https://docs.microsoft.com/en-us/window ... to-a-drive.
I am not referring to mapped drives but rather as a Windows Mount Point folder path - here's a Microsoft link https://docs.microsoft.com/en-us/window ... to-a-drive.
Re: Windows Mount Point
There isn't a default plugin, but I tested with nsclient 0.4.4.23 and it was able to return mount points with checkdrivesize.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Windows Mount Point
Here's an example from a previous post:
https://support.nagios.com/forum/viewto ... 26#p252126
And a KB article with that information:
https://support.nagios.com/kb/article.php?id=770
For more information on using check_nrpe with NSClient++, check out the following documentation:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
And if you're needing help getting NSClient++ installed on your Windows machines, see here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://support.nagios.com/forum/viewto ... 26#p252126
And a KB article with that information:
https://support.nagios.com/kb/article.php?id=770
For more information on using check_nrpe with NSClient++, check out the following documentation:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
And if you're needing help getting NSClient++ installed on your Windows machines, see here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Windows Mount Point
Thanks for the additional info @mcapra!
Re: Windows Mount Point
Thanks to everyone responded.
Just to close the loop on this, NCPA v2.1.5 addresses this issue and working as designed. The only issue I find annoying is each mountpoint monitor needs to be manually configured. When I scanned a server with multiple mountpoints, the scan result will return only the drive letter with no indication of the mountpoint path.
Example:
Assuming these 3 mountpoints on a server:
c:\mountpoint\m1
c:\mountpoint\m2
c:\mountpoint\m3
Nagios scan would return similar to these:
c:\ Warning: 80% Critical: 90%
c:\ Warning: 80% Critical: 90%
c:\ Warning: 80% Critical: 90%
There is also no way of editing these results to actual paths before committing the changes. Commit as shown will only have one monitor in the list of services as there can't be any dups.
I've not looked into automating this task as I am still learning my way around Nagios. If anyone have any suggestions, love to hear it.
Thanks again for everyone's help.
-pc
Just to close the loop on this, NCPA v2.1.5 addresses this issue and working as designed. The only issue I find annoying is each mountpoint monitor needs to be manually configured. When I scanned a server with multiple mountpoints, the scan result will return only the drive letter with no indication of the mountpoint path.
Example:
Assuming these 3 mountpoints on a server:
c:\mountpoint\m1
c:\mountpoint\m2
c:\mountpoint\m3
Nagios scan would return similar to these:
c:\ Warning: 80% Critical: 90%
c:\ Warning: 80% Critical: 90%
c:\ Warning: 80% Critical: 90%
There is also no way of editing these results to actual paths before committing the changes. Commit as shown will only have one monitor in the list of services as there can't be any dups.
I've not looked into automating this task as I am still learning my way around Nagios. If anyone have any suggestions, love to hear it.
Thanks again for everyone's help.
-pc
Re: Windows Mount Point
I will submit this as a bug but you can download the attached file, unzip it, and then replace the file below and it should fix the issue in the wizard for you:
Edit: Bug report created:
Code: Select all
/usr/local/nagiosxi/html/includes/configwizards/ncpa/ncpa.inc.php
Code: Select all
NEW TASK ID 13783 created - Nagios XI Bug Report: XI - NCPA Wizard shows duplicate windows mounts
You do not have the required permissions to view the files attached to this post.
Re: Windows Mount Point
ssax - the ncpa file you provided is working great. Able to scan the server and pull up all the mountpoints with correct respective paths.
Thanks very much.
-pc
Thanks very much.
-pc
Re: Windows Mount Point
Glad to hear it, are we okay to lock this topic and mark it as resolved?