Skip to content

Instantly share code, notes, and snippets.

@madeye
Created June 11, 2013 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madeye/5754008 to your computer and use it in GitHub Desktop.
Save madeye/5754008 to your computer and use it in GitHub Desktop.
# Created by
# /opt/local/bin/cfgmaker --global "WorkDir: /opt/local/www/munin" --output /opt/local/etc/mrtg.cfg --ifref=name --ifref=descr public@localhost
### Global Config Options
### Global Defaults
LoadMIBs: /etc/sma/snmp/mibs/IF-MIB.txt
EnableIPv6: no
WorkDir: /opt/local/www/munin
#RunAsDaemon: Yes
Interval: 5
Refresh: 300
### Interface 2 >> Descr: 'net0' | Name: 'net0' | Ip: '165.225.156.150' | Eth: '' ###
Target[localhost_net0]: \net0:public@localhost:
Options[localhost_net0]: growright,bits
SetEnv[localhost_net0]: MRTG_INT_IP="165.225.156.150" MRTG_INT_DESCR="net0"
MaxBytes[localhost_net0]: 176258176
Title[localhost_net0]: Traffic Analysis
PageTop[localhost_net0]: <h1>Traffic Analysis</h1>
<div id="sysdetails">
<tr>
<td>ifName:</td>
<td>net0</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>1410.1 Mbits/s</td>
</tr>
</table>
</div>
Options[localhost_load]: gauge,absolute,integer,growright,nopercent
Directory[localhost_load]: cpu
MaxBytes[localhost_load]: 100
YLegend[localhost_load]: CPU Load Average (%)
Legend1[localhost_load]: 1 min CPU Load Avalage
Legend2[localhost_load]: 5 min CPU Load Avalage
LegendI[localhost_load]: 1min
LegendO[localhost_load]: 5min
ShortLegend[localhost_load]: percent (%)
Unscaled[localhost_load]: dwmy
Target[localhost_load]: .1.3.6.1.4.1.2021.10.1.5.1&.1.3.6.1.4.1.2021.10.1.5.2:public@localhost
Title[localhost_load]: CPU Load Average
PageTop[localhost_load]: <H1>CPU Load Average</H1>
Options[localhost_mem]: gauge, absolute, growright, noinfo
Directory[localhost_mem]: memory
YLegend[localhost_mem]: Memory Used(Bytes)
ShortLegend[localhost_mem]: (Bytes)
Legend1[localhost_mem]: Real Memory
Legend2[localhost_mem]: Swap Memory
LegendI[localhost_mem]: Real
LegendO[localhost_mem]: Swap
Unscaled[localhost_mem]: dwmy
kilo[localhost_mem]: 1024
kMG[localhost_mem]: k,M,G,T,P
Target[localhost_mem]: .1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.4.0:public@localhost
MaxBytes[localhost_mem]: 128000
MaxBytes2[localhost_mem]: 256000
Title[localhost_mem]: Memory Usage
PageTop[localhost_mem]: <H1>Memory Usage</H1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment