From 234d7e7a0913a0492d4dd38c7529b9958ac9b01b Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 5 Aug 2009 15:33:45 +0000 Subject: [PATCH] git-svn-id: http://www.observium.org/svn/observer/trunk@441 61d68cd4-352d-0410-923a-c4978735b2b8 --- README | 92 +++++++++++++++++++++++++++--------------- scripts/get-jpgraph.sh | 11 +++-- 2 files changed, 66 insertions(+), 37 deletions(-) diff --git a/README b/README index 4084dd0173..963cc5c8f1 100644 --- a/README +++ b/README @@ -1,45 +1,71 @@ -Copyright (C) 2006-2009 Adam Armstrong +README FOR JPGRAPH 3.0.x +======================== - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. +This package contains JpGraph, an Object Oriented PHP5 Graph Plotting library. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. +The library is Copyright (C) 2001-2009 Aditus Consulting and +released under dual license QPL 1.0 for open source and educational +use and JpGraph Professional License for commercial use. - You should have received a copy of the GNU General Public License - along with this program. If not, see . +Please see full license details at http://www.aditus.nu/jpgraph/ -Please see COPYING for usage requirements and restrictions. +* -------------------------------------------------------------------- +* PHP4 IS NOT SUPPORTED in the 2.x or 3.x series +* -------------------------------------------------------------------- + +Requirements: +------------- +Miminum: +* PHP 5.1.0 or higher +* GD 2.0.28 or higher +Note: Earlier versions might work but is unsupported. -Introduction ------------- - -Observer is an auto-discovering network monitoring system. - -It's designed to be an easily-navigable interface to the health of your network. - -Planned Features ----------------- - -* CollectD Integration * In Progress -* Full IPv6 capabilities * In Progress -* Pseudowire (MPLS/L2TP) tracking * In Progress -* MPLS IP-VPN tracking * In Progress -* 95th and metered usage tracking * In Progress -* Nagios Integration * Too scary for contempation +Recommended: +* PHP >= 5.2.0 +* PHP Built-in GD library Installation ------------ +0. Make sure that the PHP version is compatible with the stated requirements + and that the PHP installation has support for the GD library. + Please run phpinfo() to check if GD library + is supported in the installation. + If the GD library doesn't seem to be installed + please consult the PHP manual under section "Image" for + instructions on where to find this library. Please refer to + the manual section "Verifying your PHP installation" + +1. Unzip and copy the files to a directory of your choice where Your + httpd sever can access them. + For a global site installation you should copy the files to + somewhere in the PHP search path. -Installation of Observer is currently not for the faint of heart! There is no automated -install script, so it'll probably take quite a bit of fiddling! +2. Check that the default directory paths in jpg-config.inc + for cache directory and TTF directory suits your installation. + Note1: The default directories are different depending on if + the library is running on Windows or UNIX. + Note2: Apache/PHP must have write permission to your cache + directory if you enable the cache feature. By default the cache + is disabled. -Please see http://www.observernms.org. +3. Check that all rest of the DEFINE in jpg-config.inc + is setup to your preference. The default should be fine + for most users. -Please email adama@memetic.org with any feature requests, bug reports or just to tell me -that you're using observer! +4. Read the chapters on installation in the manual. + +Documentation +------------- +The installation includes HTML documentation and reference guide for the +library. The portal page for all the documentation is +/docs/index.html + + +Bug reports and suggestions +--------------------------- +Should be reported using the the issue tracker at + +http://www.aditus.nu/bugtraq + + diff --git a/scripts/get-jpgraph.sh b/scripts/get-jpgraph.sh index 0593f3bb16..3c20930feb 100755 --- a/scripts/get-jpgraph.sh +++ b/scripts/get-jpgraph.sh @@ -1,6 +1,9 @@ #!/bin/bash -wget http://hem.bredband.net/jpgraph2/jpgraph-2.3.4.tar.gz -tar zxf jpgraph-2.3.4.tar.gz +mkdir jpgraph +cd jpgraph +wget http://hem.bredband.net/jpgraph2/jpgraph-3.0.2.tar.bz2 +tar jxf jpgraph-3.0.2.tar.bz2 rm -rf html/includes/jpgraph -mv jpgraph-2.3.4 html/includes/jpgraph -rm jpgraph-2.3.4.tar.gz +rm jpgraph-3.0.2.tar.bz2 +cd .. +mv jpgraph html/includes/jpgraph