[Nagios-users] Issue configuring MRTG

2011-02-28 Thread Anand, Sakshi
All,

I am getting following error when configuring MRTG. I want to use it to measure 
bandwidth using Nagios.

checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... no
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes

** Ooops, one of many bad things happened:

   a)  You don't have the GD library installed.
   Get it from http://www.boutell.com, compile it and
   use either --with-gd-lib=DIR and --with-gd-inc=DIR to specify
   its location. You might also have to use --with-z-inc,
 --with-z-lib and --with-png-inc, --with-png-lib for gd
 versions 1.6 and higher.  Check config.log for more
   information on the problem.

   b)  You have the GD library installed, but not the gd.h
   header file.  Download the source (see above) and use
   --with-gd-inc=DIR to specify where the file can be found.

   c)  You have the library and the header file installed, but
   you also have a shared GD library in the same directory.
   Remove the shared library files and/or links (e.g.
   libgd.so.2.0.0, libgd.so and libgd.so.2).  This is especially
 likely if you're using a recent (post 1.8.4) version of GD
   and didn't configure it with --disable-shared.

   d)  You have gd library installed and also it's headers, but you are
   missing libpng (and headers) or freetype (and headers)
   (mrtg does not use freetype, but if your copy of gd is precompiled
   against it, you have to install it ...

Please help.

Thanks  Regards,
Sakshi Anand

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Issue configuring MRTG

2011-02-28 Thread Giles Coochey

On 28/02/2011 13:51, Anand, Sakshi wrote:

All,
I am getting following error when configuring MRTG. I want to use it 
to measure bandwidth using Nagios.


This seems like a MRTG problem, have you tried asking the MRTG Mailing 
list, or posting on the MRTG Web Forums?


--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null