You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
3.9 KiB
90 lines
3.9 KiB
<!DOCTYPE html>
|
|
<html lang="en" dir="ltr">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>documentation:2.0:mrtg</title>
|
|
<meta name="generator" content="DokuWiki"/>
|
|
<meta name="robots" content="index,follow"/>
|
|
<meta name="keywords" content="documentation,2.0,mrtg"/>
|
|
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
|
|
<link rel="start" href="mrtg.html"/>
|
|
<link rel="contents" href="mrtg.html" title="Sitemap"/>
|
|
<link rel="stylesheet" type="text/css" href="lib/exe/css.php.t.bootstrap3.css"/>
|
|
<!-- //if:usedebianlibs
|
|
<link rel="stylesheet" type="text/css" href="/javascript/bootstrap/css/bootstrap.min.css" />
|
|
//elsif:useexternallibs
|
|
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"></script>
|
|
//elsif:cssminified
|
|
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
|
|
//else -->
|
|
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.css" />
|
|
<!-- //endif -->
|
|
<script type="text/javascript">/*<![CDATA[*/var NS='documentation:2.0';var JSINFO = {"id":"documentation:2.0:mrtg","namespace":"documentation:2.0"};
|
|
/*!]]>*/</script>
|
|
<script type="text/javascript" charset="utf-8" src="lib/exe/js.php.t.bootstrap3.js"></script>
|
|
<!-- //if:usedebianlibs
|
|
<script type="text/javascript" src="/javascript/jquery/jquery.min.js"></script>
|
|
//elsif:useexternallibs
|
|
<script type="text/javascript" src="http://code.jquery.com/jquery-2.2.0.min.js"></script>
|
|
//elsif:jsminified
|
|
<script type="text/javascript" src="/static/bwr/jquery/dist/jquery.min.js"></script>
|
|
//else -->
|
|
<script type="text/javascript" src="/static/bwr/jquery/dist/jquery.js"></script>
|
|
<!-- //endif -->
|
|
<!-- //if:usedebianlibs
|
|
<script type="text/javascript" src="/javascript/jquery-ui/jquery-ui.min.js"></script>
|
|
//elsif:useexternallibs
|
|
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
|
|
//elsif:jsminified
|
|
<script type="text/javascript" src="/static/bwr/jquery-ui/jquery-ui.min.js"></script>
|
|
//else -->
|
|
<script type="text/javascript" src="/static/bwr/jquery-ui/jquery-ui.js"></script>
|
|
<!-- //endif -->
|
|
</head>
|
|
<body>
|
|
<div class="dokuwiki export container">
|
|
|
|
<h1 class="sectionedit1" id="mrtg_monitoring">MRTG monitoring</h1>
|
|
<div class="level1">
|
|
|
|
<p>
|
|
<a href="status.html" class="wikilink1" title="documentation:2.0:status">The status page</a> can be read by <a href="http://oss.oetiker.ch/mrtg/" class="urlextern" title="http://oss.oetiker.ch/mrtg/" rel="nofollow">MRTG</a> using the script <strong>lmng-mrtg</strong> that can be found in manager example directory.
|
|
</p>
|
|
|
|
<p>
|
|
MRTG configuration example:
|
|
</p>
|
|
<pre class="code shell">######################################################################
|
|
# Multi Router Traffic Grapher -- Sample Configuration File
|
|
######################################################################
|
|
# This file is for use with mrtg-2.5.4c
|
|
|
|
# Global configuration
|
|
WorkDir: /var/www/mrtg
|
|
WriteExpires: Yes
|
|
|
|
Title[^]: Traffic Analysis for
|
|
|
|
# 128K leased line
|
|
# ----------------
|
|
#Title[leased]: a 128K leased line
|
|
#PageTop[leased]: <H1>Our 128K link to the outside world</H1>
|
|
#Target[leased]: 1:public@router.localnet
|
|
#MaxBytes[leased]: 16000
|
|
Target[test.example.com]: `/etc/mrtg/lmng-mrtg 172.16.1.2 https://test.example.com/status OK OK`
|
|
Options[test.example.com]: nopercent, growright, nobanner, perminute
|
|
PageTop[test.example.com]: <h1>Requests OK from test.example.com</h1>
|
|
MaxBytes[test.example.com]: 1000000
|
|
YLegend[test.example.com]: hits/minute
|
|
ShortLegend[test.example.com]: &nbsp; hits/mn
|
|
LegendO[test.example.com]: Hits:
|
|
LegendI[test.example.com]: Hits:
|
|
Legend2[test.example.com]: Hits per minute
|
|
Legend4[test.example.com]: Hits max per minute
|
|
Title[test.example.com]: Hits per minute
|
|
WithPeak[test.example.com]: wmy</pre>
|
|
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|