Yes you can comment out that non-existent function call :-(. I am prepping a 2.2.0 which has that fixed if you'd like to try it out. New things in 2.2.0 are built-in Nagios integration, Compare hosts across all metrics, Aggregate graph decomposition, Views have been moved to grid view etc. You can take a look at how it looks here
http://fjrkr5ab.joyent.us/ganglia-2.0/ Vladimir On Tue, 25 Oct 2011, Jeff Blaine wrote: > Alex, thanks for the reply. > >> try 'make conf_default.php' >> > > html:rcf-monitor # make conf_default.php > make: `conf_default.php' is up to date. > html:rcf-monitor # > > ?? > >> Which version of PHP do you have? >> >> JSON support has been implemented in several ways in PHP, and gweb tries to >> use any which are available. >> 1. native JSON support or PECL JSON module (written in C, either in core >> PHP or added as a .so file later) >> 2. Services_JSON PEAR module (written in PHP, installed via PEAR) >> >> Run 'php -i | grep json'. If you see 'json support => enabled', then >> you're done. >> Otherwise see http://pecl.php.net/package/json. > > Solved: yum install php-pecl-json (found in EPEL) > >>> /var/log/httpd/error_log shows this: >>> >>> [Mon Oct 24 21:35:25 2011] [error] [client 172.31.58.193] >>> PHP Warning: include_once() [<a >>> href='function.include'>function.include</a>]: Failed opening >>> '/var/www/html/lib/functions.php' for inclusion >>> (include_path='/var/www/html/lib:.:/usr/share/pear:/usr/share/php') >>> in /var/www/html/functions.php on line 10, referer: >>> http://rcf-monitor.our.org/?m=load_one&r=hour&s=by%20name&hc=4&mc=2 >>> >>> Any advice would be great. There's no ./lib/functions.php >>> yet './functions.php' is trying to load one. >> >> Does line 10 of your functions.php look like this? >> https://github.com/vvuksan/ganglia-misc/blob/master/ganglia-web/functions.php#L10 >> That line is loading the wrapper code to use the PEAR JSON module if the >> native version isn't available. But it's not checking if the PEAR JSON >> module is actually available. If it's not, we should probably blow up with >> an error message at this point. Still, I'm not sure how that would produce >> the error message your reporting so there may be more going on. > > No, it looks like this, from the 2.1.8 official tarball: > > include_once ( dirname(__FILE__) . "/lib/functions.php" ); > include_once ( dirname(__FILE__) . "/lib/json.php" ); > > Clearly the functions.php is the cause of the error (which > still persists). I just need to know that commenting it out > is the right thing to do... > > Jeff > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general