In 0.8.5a, when reading in a datasource that read:
freeMemory:8.385952E7
Would read into Cacti as
totalMemory:40353607
However, since upgrading, the values are not being translated... Has anybody else see this?
Thanks,
_DS
Exponential Data Not Working with 0.8.6a
Moderators: Developers, Moderators
-
- Posts: 40
- Joined: Thu Feb 26, 2004 10:30 am
- Location: Saint Louis
-
- Posts: 40
- Joined: Thu Feb 26, 2004 10:30 am
- Location: Saint Louis
Upgraded to 0.8.6b - Still Having Problems
This is still a problem in version 0.8.6b... Any assistance?
Thanks,
_DS
Thanks,
_DS
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
cmd.php or cactid or both?
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?
-
- Posts: 40
- Joined: Thu Feb 26, 2004 10:30 am
- Location: Saint Louis
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Dave,
Try changing the line in lib\poller.php from the following:
if (preg_match("/^([a-zA-Z0-9_-]+):([+-]?\d+(\.\d+)?)$/", $values[$i], $matches)) {
to the following:
if (preg_match("/^([a-zA-Z0-9_-]+):([+-0123456789Ee.]+)$/", $values[$i], $matches)) {
Let me know how it goes.
Larry
p.s. I both verified the error and corrected it with this line of code in my testing.
Try changing the line in lib\poller.php from the following:
if (preg_match("/^([a-zA-Z0-9_-]+):([+-]?\d+(\.\d+)?)$/", $values[$i], $matches)) {
to the following:
if (preg_match("/^([a-zA-Z0-9_-]+):([+-0123456789Ee.]+)$/", $values[$i], $matches)) {
Let me know how it goes.
Larry
p.s. I both verified the error and corrected it with this line of code in my testing.
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?
-
- Posts: 40
- Joined: Thu Feb 26, 2004 10:30 am
- Location: Saint Louis
Working Correctly Now
Larry,
Ahhh... Thank you!!! This line provides the fix that I was looking for!
As always, thank you for your help!
_DS
Ahhh... Thank you!!! This line provides the fix that I was looking for!
As always, thank you for your help!
_DS
Who is online
Users browsing this forum: No registered users and 1 guest