Manual Threshold fails
Moderators: Developers, Moderators
Manual Threshold fails
I am using cacti 0.8.6j and recently upgraded thold plugin to 0.3.1
Since then, I am not able to create manual thresholds. Clicking on the data source -> template name, the server freezes
Auto thresholds are working, thresholds are checked and emails are sent when the threshold is trigerred.
It is working on a window box.
Any idea?
Since then, I am not able to create manual thresholds. Clicking on the data source -> template name, the server freezes
Auto thresholds are working, thresholds are checked and emails are sent when the threshold is trigerred.
It is working on a window box.
Any idea?
I'm having the same type of freezing with thold 0.3.2
Cacti 0.8.6j + Plugin Arch 1.1
The URL that seems to be hanging is http://servername/cacti/plugins/thold/t ... &hostid=43
Obviously the RRA and HOSTID parameters are different in each case.
Is there are any extra permissions that need to be changed vs the standard windows install of cacti?
Gaurhoth
Cacti 0.8.6j + Plugin Arch 1.1
The URL that seems to be hanging is http://servername/cacti/plugins/thold/t ... &hostid=43
Obviously the RRA and HOSTID parameters are different in each case.
Is there are any extra permissions that need to be changed vs the standard windows install of cacti?
Gaurhoth
Okay, so maybe this is NOT resolved. It seemed to work for a short while but now the same thing is happening again. Using Process Monitor (sysinternals), it looks like RRDTOOL is hanging with a Buffer Overflow whenever you bring up a THOLD related page that shows a graph.
Not sure what else to do to troubleshoot this. Anyone with an idea?
Gaurhoth
Not sure what else to do to troubleshoot this. Anyone with an idea?
Gaurhoth
As was stated earlier this is a known issue. What I did to fix it was edit thold.php and somewhere around line 130 there is a piece of code as follows:
<img id=graphimage 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">
Delete all of that code and replace it with:
That gets rid of the graph and fixed the problem for me. However, on my Win32 box my graphs starting showing up correctly in thold 0.3.2 when I could never get it to work in other versions of Thold. Too bad thold 0.3.2 has incorrect current values and isn't working for me which forced me to roll back to 0.3.0 where life is good.
<img id=graphimage 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">
Delete all of that code and replace it with:
That gets rid of the graph and fixed the problem for me. However, on my Win32 box my graphs starting showing up correctly in thold 0.3.2 when I could never get it to work in other versions of Thold. Too bad thold 0.3.2 has incorrect current values and isn't working for me which forced me to roll back to 0.3.0 where life is good.
Thold Current Values
Cigamit,
I'm glad you finally saw my post, I posted this in another thread and on another site for almost 2 weeks with no replies. I have screenshots below and a description of my issue:
After updating to 0.3.2 Thold is displaying incorrect numbers between the Threshold Management interface and each individual threshold. I have attached two pictures to better show what I'm describing.
For example on the Thold Mangement page where all thresholds are shown I have a data source with the value of 21.749. If I click on that threshold to look at its details it then shows that the value is 23.6425. Unfortunately the value from the main page that shows all thresholds is the one that is used to send e-mail alerts if a threshold is breached. What makes this unfortunate is that value does not match my graph values and it is incorrect. I have a 10Mb link that the management page reported as being at 11.2Mb at one point last week. This is not a CDEF issue becasue I have the same problem when I do not apply a CDEF to the results. The value on the details page for the threshold is the one that matches the Cacti graph and is correct. Am I the only person whose management values do not match their details page values?? Please help. I tried a fresh install of Thold but didn't help. I rolled back to 0.3.0 Thold and all is working correctly.
OS: Windows XP
Cacti: 0.8.6j
Plugin Arch: 1.1
Thold: 0.3.2
RRD: 1.2.15
PHP: 5.0.5
I'm glad you finally saw my post, I posted this in another thread and on another site for almost 2 weeks with no replies. I have screenshots below and a description of my issue:
After updating to 0.3.2 Thold is displaying incorrect numbers between the Threshold Management interface and each individual threshold. I have attached two pictures to better show what I'm describing.
For example on the Thold Mangement page where all thresholds are shown I have a data source with the value of 21.749. If I click on that threshold to look at its details it then shows that the value is 23.6425. Unfortunately the value from the main page that shows all thresholds is the one that is used to send e-mail alerts if a threshold is breached. What makes this unfortunate is that value does not match my graph values and it is incorrect. I have a 10Mb link that the management page reported as being at 11.2Mb at one point last week. This is not a CDEF issue becasue I have the same problem when I do not apply a CDEF to the results. The value on the details page for the threshold is the one that matches the Cacti graph and is correct. Am I the only person whose management values do not match their details page values?? Please help. I tried a fresh install of Thold but didn't help. I rolled back to 0.3.0 Thold and all is working correctly.
OS: Windows XP
Cacti: 0.8.6j
Plugin Arch: 1.1
Thold: 0.3.2
RRD: 1.2.15
PHP: 5.0.5
- Attachments
-
- Thold Individual Detail page
- thold1.jpg (14.7 KiB) Viewed 4214 times
-
- Thold management screen
- thold2.jpg (9.83 KiB) Viewed 4214 times
Run the poller in Medium mode to see the output of the script, and afterwards check what the script returns versus what thold and the graphs show.
The data on the thold page is exactly what is returned by the script (unless its a counter, then its the returned value minus the last value). What is shown on the details page is the average pulled from the rrd file.
RRD does some averaging depending on the graph templates, whether they are set to AVERAGE, LAST, or MAX I believe.
The data on the thold page is exactly what is returned by the script (unless its a counter, then its the returned value minus the last value). What is shown on the details page is the average pulled from the rrd file.
RRD does some averaging depending on the graph templates, whether they are set to AVERAGE, LAST, or MAX I believe.
Who is online
Users browsing this forum: No registered users and 1 guest