Hard disk showing 123% used

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Altheus
Posts: 3
Joined: Thu Oct 15, 2015 4:37 am

Hard disk showing 123% used

Post by Altheus »

I have a check that is showing 123% usage on a large (>4TB) disk

Critical
E:\ Label:Shared Disk Serial Number 58745973: 123%used(-16731736MB/-13631618MB) (>95%) : CRITICAL

Can you please tell me how to make this check behave?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Hard disk showing 123% used

Post by scottwilkerson »

What plugin/agent are you using for this check?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Altheus
Posts: 3
Joined: Thu Oct 15, 2015 4:37 am

Re: Hard disk showing 123% used

Post by Altheus »

I'm using

check_xi_service_snmp_win_storage! -C RMCPUB --v2c -m ^E: -w 80 -c 95 -f

as the agent.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Hard disk showing 123% used

Post by scottwilkerson »

These volumes may be too large to be manages by the version of SNMP you have on the remote system, I would highly recommend using an Agent such as NCPA for this monitoring if possible

To confirm this we could run the following to get the detailed results with verbose output:

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage.pl -H HOSTADDRESS -G -C RMCPUB --v2c -m ^E: -w 80 -c 95 -f -v

ref: https://support.nagios.com/forum/viewto ... =10#p87367
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Altheus
Posts: 3
Joined: Thu Oct 15, 2015 4:37 am

Re: Hard disk showing 123% used

Post by Altheus »

Thanks Scott the output is:

login as: martinp
[email protected]'s password:
Last login: Mon Jan 20 10:29:08 2020 from 172.31.20.98
[martinp@4rdr-vs ~]$ /usr/local/nagios/libexec/check_snmp_storage.pl -H HOSTADDR ESS -G -C RMCPUB --v2c -m ^E: -w 80 -c 95 -f -v
Alarm at 15
SNMP v2c login
ERROR: Unable to resolve UDP/IPv4 address 'HOSTADDRESS'.
[martinp@4rdr-vs ~]$ /usr/local/nagios/libexec/check_snmp_storage.pl -H 172.31.1 20.16 -G -C RMCPUB --v2c -m ^E: -w 80 -c 95 -f -v
Alarm at 15
SNMP v2c login
Filter : ^E:
OID : 1.3.6.1.2.1.25.2.3.1.3.3, Desc : D:\ Label:IR2_SSS_X64FREV_EN-US_DV5 Seri al Number ca57887
OID : 1.3.6.1.2.1.25.2.3.1.3.5, Desc : Virtual Memory
OID : 1.3.6.1.2.1.25.2.3.1.3.2, Desc : C:\ Label: Serial Number 82d5868c
OID : 1.3.6.1.2.1.25.2.3.1.3.4, Desc : E:\ Label:Shared Disk Serial Number 5874 5973
Name : E:\ Label:Shared Disk Serial Number 58745973, Index : 4
OID : 1.3.6.1.2.1.25.2.3.1.3.6, Desc : Physical Memory
OID : 1.3.6.1.2.1.25.2.3.1.3.1, Desc : A:\
storages selected : 1
1.3.6.1.2.1.25.2.3.1.6.4 : -2138397629
1.3.6.1.2.1.25.2.3.1.4.4 : 8192
1.3.6.1.2.1.25.2.3.1.5.4 : -1744847105
Descr : E:\ Label:Shared Disk Serial Number 58745973
Size : -1744847105
Used : -2138397629
Alloc : 8192
Perf data : 'E:\_Label:Shared_Disk__Serial_Number_58745973'=-16315GB;-10650;-126 47;0;-13312
E:\ Label:Shared Disk Serial Number 58745973: 123%used(-16315GB/-13312GB) (>95% ) : CRITICAL | 'E:\_Label:Shared_Disk__Serial_Number_58745973'=-16315GB;-10650;- 12647;0;-13312
[martinp@4rdr-vs ~]$ /usr/local/nagios/libexec/check_snmp_storage.pl -H 172.31.120.16 -G -C RMCPUB --v2c -m ^E: -w 80 -c 95 -f -v
Alarm at 15
SNMP v2c login
Filter : ^E:
OID : 1.3.6.1.2.1.25.2.3.1.3.3, Desc : D:\ Label:IR2_SSS_X64FREV_EN-US_DV5 Serial Number ca57887
OID : 1.3.6.1.2.1.25.2.3.1.3.5, Desc : Virtual Memory
OID : 1.3.6.1.2.1.25.2.3.1.3.2, Desc : C:\ Label: Serial Number 82d5868c
OID : 1.3.6.1.2.1.25.2.3.1.3.4, Desc : E:\ Label:Shared Disk Serial Number 58745973
Name : E:\ Label:Shared Disk Serial Number 58745973, Index : 4
OID : 1.3.6.1.2.1.25.2.3.1.3.6, Desc : Physical Memory
OID : 1.3.6.1.2.1.25.2.3.1.3.1, Desc : A:\
storages selected : 1
1.3.6.1.2.1.25.2.3.1.6.4 : -2138397629
1.3.6.1.2.1.25.2.3.1.4.4 : 8192
1.3.6.1.2.1.25.2.3.1.5.4 : -1744847105
Descr : E:\ Label:Shared Disk Serial Number 58745973
Size : -1744847105
Used : -2138397629
Alloc : 8192
Perf data : 'E:\_Label:Shared_Disk__Serial_Number_58745973'=-16315GB;-10650;-12647;0;-13312
E:\ Label:Shared Disk Serial Number 58745973: 123%used(-16315GB/-13312GB) (>95%) : CRITICAL | 'E:\_Label:Shared_Disk__Serial_Number_58745973'=-16315GB;-10650;-12647;0;-13312
[martinp@4rdr-vs ~]$

Regards.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Hard disk showing 123% used

Post by scottwilkerson »

Altheus wrote:

Code: Select all

1.3.6.1.2.1.25.2.3.1.6.4 : -2138397629
1.3.6.1.2.1.25.2.3.1.4.4 : 8192
1.3.6.1.2.1.25.2.3.1.5.4 : -1744847105
As I suspected, SNMP on this system is returning negative numbers which does happen frequently in SNMP with very large disks, there isn't going to be any way to get correct results like this.

I would recommend using an agent such as NCPA or NSClient++, or you could use WMI with the Wizard after the setup in the doc below

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked