Threshold link not working

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
anuraganuj
Cacti User
Posts: 70
Joined: Tue Feb 21, 2006 9:50 am

Threshold link not working

Post by anuraganuj »

In thresholds if you click in a link you have
Graphs-->Thresholds-->PC-->Advanced ping

in this Threhold URL is not working.this URL is not valid.pls help
Attachments
Threshold.zip
(17.76 KiB) Downloaded 261 times
User avatar
nahun
Cacti User
Posts: 92
Joined: Wed Feb 15, 2006 11:27 pm
Location: Idaho
Contact:

Post by nahun »

I never noticed that before. Looks like the function just needs to be changed. I found it I think in setup.php, but I don't know what to change, I'm still learning PHP :P
[size=75]Solaris 10 x86 [color=red][b]||[/b][/color] Cacti - 0.8.7 [color=red][b]||[/b][/color] MySQL - 5.0.45 [color=red][b]||[/b][/color] PHP - 5.2.6 [color=red][b]||[/b][/color] RRDTool - 1.2.23 [color=red][b]||[/b][/color] NET-SNMP - 5.4.1 [color=red][b]||[/b][/color] Syslog-ng 2.0.5
[url=http://www.indigo-networks.com]indigo-networks.com[/url][/size]
anuraganuj
Cacti User
Posts: 70
Joined: Tue Feb 21, 2006 9:50 am

bug in functions.php

Post by anuraganuj »

i had my Graphs-->thresholds--> | Graph title |

link not working. when u navigate thru threshold Tab-->Graph

i modified a function in lib/functions.php

Modified:
function get_browser_query_string() {
if (!empty($_SERVER["REQUEST_URI"])) {
return $_SERVER["REQUEST_URI"];
---> //return basename($_SERVER["REQUEST_URI"]);
}else{
return basename($_SERVER["PHP_SELF"]) . (empty($_SERVER["QUERY_STRING"]) ? "" : "?" . $_SERVER["QUERY_STRING"]);
}
}
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests