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
Threshold link not working
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 70
- Joined: Tue Feb 21, 2006 9:50 am
Threshold link not working
- Attachments
-
- Threshold.zip
- (17.76 KiB) Downloaded 261 times
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
[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]
[url=http://www.indigo-networks.com]indigo-networks.com[/url][/size]
-
- Cacti User
- Posts: 70
- Joined: Tue Feb 21, 2006 9:50 am
bug in functions.php
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"]);
}
}
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"]);
}
}
Who is online
Users browsing this forum: No registered users and 0 guests