Thold Locking Up
Moderators: Developers, Moderators
Thold Locking Up
I recently went from a standard cacti install to the plugin version. I have reports, thold and monitor working and all of my old data is working and poller is working properly. I can autocreate a threshold for any given host and it is even alerting me properly. However, if I want to change settings for an individual host I'm having troubles. When I click on the RRD ID from the Thresholds page under Management in the Console tab it starts to load and then just sits there. I can close the window and after about 5 minutes I can open a new browser window and login to cacti. So basically thold is working but I can't click to edit any of my individual thresholds because it locks up the system. Any idea why this would be happening? Below is the URL of the page that is not finishing loading:
http://myserver/cacti/plugins/thold/tho ... ew_rrd=153
It just sits there withh the IE flag waving.
I am running a fresh copy of 0.8.6g with latest patches and the latest thold on a Windows XP SP2 machine.
After doing some research it looks like it's the rrd.php library that is causing the problem. When I took it out of the include statement in thold.php the page loaded but of course it had errors. As soon as I include the rrd.php file that is when it locks up.
http://myserver/cacti/plugins/thold/tho ... ew_rrd=153
It just sits there withh the IE flag waving.
I am running a fresh copy of 0.8.6g with latest patches and the latest thold on a Windows XP SP2 machine.
After doing some research it looks like it's the rrd.php library that is causing the problem. When I took it out of the include statement in thold.php the page loaded but of course it had errors. As soon as I include the rrd.php file that is when it locks up.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Check out http://www.cactiusers.org for Thold help.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
I am experiencing this as well where the page hangs when trying to load. I tried remarking out the following line but it did not help:
<img src="<?php echo $config["url_path"]; ?>graph_image.php?local_graph_id=<?php echo $graph ?>&rra_id=0&graph_start=-32400&graph_height=100&graph_width=300&graph_nolegend=true">
Is there another line I should remove or another fix for this?
Thanks!
<img src="<?php echo $config["url_path"]; ?>graph_image.php?local_graph_id=<?php echo $graph ?>&rra_id=0&graph_start=-32400&graph_height=100&graph_width=300&graph_nolegend=true">
Is there another line I should remove or another fix for this?
Thanks!
Yea tried that and no help. Oddly enough I managed to get the page to come up once or twice after trying over and over again. WHen it came up it still had the graph displayed at the top of the page even though I had remaked out that line which is what made me think I wasn't removing the right line. Anyone else have any thoughts on this?
Thanks!
Thanks!
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This has been a problem in the past when you have flawed graph logic. I provided some patch information to Tobi about this issue some time ago. What version of RRDtool are you using.
Oh, it happens most frequently when you are building a custom graph using the user interface. Kinda sucks, I found that it occurred while I was building Stack graphs real time with live data.
When it happens, you must restart Apache/IIS
TheWitness
Oh, it happens most frequently when you are building a custom graph using the user interface. Kinda sucks, I found that it occurred while I was building Stack graphs real time with live data.
When it happens, you must restart Apache/IIS
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?
I'm using RRDtool 1.2.15 (Installed with the Beta cacti Windows installer kit) In my case it seemed to affect everything from custom graphs to things like Advanced Ping. I restarted IIS dozens of times and would get it to come up maybe one out of twenty tries or so. But at least with it removed it comes up reliably now.
Who is online
Users browsing this forum: No registered users and 0 guests