Skip to content

Instantly share code, notes, and snippets.

@renatojobal
Created December 19, 2021 02:29
Show Gist options
  • Save renatojobal/4de28ec0b5db26795a2d4cb4f165c252 to your computer and use it in GitHub Desktop.
Save renatojobal/4de28ec0b5db26795a2d4cb4f165c252 to your computer and use it in GitHub Desktop.
Under the dir: /etc/mrtg.cfg
# Created by
# /usr/bin/cfgmaker public@localhost
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# for Debian
WorkDir: /var/www/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
######################################################################
# System: renatojobal
# Description: Linux renatojobal 5.11.0-41-generic #45~20.04.1-Ubuntu SMP Wed Nov 10 10:20:10 UTC 2021 x86_64
# Contact: Me <[email protected]>
# Location: Sitting on the Dock of the Bay
######################################################################
### Interface 1 >> Descr: 'lo' | Name: 'lo' | Ip: '127.0.0.1' | Eth: 'No Ethernet Id' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
#
# Target[localhost_lo]: #lo:public@localhost:
# SetEnv[localhost_lo]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo"
# MaxBytes[localhost_lo]: 1250000
# Title[localhost_lo]: Traffic Analysis for lo -- renatojobal
# PageTop[localhost_lo]: <h1>Traffic Analysis for lo -- renatojobal</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>renatojobal in Sitting on the Dock of the Bay</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>Me &lt;[email protected]&gt;</td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>lo </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>softwareLoopback (24)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>lo</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>1250.0 kBytes/s</td>
# </tr>
# <tr>
# <td>Ip:</td>
# <td>127.0.0.1 (localhost)</td>
# </tr>
# </table>
# </div>
### Interface 2 >> Descr: 'Realtek-Semiconductor-Co.,-Ltd.-RTL810xE-PCI-Express-Fast-Ethernet-controller' | Name: 'enp3s0' | Ip: '192.168.1.107' | Eth: 'd4-81-d7-60-eb-2f' ###
Target[localhost_enp3s0]: #enp3s0:public@localhost:
SetEnv[localhost_enp3s0]: MRTG_INT_IP="192.168.1.107" MRTG_INT_DESCR="Realtek-Semiconductor-Co.,-Ltd.-RTL810xE-PCI-Express-Fast-Ethernet-controller"
MaxBytes[localhost_enp3s0]: 12500000
Title[localhost_enp3s0]: Traffic Analysis for enp3s0 -- renatojobal
PageTop[localhost_enp3s0]: <h1>Traffic Analysis for enp3s0 -- renatojobal</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>renatojobal in Sitting on the Dock of the Bay</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>Me &lt;[email protected]&gt;</td>
</tr>
<tr>
<td>Description:</td>
<td>Realtek-Semiconductor-Co.,-Ltd.-RTL810xE-PCI-Express-Fast-Ethernet-controller </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>enp3s0</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>192.168.1.107 (renatojobal)</td>
</tr>
</table>
</div>
### Interface 3 >> Descr: 'Intel-Corporation-Wireless-3165' | Name: 'wlp2s0' | Ip: 'No Ip' | Eth: '70-1c-e7-24-d1-00' ###
### The following interface is commented out because:
### * it is operationally DOWN
### * has no ifSpeed property
#
# Target[localhost_wlp2s0]: #wlp2s0:public@localhost:
# SetEnv[localhost_wlp2s0]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="Intel-Corporation-Wireless-3165"
# MaxBytes[localhost_wlp2s0]: 0
# Title[localhost_wlp2s0]: Traffic Analysis for wlp2s0 -- renatojobal
# PageTop[localhost_wlp2s0]: <h1>Traffic Analysis for wlp2s0 -- renatojobal</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>renatojobal in Sitting on the Dock of the Bay</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>Me &lt;[email protected]&gt;</td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>Intel-Corporation-Wireless-3165 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>ethernetCsmacd (6)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>wlp2s0</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>0.0 Bytes/s</td>
# </tr>
# <tr>
# <td>Ip:</td>
# <td>No Ip (No DNS name)</td>
# </tr>
# </table>
# </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment