Cacti 0.8.6 - 'cacti' 'cactiuser' MySQL duplcate issues?
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I'm going to grap a few Diet Rite's be ready by 5:20 EDT (about 9 minutes).
TheWitness
TheWitness
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Beam me up scotty? You call me...
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?
TheWitness,
I am using the latest FC2 release of rrdtool - v1.0.49
From my understanding even if the output pipe from rrdtool is not returning correctly then this should not stop the rrdtool from updating the RRD files. This can be seem when rrdtool is piped to a file - i.e. change:
to
This would mean the output is piped to the log file rather than the expected output that Cacti is expecting. With this I can see the results are similar - some RRD files are updated and others not (by checking file timestamp s- even though the output in the Cacti DEBUG logs are empty for the RRD2CACTI entries. However these entries are seen in the /tmp/rrdtool.log file instead.
Should this not indicate that the problem is not with just expecting the output of the rrdtool command?
I will try those changes you suggest in the morning - or use the new pre-release version.
Regards,
Mon
I am using the latest FC2 release of rrdtool - v1.0.49
From my understanding even if the output pipe from rrdtool is not returning correctly then this should not stop the rrdtool from updating the RRD files. This can be seem when rrdtool is piped to a file - i.e. change:
Code: Select all
$rrd_struc["fd"] = proc_open(read_config_option("path_rrdtool") . " -", $rrd_des, $rrd_pipes);
Code: Select all
$rrd_struc["fd"] = proc_open(read_config_option("path_rrdtool") . " - > /tmp/rrdtool.log", $rrd_des, $rrd_pipes);
Should this not indicate that the problem is not with just expecting the output of the rrdtool command?
I will try those changes you suggest in the morning - or use the new pre-release version.
Regards,
Mon
'They'll be sorry. They'll be sorry if I die - except that I can't. Whatever you do it ends up raining. What's it all for? What's the point of it all? And if it hasn't got a point, what's the point of that?'
Monkey (2:2)
Monkey (2:2)
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Mon,
The issue appears to be multifaceted. I am making changes as we speak. Tried to reach you via MSM, no luck. I will attempt to work with BadKarma tonight.
TheWitness
The issue appears to be multifaceted. I am making changes as we speak. Tried to reach you via MSM, no luck. I will attempt to work with BadKarma tonight.
TheWitness
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?
OK - I have updated my Cacti and Cactid system to cacti-0.8.6a-pre20040921.tar.gz and cacti-cactid-0.8.6a-pre20040921.tar.gz respectively.
At the moment the graphs seems to be updating OK!
I will continue to monitor the system. Hopefully it will be stable and I can continue to check out the other features of 0.8.6!
TheWitness - what changes were made in the new build to correct this issue?
Regards,
Mon
At the moment the graphs seems to be updating OK!
I will continue to monitor the system. Hopefully it will be stable and I can continue to check out the other features of 0.8.6!
TheWitness - what changes were made in the new build to correct this issue?
Regards,
Mon
'They'll be sorry. They'll be sorry if I die - except that I can't. Whatever you do it ends up raining. What's it all for? What's the point of it all? And if it hasn't got a point, what's the point of that?'
Monkey (2:2)
Monkey (2:2)
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Mon,
Changed the two RRDTool pipes to blocking I/O and implemented what is referred to as a "stream_select" to wait on RRDTool to provide feedback prior to reading the pipe. The reason it was intermittant was because sometime RRD was faster than Cacti and other times Cacti was faster than RRD tool.
In the case where Cacti was faster than RRD, the Output pipe from RRDTool to Cacti would fill up causing the RRDTool process to hang.
All changes were made to the RRD.php file in the lib directory.
TheWitness
Changed the two RRDTool pipes to blocking I/O and implemented what is referred to as a "stream_select" to wait on RRDTool to provide feedback prior to reading the pipe. The reason it was intermittant was because sometime RRD was faster than Cacti and other times Cacti was faster than RRD tool.
In the case where Cacti was faster than RRD, the Output pipe from RRDTool to Cacti would fill up causing the RRDTool process to hang.
All changes were made to the RRD.php file in the lib directory.
TheWitness
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?
So that's why when I turned the log level on debug the graphs were updated. On this case, the cacti was slower and allowed rrd to finish
I installed cacti on 2 machines with fedora core 1 ( identically ) but one has cpu at 2.80 ghz with HT and the other is at 1Ghz. On the 1Ghz there were no problems with cacti 0.8.6 but on the 2.80Ghz there were very few updates ( one in a few hours )
Nice work.
I installed cacti on 2 machines with fedora core 1 ( identically ) but one has cpu at 2.80 ghz with HT and the other is at 1Ghz. On the 1Ghz there were no problems with cacti 0.8.6 but on the 2.80Ghz there were very few updates ( one in a few hours )
Nice work.
TheWitness,
OK - thanks for the explanation on how it was resolved.
Just for reference - I don't know whether this makes any difference but my Fedora Core 2 systems is a dual CPU system.
Thanks for all your hard work! Cacti is the dogs wotsits!
Keep up the excellent work!
Regards,
Mon
OK - thanks for the explanation on how it was resolved.
Just for reference - I don't know whether this makes any difference but my Fedora Core 2 systems is a dual CPU system.
Thanks for all your hard work! Cacti is the dogs wotsits!
Keep up the excellent work!
Regards,
Mon
'They'll be sorry. They'll be sorry if I die - except that I can't. Whatever you do it ends up raining. What's it all for? What's the point of it all? And if it hasn't got a point, what's the point of that?'
Monkey (2:2)
Monkey (2:2)
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
For HostMib stuff, please follow the instructions in the attached and your system performance will improve significatly (if you use them).
TheWitness
http://www.cacti.net/downloads/docs/htm ... eries.html
TheWitness
http://www.cacti.net/downloads/docs/htm ... eries.html
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
All,
Please read and heed. More information in the next few days.
http://forums.cacti.net/viewtopic.php?t=4908
TheWitness
Please read and heed. More information in the next few days.
http://forums.cacti.net/viewtopic.php?t=4908
TheWitness
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?
Just to notice, the graph bug still exists for me.
Normal hosts get graphed fine, all right there.
But if I poll Switches or Ciscos (especially 3640) it somtines doesn´t paint the graph. I increased the timeout an retry time, but it didn´t help.
I went back to 0.8.5a now, and all my graphs are working fine again.
Just an example, from one of my switches. On friday the 17th I updatet to 0.86. The big white spaces at friday and monday are downtimes, while fixing something or dating up again.
Hope I´m not alone with this problem again.
Normal hosts get graphed fine, all right there.
But if I poll Switches or Ciscos (especially 3640) it somtines doesn´t paint the graph. I increased the timeout an retry time, but it didn´t help.
I went back to 0.8.5a now, and all my graphs are working fine again.
Just an example, from one of my switches. On friday the 17th I updatet to 0.86. The big white spaces at friday and monday are downtimes, while fixing something or dating up again.
Hope I´m not alone with this problem again.
- Attachments
-
- Cacti error
- dlink_cacti_graph.JPG (91.5 KiB) Viewed 2944 times
Who is online
Users browsing this forum: No registered users and 2 guests