Changing from Console Tab to Graph Tab fails

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
robocp01
Posts: 28
Joined: Mon Sep 21, 2009 3:59 pm
Location: Chalottesville, Va.

Changing from Console Tab to Graph Tab fails

Post by robocp01 »

I'm new to Cacti and I'm running Version 0.8.7e and have applied the latest patches. So far I've learned quite a bit about the product and have it working pretty successfully. I'm having one problem though in my test environment. When I click on the Graphs tab, located at the top of the screen, after I've been on the console tab.

The web browser tries to load http://labpracacti/cacti/graph_view.php, but it takes forever and eventually fails. If i close my browser and come back in to Cacti, I can click on the Graphs links and my Graph Tree opens almost instantly. If I go back to the console tab and click back on the graphs tab I get the same problem.

I'm running this test machine on a Window 2008 Virtual Server on an ESX host. I've got two processors assigned and in looking at resource's appears that I'm ok there. Anyone have any ideas.
robocp01
Posts: 28
Joined: Mon Sep 21, 2009 3:59 pm
Location: Chalottesville, Va.

Update

Post by robocp01 »

I'm still having this problem, anyone have any ideas on what to try. Log's to check etc. I have monitor working and if I click on one of the servers I'm testing with the graphs display comes up promptly. Or I use the indivdual graphs under graph management, graphs display promptly. It's only after I've left the graphs screen, click on console, then back to the graph tab that it fails. It fails if I click on any other tab at the top, whether it be discover, monitor, or thold.

Any help on what to look at would be great.

Thanks.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

I'm also having the same problem... but to work around it I comment this lines out

Code: Select all

/* setup tree selection defaults if the user has not been here before */
/*if ($_REQUEST["action"] == "tree") {
	if (!isset($_GET["tree_id"])) {
		if (isset($_SESSION["sess_graph_view_last_tree"])) {
			header("Location: " . $_SESSION["sess_graph_view_last_tree"]);
			exit;
		}else{
			$first_branch = find_first_folder_url();

			if (!empty($first_branch)) {
				header("Location: $first_branch");
				exit;
			}
		}
	}
}*/
Is not pretty but it works

ANYONE on This..... Noticed the the problem began after activating the Plugin Infrastructure..... without it, Cacti graph tab works beautifully...

Thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Any errors in cacti.log when you click on graphs?
2) Occurs while logged into the cacti site or as a guest?
3) Could enable php error logging in php.ini
4) Any errors in the web server logs?
bebbo
Posts: 1
Joined: Sun Nov 29, 2009 5:03 pm

Post by bebbo »

Sorry for warming this old thread.

1st: this issue is not only windows related, it is php-cgi related - it hit me using centOs 5.3 using php-cgi with my web server.

1) Any errors in cacti.log when you click on graphs?
no errors

2) Occurs while logged into the cacti site or as a guest?
both
3) Could enable php error logging in php.ini
does not help

4) Any errors in the web server logs?
no errors

----

What happens is an endless redirect to the same page:

Code: Select all

...
123.123.123.123 - dauser [29/Nov/2009:21:37:43 +0100] "GET /cacti/graph_view.php HTTP/1.1" 302 53 "https://www.daServer.xy/cacti/graph_settings.php" "Mozilla/5.0"
123.123.123.123 - dauser [29/Nov/2009:21:37:43 +0100] "GET /cacti/graph_view.php HTTP/1.1" 302 53 "https://www.daServer.xy/cacti/graph_settings.php" "Mozilla/5.0"
123.123.123.123 - dauser [29/Nov/2009:21:37:44 +0100] "GET /cacti/graph_view.php HTTP/1.1" 302 53 "https://www.daServer.xy/cacti/graph_settings.php" "Mozilla/5.0"
...

I assume that it is caused by using non standard CGI variables like HTTP_REFERER (non standard = not specified in CGI 1.1) which are unset.

Bebbo
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests