|
From: Yves M. <yme...@li...> - 2004-11-18 15:42:32
|
> Greatings, > > I configured PerfParse with a simple ./configure Maybe an interesting > part of the output is this one: > --------------- > checking for gdlib-config... no > configure: WARNING: Could not find gdlib-config. This is probably the reason why you cannot have graphs. Do you have gd installed ? (gd and gd-devel if you are using packages) If yes, what version ? If you have gdlib-config installed, check the --with-gdlib_config_dir opt= ion for configure. And if you still have compilation problems, consider upgrading= to 0.103.2 that was released today :) > You will have to specify the options manually in CFLAGS and LDFLAGS whe= n > running make > ... > Configuration options: > Using glib2.0: 2.4.7 > --------------- > I thought it's not that horrible, cause he told me to use 2.4.7 This is OK :) > Now Nagios saves me every incoming service status in my MySQL-Database. > But only in the table perfdata_service_raw. Why not in > perfdata_service_bin and perfdata_service_metric? Probably because your plugins don't output performance data ? I let Ben o= r somebody else help you on that : I'm quite bad to help on that subject :) > The file perfgraph.cgi works fine too, but no graphs were created. gd > To do this, I should start the /usr/local/bin/perfparse.sh I edited the > file, cause some errors occured - files didn't exist, so I added them > manualy to the script: > ERROR_LOG=3D"/usr/local/etc/perfparse.log" > NAGIOS_LOCK_FILE=3D"/usr/local/nagios/var/nagios.lock" > PERF_FILE=3D"-" You can use the -c option and the $prefix/etc/perfparse.cfg.template file= for your configuration file. You can also use the --show_config option that prints= the options effectively used (the template config file may not be up to date) All the perfparse tools recognize the -c and --show_config options. > These values are okay (are they?) and no errors any longer. But it > doesnt create any picture (graphs) and I don't know, how this short cod= e > of the script would be able to do this... Try again with a correct configuration file :) > Quintessence: Everything works fine, but picture-generator and I didn't > receive any error messages. > > PS: > pp/database/version 0.15 > pp/perfparse/version 0.103.1 Upgrade to 0.103.2 where some minor bugs were fixed, including one on a p= roblem with gd :) > pp/perfparse/compilation date Nov 18 2004 10:27:02 > pp/uname/sysname Linux (Debian Sarge) > pp/uname/nodename badmax.mt.einsundeins.de > pp/uname/release 2.6.7-1-686 > pp/uname/version #1 Thu Jul 8 05:36:53 EDT 2004 > pp/uname/machine i686 > > Any ideas? Well, try again and tell us :) Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://perfparse.sf.net/ - |