Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

mrtg-traffic-sum (1)

Name

mrtg-traffic-sum - Builds monthly traffic summary

Synopsis

mrtg-traffic-sum [options...] config-file

-h, --help      display this help and exit
--version       output version information and exit
--catch=regexp  filter out things that match this in PageTop
--email=address email the result
--min=gigabytes minimal number of gigabites required

Description


mrtg-traffic-sum(1)              User Commands             mrtg-traffic-sum(1)



NAME
       mrtg-traffic-sum - Builds monthly traffic summary

SYNOPSIS
       mrtg-traffic-sum [options...] config-file

       -h, --help      display this help and exit
       --version       output version information and exit
       --catch=regexp  filter out things that match this in PageTop
       --email=address email the result
       --min=gigabytes minimal number of gigabites required

DESCRIPTION
       The  mrtg-traffic-sum goes through the mrtg logs for the targets in the
       the config file specified and builds the traffic  total  for  the  last
       month in Giga Bytes. (Note in communications Giga is 10^9).

       The result of this analysis can be sent via email to an address of your
       choice using the --email option.

       With the --catch option you can specify a regular expression which will
       be  matched  against  the contents of the PageTop settings. The regular
       expression should return a value into $1 and  possibly  into  $2.  This
       will  then  be  used as description for the appropriate traffic sum. By
       default the catch is set to:

       (?:description|port name):</td><td>([^< ]*?[^<]*?)</td

       By default only traffic which is over 500 gigabytes gets reported.  Use
       the --min switch to change this number.

AUTHOR
       Tobias Oetiker <tobi@oetiker.ch>

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       +-----------------------------+-----------------------------+
       |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
       +-----------------------------+-----------------------------+
       |Availability                 |diagnostic/mrtg              |
       +-----------------------------+-----------------------------+
       |Interface Stability          |Uncommitted                  |
       +-----------------------------+-----------------------------+
       |Standard                     |See standards(5).            |
       +-----------------------------+-----------------------------+


ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | diagnostic/mrtg  |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       mrtg(1),   mrtg-reference(1),   mrtg-logfile(1),   cfgmaker(1),  index-
       maker(1), rateup(1)

NOTES
       Source for mrtg-traffic-sum is available on http://opensolaris.org.


       This    software    was    built    from    source     available     at
       https://java.net/projects/solaris-userland.    The  original  community
       source                was                downloaded                from
       http://oss.oetiker.ch/mrtg/pub/mrtg-2.17.4.tar.gz

       Further information about this software can be found on the open source
       community website at http://oss.oetiker.ch/mrtg.



SunOS 5.11                        9 Jan 2009               mrtg-traffic-sum(1)