Check drives size displays too much information
Re: Check drives size displays too much information
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Check drives size displays too much information
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 ?
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 ?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check drives size displays too much information
Is it a fixed drive, CDROM, network share, etc.Frédéric GRANAT wrote:What kind of drive is it?
=>
Could you please tell me what kind of information do you need ?
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Check drives size displays too much information
Hi,
It's a ntfs partition.
It's a ntfs partition.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check drives size displays too much information
If you look at it's properties is the D: drive extremely large? Does it show properly the size in Windows?Frédéric GRANAT wrote:Hi,
It's a ntfs partition.
For some reason Windows is returning a negative number when querying the size
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Check drives size displays too much information
Nothing abnormal in the properties
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check drives size displays too much information
scottwilkerson wrote:If you look at it's properties is the D: drive extremely large?
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Check drives size displays too much information
No,
Disk is not large
Disk is not large
Re: Check drives size displays too much information
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 Be sure to check out our Knowledgebase for helpful articles and solutions!
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Check drives size displays too much information
Hi,
Here's the output :
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,, ,,
Last edited by Frédéric GRANAT on Tue Jun 04, 2019 10:23 am, edited 2 times in total.