Why is rrd_maximum for traffic always 1,000,000 on DZS ONT
Moderators: Developers, Moderators
Why is rrd_maximum for traffic always 1,000,000 on DZS ONT
We are trying to graph traffic for DZS ONTs but the rrd_maximum for traffic_in and traffic_out always gets set to 1,000,000 even though the Speed shows 1000000000. Hight Speed shows 1. When there is more than 8M of traffic, the graphs show nan. Any help will be appreciated. Thank you.
- TheWitness
- Developer
- Posts: 17111
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Why is rrd_maximum for traffic always 1,000,000 on DZS ONT
If the ifHighSpeed is reporting improperly, reach out to the hardware vendor to request as to why this is happening. In the mean time, it's going to be more than likely you need to manually adjust the rrdtool max value for both the inbound and outbound data sources. The way you do that is pretty strait forward.
1. Locate the RRDfile name
2. Run the rrdtool info $rrdfile command to see what the current max-value is.
3. Run the rrdtool tune $rrdfile -a traffic_in:somevalue -a traffic_out:somevalue to increase the max value to what makes sense for the interface in question.
It must also be said that you should be using 64bit counters. Don't use 32bit graphs in 2025 unless you are monitoring poor old windows, where Microsoft has not invested in their snmpd package in over 20 years, because it's pointless (due to the underlying monitoring architecture not supporting 64bit numbers, yea no kidding, even in 2025!).
1. Locate the RRDfile name
2. Run the rrdtool info $rrdfile command to see what the current max-value is.
3. Run the rrdtool tune $rrdfile -a traffic_in:somevalue -a traffic_out:somevalue to increase the max value to what makes sense for the interface in question.
It must also be said that you should be using 64bit counters. Don't use 32bit graphs in 2025 unless you are monitoring poor old windows, where Microsoft has not invested in their snmpd package in over 20 years, because it's pointless (due to the underlying monitoring architecture not supporting 64bit numbers, yea no kidding, even in 2025!).
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?
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?
Re: Why is rrd_maximum for traffic always 1,000,000 on DZS ONT or ZNID
Before seeing the previous reply, we found that deleting rrd_maximum from the Data Query seems to make this work; see attached screenshot. We are not sure what the consequences of this are yet, but if it saves us from having to fix lots of rrd files, this is what we will try. Please let us know if this will cause problems or if there is a simple way of fixing lots of rrd files without running the rrdtool tune command on each one at a time. Thank you.
- TheWitness
- Developer
- Posts: 17111
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Why is rrd_maximum for traffic always 1,000,000 on DZS ONT
Yea, if you have a vendor that provides an inaccurate ifSpeed or ifHighSpeed, all bet's are off.
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?
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?
Who is online
Users browsing this forum: No registered users and 9 guests