Configure NTFS mount points disk space monitoring
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Re: Configure NTFS mount points disk space monitoring
Yes we have tried it and we got the same error.
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Re: Configure NTFS mount points disk space monitoring
@ kyang:-
We have tried it as mentioned earlier
We have tried it as mentioned earlier
-
kyang
Re: Configure NTFS mount points disk space monitoring
Can you show me how you defined it in your nsclient.ini file?
Also can you post the command of how you ran this?I'm not 100% sure, this will fix it but if we are escaping the # with a \ you should have 3 \\\ after C: because the standard in the check has 2 \\
-
keerthiprashanths
- Posts: 50
- Joined: Mon Jul 24, 2017 8:44 am
Re: Configure NTFS mount points disk space monitoring
The nsclient.ini file is already attached with the post itself.. 
-
kyang
Re: Configure NTFS mount points disk space monitoring
Got it,
But it still works like this.
Can you show me the path you are trying to check on your windows? I would like to try and replicate it so I can create it and test it myself.
All i created in my C: drive was folder like this #_test_data_ and the path is C:\#_test_data_
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.3.46 -c CheckDriveSize -a Drive='C:\\\#_test_data_\\\' MinCritFree=15% MinWarnFree=20%
OK All 1 drive(s) are ok|'C:\\\#_test_data_\\\ free'=281.593GB;90.38594;67.78945;0;451.9297 'C:\\\#_test_data_\\\ free %'=62%;20;15;0;100
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.3.46 -c CheckDriveSize -a Drive='C:\#_test_data_' MinCritFree=15% MinWarnFree=20%
OK All 1 drive(s) are ok|'C:\#_test_data_ free'=281.59249GB;90.38594;67.78945;0;451.9297 'C:\#_test_data_ free %'=62%;20;15;0;100
All i created in my C: drive was folder like this #_test_data_ and the path is C:\#_test_data_