Hello Team,
We are facing unknown error while configuring few drives into monitoring.
Case 1:
Monitoring of drives with drive letter like C:, D: drive etc
Error we are facing:-
COMMAND: /usr/local/nagios/libexec/check_nt -H GEO-W-WISVCL11P -s "umnagios123" -p 12489 -v USEDDISKSPACE -l N -w 90 -c 95
OUTPUT: NSClient - ERROR: Invalid return from command: check_drivesize
Attaching the screenshot in the document. ( Screenshot 1)
Case 2:-
Monitoring of drives without drive letter
Error we are facing :-
COMMAND: /usr/local/nagios/libexec/check_nrpe -H GEO-W-WISVCL11P -c CheckDriveSize -a Drive='F:\\3PAR_Citrix_SystemDB' MinCritFree=15% MinWarnFree=20%
OUTPUT: Filter processing failed: Error: Failed to get size for: 3: The system cannot find the path specified
Attaching the screenshot in the document. ( Screenshot 2)
As this is impacting our infrastructure would request you to please provide us a suggestions as soon as possible.
Disk Monitoring Error
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Disk Monitoring Error
You do not have the required permissions to view the files attached to this post.
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Re: Disk Monitoring Error
Just to update the version of nsclient :- 0.4.4.19
-
dwasswa
Re: Disk Monitoring Error
Be sure to test your command via the command line since the GUI method for testing check commands is limited by a few different factors.
Your syntax looks a bit dated for 0.4.4. Give this a try:
To be clear, F:\\3PAR_Citrix_SystemDB represents a logical disk mounted as a folder right? It's not just some regular system folder?
Your syntax looks a bit dated for 0.4.4. Give this a try:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H GEO-W-WISVCL11P -c check_drivesize -a drive='F:\\3PAR_Citrix_SystemDB' 'warning=free<20%' 'critical=free<15%'Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Re: Disk Monitoring Error
Hello Team,
We checked the command testing via cli and found that we are still facing the same issue. Attached the screenshot.
As per the other query from your end
F:\\3PAR_Citrix_SystemDB represents a logical disk mounted as a folder right? It's not just some regular system folder? :- It's a regular system folder.
Please let us know in case if any more clarifications are required.
We checked the command testing via cli and found that we are still facing the same issue. Attached the screenshot.
As per the other query from your end
F:\\3PAR_Citrix_SystemDB represents a logical disk mounted as a folder right? It's not just some regular system folder? :- It's a regular system folder.
Please let us know in case if any more clarifications are required.
You do not have the required permissions to view the files attached to this post.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Disk Monitoring Error
I believe this plugin is looking for an actual mounted disk at that location, not a folder. probably why it's not working.
take a look at https://exchange.nagios.org to see if you can find a plugin that will work for you.
take a look at https://exchange.nagios.org to see if you can find a plugin that will work for you.
Re: Disk Monitoring Error
Verifying that what @tacolover101 said mirrors what I was getting at earlier. check_drivesize only works with logical and physical volumes in Windows. If it's just a regular system folder, and you want to know how "big" it is in terms of bytes, you'd need to use something like check_files.keerthiprashanths wrote:It's a regular system folder.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/