Need help with mrtg-traffic-sum
Alouis Fernandez <[email protected]> Fri, 12 May 2017 13:34:18 +0000 (UTC)
| Newsgroups | gmane.network.mrtg.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0510767826586772083== Content-Type: multipart/alternative; boundary="----=_Part_11190735_1442485168.1494596058153" ------=_Part_11190735_1442485168.1494596058153 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi, just install MRTG recently(early this week) on a Centos 7; And found ou= t today we could view the summary of the total bandwidth used with this com= mand -=C2=A0mrtg-traffic-sum [options...] config-file but after running, it will show '0'. we suspect it did not found the log fi= le 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 =C2=A01 00:00:00 2017End: =C2=A0 Sun Apr 30 23:59:59 2017Int= erface =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0In+Out in MB----= --------------------------------------------------------------------------e= np0s5 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00tap_vpn =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 note: we are login as root thank you, ------=_Part_11190735_1442485168.1494596058153 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div style=3D"color:#000; background-color:#fff; f= ont-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font= -size:10px"><div id=3D"yui_3_16_0_ym19_1_1494094515401_386240" dir=3D"ltr">= hi, just install MRTG recently(early this week) on a Centos 7; And found ou= t today we could view the summary of the total bandwidth used with this com= mand - mrtg-traffic-sum [options...] config-file</div><div id=3D"yui_3= _16_0_ym19_1_1494094515401_386240" dir=3D"ltr"><br></div><div id=3D"yui_3_1= 6_0_ym19_1_1494094515401_386240" dir=3D"ltr">but after running, it will sho= w '0'. we suspect it did not found the log file or something as it must at = least show us something before '0'.</div><div id=3D"yui_3_16_0_ym19_1_14940= 94515401_386240" dir=3D"ltr"><br></div><div id=3D"yui_3_16_0_ym19_1_1494094= 515401_386240" dir=3D"ltr">we are not Linux people, so not familiar with it= s file location/path. after searching online, this is the command we use -<= /div><div id=3D"yui_3_16_0_ym19_1_1494094515401_386240" dir=3D"ltr"><br></d= iv><div id=3D"yui_3_16_0_ym19_1_1494094515401_386240" dir=3D"ltr">cd /etc/m= rtg/</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_386979"><d= iv dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_387018">mrtg-traffic-s= um mrtg.cfg</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_387= 018"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_38701= 8">here is the output:</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_149409= 4515401_387018"><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_3871= 73">Subject: Traffic total for 'mrtg.cfg' (1.9) 2017/04</div><div dir=3D"lt= r" id=3D"yui_3_16_0_ym19_1_1494094515401_387174"><br id=3D"yui_3_16_0_ym19_= 1_1494094515401_387175"></div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494= 094515401_387176">Start: Sat Apr 1 00:00:00 2017</div><div dir=3D"ltr= " id=3D"yui_3_16_0_ym19_1_1494094515401_387177">End: Sun Apr 30 23:5= 9:59 2017</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_38717= 8">Interface = In+Out in MB= </div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_387179">------= ------------------------------------------------------------------------</d= iv><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_387180">enp0s5 &n= bsp; =  = ; 0</div><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_14940= 94515401_387181">tap_vpn &= nbsp; = 0</div><div dir=3D"ltr" id=3D"yu= i_3_16_0_ym19_1_1494094515401_387182"><br></div></div><div dir=3D"ltr" id= =3D"yui_3_16_0_ym19_1_1494094515401_387019">note: we are login as root</div= ><div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_387019"><br></div><= div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1494094515401_387019">thank you,</d= iv></div></div></body></html> ------=_Part_11190735_1442485168.1494596058153-- --===============0510767826586772083== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg --===============0510767826586772083==--