Configure NTFS mount points disk space monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
keerthiprashanths
Posts: 50
Joined: Mon Jul 24, 2017 8:44 am

Re: Configure NTFS mount points disk space monitoring

Post by keerthiprashanths »

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

Post by keerthiprashanths »

@ kyang:-

We have tried it as mentioned earlier
kyang

Re: Configure NTFS mount points disk space monitoring

Post by kyang »

Can you show me how you defined it in your nsclient.ini file?
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 \\
Also can you post the command of how you ran this?
keerthiprashanths
Posts: 50
Joined: Mon Jul 24, 2017 8:44 am

Re: Configure NTFS mount points disk space monitoring

Post by keerthiprashanths »

The nsclient.ini file is already attached with the post itself.. :)
kyang

Re: Configure NTFS mount points disk space monitoring

Post by kyang »

Got it,

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
But it still works like this.

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
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_
Locked