Apparently the SNMP counters on the system aren't accounting for that.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".
check_snmp_mem vs check_xi_service_snmp_linux_storage
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_snmp_mem vs check_xi_service_snmp_linux_storage
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_snmp_mem vs check_xi_service_snmp_linux_storage
It is possible to change the calculation in that plugin with the -T command
Also there is this flag, which is likely what you are looking for
Code: Select all
-T, --type=TYPE
pl : calculate percent left
pu : calculate percent used (Default)
bl : calculate MegaBytes left
bu : calculate MegaBytes usedCode: Select all
-R, --reserved=INTEGER
% reserved blocks for superuser
For ext2/3 filesystems, it is 5% by defaultRe: check_snmp_mem vs check_xi_service_snmp_linux_storage
scottwilkerson wrote: Also there is this flag, which is likely what you are looking forCode: 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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_snmp_mem vs check_xi_service_snmp_linux_storage
Great!mbeebe wrote:That's absolutely perfect; exactly what we're looking for. You rock as always,
-- Mike Beebe
Locking thread