[mrtg] Need help with mrtg-traffic-sum

Alouis Fernandez salnace at yahoo.com
Fri May 12 15:34:18 CEST 2017


hi, just install MRTG recently(early this week) on a Centos 7; And found out today we could view the summary of the total bandwidth used with this command - mrtg-traffic-sum [options...] config-file
but after running, it will show '0'. we suspect it did not found the log file or something as it must at least show us something before '0'.
we are not Linux people, so not familiar with its file location/path. after searching online, this is the command we use -
cd /etc/mrtg/mrtg-traffic-sum mrtg.cfg
here is the output:Subject: Traffic total for 'mrtg.cfg' (1.9) 2017/04
Start: Sat Apr  1 00:00:00 2017End:   Sun Apr 30 23:59:59 2017Interface                                    In+Out in MB------------------------------------------------------------------------------enp0s5                                                  0tap_vpn                                                 0
note: we are login as root
thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20170512/d7db3390/attachment.html>


More information about the mrtg mailing list