Mrtg version 2.16.2 - How to Download and Install on Mac OS X
Thursday the 9th of September, 2010

    version 2.16.2

      View the most recent changes for the mrtg port at: mrtg.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for mrtg.
      The raw portfile for mrtg 2.16.2 is located here:
      http://mrtg.darwinports.com/dports/net/mrtg/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/mrtg


      The mrtg Portfile 54638 2009-07-30 17:26:45Z jberry macports.org $

      PortSystem 1.0

      Name: mrtg
      Version: 2.16.2

      Category: net
      Maintainers: ricci jberry
      Platform: darwin

      Description: The multi-router traffic grapher
      Long Description: MRTG is a tool to monitor the traffic load on network-links. It can also be used to gather and display a wide variety of time-series data.
      Homepage: http://www.mrtg.org/

      Master Sites: http://oss.oetiker.ch/mrtg/pub/ ftp://ftp.chg.ru/pub/networking/monitoring/mrtg/
      Checksums: md5 06de09c0ee0d35a0142afed5b275b4cd sha1 44f336c79e1418b59f5a25cb5cc03a82f983fdea rmd160 2d60324f6c3bcd64fcd6b626ec6a36d4d3c92604

      depends_lib port:gd2 port:libpng port:zlib

      configure.args --mandir=${prefix}/share/man --with-gd=${prefix} --with-z=${prefix} --with-png=${prefix}

      post-destroot {
      destroot.keepdirs ${destroot}${prefix}/var/run ${destroot}${prefix}/var/log ${destroot}${prefix}/var/cache/mrtg

      reinplace s|"/var|"${prefix}/var| ${destroot}${prefix}/bin/mrtg
      reinplace s|"/etc|"${prefix}/etc| ${destroot}${prefix}/bin/mrtg
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/mrtg
      % sudo port install mrtg
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching mrtg
      ---> Verifying checksum for mrtg
      ---> Extracting mrtg
      ---> Configuring mrtg
      ---> Building mrtg with target all
      ---> Staging mrtg into destroot
      ---> Installing mrtg
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using mrtg with these commands:
      %  man mrtg
      % apropos mrtg
      % which mrtg
      % locate mrtg

     Where to find more information:

    Darwin Ports



    Lightbox this page.