1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/usr.sbin/bsnmpd/modules/snmp_hostres
Mikolaj Golub aebd8de674 hrStorageSize and hrStorageUsed are 32 bit integers, reporting a fs
size and usage in hrStorageAllocationUnits. If the file system has
more than 2^31 allocations it can not be shown correctly and the
meters are useless.

In such cases follow net-snmp behaviour and increase
hrStorageAllocationUnits so the values fit under INT_MAX.

PR:		bin/177183
Submitted by:	Eugene Grosbein egrosbein rdtc.ru
MFC after:	2 weeks
2013-03-25 19:12:36 +00:00
..
BEGEMOT-HOSTRES-MIB.txt
hostres_begemot.c
hostres_device_tbl.c
hostres_diskstorage_tbl.c In snmp_hostres, device_map table is used for consistent device table 2012-09-17 07:32:53 +00:00
hostres_fs_tbl.c
hostres_network_tbl.c
hostres_partition_tbl.c
hostres_printer_tbl.c
hostres_processor_tbl.c
hostres_scalars.c Do not count kernel threads as processes for hrSystemProcesses OID. 2012-09-11 08:33:16 +00:00
hostres_snmp.c
hostres_snmp.h
hostres_storage_tbl.c hrStorageSize and hrStorageUsed are 32 bit integers, reporting a fs 2013-03-25 19:12:36 +00:00
hostres_swinstalled_tbl.c
hostres_swrun_tbl.c Spelling. 2012-09-11 08:28:58 +00:00
hostres_tree.def
Makefile
snmp_hostres.3