Page 2 of 2

Re: check_snmp_mem vs check_xi_service_snmp_linux_storage

Posted: Wed Nov 13, 2019 5:26 pm
by scottwilkerson
mbeebe wrote:It's a Linux'ism: 5% of space is reserved for the root user so it can write to a volume even if it's "full".
Apparently the SNMP counters on the system aren't accounting for that.

Re: check_snmp_mem vs check_xi_service_snmp_linux_storage

Posted: Wed Nov 13, 2019 5:27 pm
by scottwilkerson
It is possible to change the calculation in that plugin with the -T command

Code: Select all

-T, --type=TYPE
   pl : calculate percent left
   pu : calculate percent used (Default)
   bl : calculate MegaBytes left
   bu : calculate MegaBytes used
Also there is this flag, which is likely what you are looking for

Code: Select all

-R, --reserved=INTEGER
   % reserved blocks for superuser
   For ext2/3 filesystems, it is 5% by default

Re: check_snmp_mem vs check_xi_service_snmp_linux_storage

Posted: Thu Nov 14, 2019 10:41 am
by mbeebe
scottwilkerson wrote: Also there is this flag, which is likely what you are looking for

Code: Select all

-R, --reserved=INTEGER
   % reserved blocks for superuser
   For ext2/3 filesystems, it is 5% by default

That's absolutely perfect; exactly what we're looking for. You rock as always,

-- Mike Beebe

Re: check_snmp_mem vs check_xi_service_snmp_linux_storage

Posted: Thu Nov 14, 2019 10:43 am
by scottwilkerson
mbeebe wrote:That's absolutely perfect; exactly what we're looking for. You rock as always,

-- Mike Beebe
Great!

Locking thread