This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

64bit Counters for SNMP

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
MorfiusX
NewUser
NewUser
Posts: 3
Joined: 25 Jun 2012 15:20
Status: Offline

64bit Counters for SNMP

Post by MorfiusX »

I have been trying to configure Cacti to monitor my N4F installations. When I poll 'hrStorage*', the values are limited to 2147483647. I think this is caused by the counter being a 32bit integer. This causes the size calculation to limit at 1TB. (size * allocation = bytes) (2147483647 * 512 = 1099511600000B = 1TB)

Is it possible to have these types changed to a 64bit integer (Integer64) on the 64bit systems to allow the values to be properly polled?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: 64bit Counters for SNMP

Post by alexey123 »

As for me:
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /mnt/disk, type: ufs, dev: /dev/ufsid/4f42425a89475464
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 38946054
and
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 4096 Bytes

Code: Select all

df -h
Filesystem                     Size    Used   Avail Capacity  Mounted on
/dev/ufsid/4f42425a89475464    148G     87G     49G    64%    /mnt/disk
Disk: HDS722516VLAT80

Why you have 512 bytes?
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

Post Reply

Return to “Suggestions & Requests”