LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Monitoring Applicaitons for my Linux (https://www.linuxquestions.org/questions/linux-newbie-8/monitoring-applicaitons-for-my-linux-500896/)

dragunu 11-12-2006 12:13 PM

Monitoring Applicaitons for my Linux
 
hello!

can you suggest some good data traffic monitoring software please?:) please note that my router does not support SNMP.

Distro is FC3

thanks:)

andrewdodsworth 11-12-2006 02:33 PM

NTOP is pretty good - nice set of graphs etc and easy to get going. More complicated but worth the effort if you want to monitor all sorts of stuff is MRTG. Although it is aimed at SNMP you can write your own scripts to monitor all sorts of stuff (I use it for UPS monitoring as well as netwrok stuff).

dragunu 11-12-2006 02:46 PM

thanks :)

i was trying to install mrtg but ran into this error:

Code:

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 for gdImageGd in -lgd... no
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no

** 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 ...

now i have followed all the steps found in http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

any hints?

thanks beforehand

drag

dragunu 11-12-2006 02:56 PM

Quote:

Originally Posted by dragunu
thanks :)

i was trying to install mrtg but ran into this error:

Code:

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 for gdImageGd in -lgd... no
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no

** 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 ...

now i have followed all the steps found in http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

any hints?

thanks beforehand

drag

the problem was solved by typing:
Code:

./configure --with-gd-lib=DIR and --with-gd-inc=DIR
where DIR = the dir where u have gd installed. ( default is /usr/local/src/gd* )

andrewdodsworth 11-13-2006 11:05 AM

If you like mrtg there's a very good web front end for it here: http://www.steveshipway.org/software/
They've also got quite a few add-ons for monitoring various other things.


All times are GMT -5. The time now is 11:19 PM.