Over 8Tbyte DiskSpace cant get correct TotalSpace

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

candlerb
Posts: 10
Joined: Tue Nov 16, 2010 6:38 am

Re: Over 8Tbyte DiskSpace cant get correct TotalSpace

Post by candlerb »

Is there a delay in the public svn repo on svn.cacti.net? It's over 8 hours since your post and I don't see the change in either branches/0.8.7 or branches/main
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Over 8Tbyte DiskSpace cant get correct TotalSpace

Post by TheWitness »

Not sure if there is something broken. Would have to check.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Over 8Tbyte DiskSpace cant get correct TotalSpace

Post by TheWitness »

Committed now SVN6879.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
candlerb
Posts: 10
Joined: Tue Nov 16, 2010 6:38 am

Re: Over 8Tbyte DiskSpace cant get correct TotalSpace

Post by candlerb »

I see it now. Thank you.
js888k
Posts: 18
Joined: Wed Mar 29, 2017 8:08 am

Re: Over 8Tbyte DiskSpace cant get correct TotalSpace

Post by js888k »

Just wanted to inform everyone that this issue is back in the Cacti v1.x code.

Total diskspace will only go up to 8 TB, even after applying the patched ss_host_disk.php.

Opened Issue #824 - https://github.com/Cacti/cacti/issues/824

JS
----
Jeff Singleton

- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Over 8Tbyte DiskSpace cant get correct TotalSpace

Post by Osiris »

In this case Issue #824 was unable to be fixed by the original patch. The issue is with the RFC for NetSNMP Host Resources Mib, and the specific agent. In the case of the agent, it reports the data as 32bit signed integers in two parts. There is the size or usage, and the storage allocation units, that when multiplied together provide the total number. To prevent overflows of the Net-SNMP INTEGER data (total/usage), the agent must report a false Storage Allocation Unit, and in this case the agent was not doing so. There is nothing Cacti can do to fix that.

This issue must be fixed in NetSNMP, and if there is a Specification Nazi there, they won't approve the workaround.
Before history, there was a paradise, now dust.
js888k
Posts: 18
Joined: Wed Mar 29, 2017 8:08 am

Re: Over 8Tbyte DiskSpace cant get correct TotalSpace

Post by js888k »

The custom user script found here works - https://docs.cacti.net/usertemplate:dat ... disk_usage
----
Jeff Singleton

- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Over 8Tbyte DiskSpace cant get correct TotalSpace

Post by Osiris »

Yes, this is correct. That is an SNMP agent extension, so it's not a standard MIB.
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests