Threshold not able to add elements

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
greenskidog
Posts: 2
Joined: Wed Jun 28, 2006 2:02 pm

Threshold not able to add elements

Post by greenskidog »

I am running Cacti 0.8.6h on Windows 2003. I installed the Threshold plugin and it shows up as a tab and in the console, but when I go to add elements through 'Data Sources' -> 'hostname' -> 'Template Name' the page never loads completely and I am not able to add threshold information. Any ideas? I do have other plugins working (monitor and weathermap).
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Post by AndyStewart »

I had this problem as well.

open up thold.php in an editor and go to line 131 (or there abouts) - you should find this line of code:
<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">
Delete it, comment it out, or whatever - you'll find the page loads then - it just means you want see the little preview graph at top of page.

For some reason it just sticks on loading the page, and you then need to stop/restart the web service (windows) on the box to get it working again.
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest