Can I recommend upgrading to 3.3.1 ? It's best not to mix and match files from different versions.

Vladimir

On Thu, 8 Mar 2012, Ron Cavallo wrote:


Looking for some help on the below. If I upgrade I get functions.php and 
graph.php errors that look to prevent the frontend from displaying ANY
graphs at all. The errors I am getting are below. For now, I have downgraded 
back to 2.1.8. Interestingly enough, when I use the 2.1.8 versions
of those files mixed into the 2.2.0 version, everything looks to be working, 
but I didn't want to leave it that way...

Ron Cavallo
Sr. Director, Infrastructure
Saks Fifth Avenue / Saks Direct
12 East 49th Street
New York, NY 10017
212-451-3807 (O)
212-940-5079 (fax)
646-315-0119(C)
www.saks.com
 


_____________________________________________
From:   Ron Cavallo 
Sent:   Wednesday, March 07, 2012 10:39 AM
To:     ganglia-general@lists.sourceforge.net
Subject:        Upgrade to 2.2.0 frontend

Hey there everyone. Just a note that I tried upgrading from 2.1.8 to 2.2.0 web 
frontend.

It worked, with the following caveats:

Copying and using my conf.php from my old installation was needed (But that's 
expected)

Copying and using functions.php and graph.php from the old version into the new 
version was needed (too many errors).


Here's some of the errors I was getting:

Graph.php

[Wed Mar 07 10:24:31 2012] [error] [client 10.32.141.153] PHP Notice:  
Undefined index:  overlay_nagios_events in
/var/www/html/ganglia/graph.php on line 625, 
referer:http://ganglia.saksdirect.com/graph_all_periods.php?c=SaksGanglia&h=sd1ggl01lx.saksdirect.com&v=2477620&m=mem_buffers&r=2-hour&z=small&jr=&js=&;
st=1331133670&vl=KB&ti=Memory%20Buffers&z=large

[Wed Mar 07 10:24:31 2012] [error] [client 10.32.141.153] PHP Notice:  
Undefined index:  overlay_nagios_events in
/var/www/html/ganglia/graph.php on line 625, 
referer:http://ganglia.saksdirect.com/graph_all_periods.php?c=SaksGanglia&h=sd1ggl01lx.saksdirect.com&v=2477620&m=mem_buffers&r=2-hour&z=small&jr=&js=&;
st=1331133670&vl=KB&ti=Memory%20Buffers&z=large

[Wed Mar 07 10:24:31 2012] [error] [client 10.32.141.153] PHP Notice:  
Undefined index:  overlay_nagios_events in
/var/www/html/ganglia/graph.php on line 625, 
referer:http://ganglia.saksdirect.com/graph_all_periods.php?c=SaksGanglia&h=sd1ggl01lx.saksdirect.com&v=2477620&m=mem_buffers&r=2-hour&z=small&jr=&js=&;
st=1331133670&vl=KB&ti=Memory%20Buffers&z=large

[Wed Mar 07 10:24:31 2012] [error] [client 10.32.141.153] PHP Notice:  
Undefined index:  overlay_nagios_events in
/var/www/html/ganglia/graph.php on line 625, 
referer:http://ganglia.saksdirect.com/graph_all_periods.php?c=SaksGanglia&h=sd1ggl01lx.saksdirect.com&v=2477620&m=mem_buffers&r=2-hour&z=small&jr=&js=&;
st=1331133670&vl=KB&ti=Memory%20Buffers&z=large

[Wed Mar 07 10:24:31 2012] [error] [client 10.32.141.153] PHP Notice:  
Undefined index:  overlay_nagios_events in
/var/www/html/ganglia/graph.php on line 625, 
referer:http://ganglia.saksdirect.com/graph_all_periods.php?c=SaksGanglia&h=sd1ggl01lx.saksdirect.com&v=2477620&m=mem_buffers&r=2-hour&z=small&jr=&js=&;
st=1331133670&vl=KB&ti=Memory%20Buffers&z=large

Functions.php

[Wed Mar 07 10:12:29 2012] [error] [client 10.32.141.153] PHP Warning:  in_array() [<a 
href='function.in-array'>function.in-array</a>]: Wrong
datatype for second argument in /var/www/html/ganglia/functions.php on line 
900, referer:
http://ganglia.saksdirect.com/?r=2-hour&cs=&ce=&m=&s=by+name&c=&tab=m&vn=

[Wed Mar 07 10:12:29 2012] [error] [client 10.32.141.153] PHP Warning:  in_array() [<a 
href='function.in-array'>function.in-array</a>]: Wrong
datatype for second argument in /var/www/html/ganglia/functions.php on line 
903, referer:
http://ganglia.saksdirect.com/?r=2-hour&cs=&ce=&m=&s=by+name&c=&tab=m&vn=

[Wed Mar 07 10:12:29 2012] [error] [client 10.32.141.153] PHP Warning:  in_array() [<a 
href='function.in-array'>function.in-array</a>]: Wrong
datatype for second argument in /var/www/html/ganglia/functions.php on line 
906, referer:
http://ganglia.saksdirect.com/?r=2-hour&cs=&ce=&m=&s=by+name&c=&tab=m&vn=

[Wed Mar 07 10:12:29 2012] [error] [client 10.32.141.153] PHP Warning:  in_array() [<a 
href='function.in-array'>function.in-array</a>]: Wrong
datatype for second argument in /var/www/html/ganglia/functions.php on line 
909, referer:
http://ganglia.saksdirect.com/?r=2-hour&cs=&ce=&m=&s=by+name&c=&tab=m&vn=

[Wed Mar 07 10:12:29 2012] [error] [client 10.32.141.153] PHP Warning:  in_array() [<a 
href='function.in-array'>function.in-array</a>]: Wrong
datatype for second argument in /var/www/html/ganglia/functions.php on line 
913, referer:
http://ganglia.saksdirect.com/?r=2-hour&cs=&ce=&m=&s=by+name&c=&tab=m&vn=

[Wed Mar 07 10:12:29 2012] [error] [client 10.32.141.153] PHP Warning:  in_array() [<a 
href='function.in-array'>function.in-array</a>]: Wrong
datatype for second argument in /var/www/html/ganglia/functions.php on line 918, referer: 
http://ganglia.saksdirect.com/?r=2-hour&cs=&ce=&;


Ron Cavallo
Sr. Director, Infrastructure
Saks Fifth Avenue / Saks Direct
12 East 49th Street
New York, NY 10017
212-451-3807 (O)
212-940-5079 (fax)
646-315-0119(C)
www.saks.com
 


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to