Page 2 of 4
Re: Check drives size displays too much information
Posted: Mon May 13, 2019 3:46 pm
by lmiltchev
You could exclude this drive from your check for the time being, until you figure out what is causing the issue. What kind of drive is it? We would need to do some more digging into this. If we could recreate the issue in-house, maybe we would be able to come up with a solution, or at least point you to the right direction.
Re: Check drives size displays too much information
Posted: Fri May 17, 2019 2:10 am
by Frédéric GRANAT
Hi
You could exclude this drive from your check for the time being
=> Thanks, done
What kind of drive is it?
=>
Could you please tell me what kind of information do you need ?
Re: Check drives size displays too much information
Posted: Fri May 17, 2019 8:36 am
by scottwilkerson
Frédéric GRANAT wrote:What kind of drive is it?
=>
Could you please tell me what kind of information do you need ?
Is it a fixed drive, CDROM, network share, etc.
Re: Check drives size displays too much information
Posted: Fri May 17, 2019 10:10 am
by Frédéric GRANAT
Hi,
It's a ntfs partition.
Re: Check drives size displays too much information
Posted: Fri May 17, 2019 1:35 pm
by scottwilkerson
Frédéric GRANAT wrote:Hi,
It's a ntfs partition.
If you look at it's properties is the D: drive extremely large? Does it show properly the size in Windows?
For some reason Windows is returning a negative number when querying the size
Re: Check drives size displays too much information
Posted: Mon May 20, 2019 2:17 am
by Frédéric GRANAT
Nothing abnormal in the properties
Re: Check drives size displays too much information
Posted: Mon May 20, 2019 4:08 pm
by scottwilkerson
scottwilkerson wrote:If you look at it's properties is the D: drive extremely large?
Re: Check drives size displays too much information
Posted: Mon May 27, 2019 2:44 am
by Frédéric GRANAT
No,
Disk is not large
Re: Check drives size displays too much information
Posted: Tue May 28, 2019 2:16 pm
by tgriep
Try running the command against the D: drive to see that sort of errors are generated. The command below has the debug option so hopefully it will show something.
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.pl -H xxxxxxxxxxx -u xxxxxxxxxxx -p xxxxxxxxxxxxx -m checkdrivesize -a 'D:' -w _FreeGB=10: -c _FreeGB=5: --extrawmicarg "--debuglevel=4" -d
Re: Check drives size displays too much information
Posted: Tue Jun 04, 2019 2:16 am
by Frédéric GRANAT
Hi,
Here's the output :
Code: Select all
[[email protected] ~]# /usr/local/nagios/libexec/check_wmi_plus.pl -H xxxxx -u xxxxxxx -p xxxxxxx-m checkdrivesize -a 'C:|D:|E:|F:|G:|Q:|H:|I:|L:|M:|N:|R:' -w _FreeGB=10: -c _FreeGB=5: --extrawmicarg "--debuglevel=4" -d
Complex Format:_UsedSpace,#B,Used,, ,,