-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmrtg.conf
186 lines (167 loc) · 4.84 KB
/
mrtg.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# Created by
# /usr/bin/cfgmaker --zero-speed 100000000 --global "WorkDir: /home/vps/public_html/mrtg" --output /etc/mrtg.cfg 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
EnableIPv6: no
WorkDir: /home/vps/public_html/mrtg
######################################################################
# System: Singapore
# Contact: Root <[email protected]>
# Location: Yogyakarta, Indonesia
######################################################################
### 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_1]: 1:public@localhost:
# SetEnv[localhost_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo"
# MaxBytes[localhost_1]: 1250000
# Title[localhost_1]: Traffic Analysis for 1 -- singa1
# PageTop[localhost_1]: <h1>Traffic Analysis for 1 -- singa1</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>singa1 in Yogyakarta, Indonesia</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>Root <[email protected]></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.localdomain)</td>
# </tr>
# </table>
# </div>
### Interface 2 >> Descr: 'gre0' | Name: 'gre0' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ###
### The following interface is commented out because:
### * it is administratively DOWN
### * it is operationally DOWN
#
# Target[localhost_2]: 2:public@localhost:
# SetEnv[localhost_2]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="gre0"
# MaxBytes[localhost_2]: 12500000
# Title[localhost_2]: Traffic Analysis for 2 -- singa1
# PageTop[localhost_2]: <h1>Traffic Analysis for 2 -- singa1</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>singa1 in Yogyakarta, Indonesia</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>Root <[email protected]></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>gre0 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>Encapsulation Interface (131)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>gre0</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>12.5 MBytes/s</td>
# </tr>
# <tr>
# <td>Ip:</td>
# <td>No Ip (No DNS name)</td>
# </tr>
# </table>
# </div>
### Interface 3 >> Descr: 'venet0' | Name: 'venet0' | Ip: '127.0.0.2' | Eth: 'No Ethernet Id' ###
Target[localhost_3]: 3:public@localhost:
SetEnv[localhost_3]: MRTG_INT_IP="127.0.0.2" MRTG_INT_DESCR="venet0"
MaxBytes[localhost_3]: 12500000
Title[localhost_3]: Traffic Analysis for 3 -- singa1
PageTop[localhost_3]: <h1>Traffic Analysis for 3 -- singa1</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>singa1 in Yogyakarta, Indonesia</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>Root <[email protected]></td>
</tr>
<tr>
<td>Description:</td>
<td>venet0 </td>
</tr>
<tr>
<td>ifType:</td>
<td>Other (1)</td>
</tr>
<tr>
<td>ifName:</td>
<td>venet0</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>127.0.0.2 (No DNS name)</td>
</tr>
</table>
</div>
LoadMIBs: /usr/share/mibs/netsnmp/UCD-SNMP-MIB
Target[localhost.cpu]:(100 * 1.3.6.1.4.1.2021.10.1.3.1&1.3.6.1.4.1.2021.10.1.3.1:[email protected])
RouterUptime[localhost.cpu]: [email protected]
MaxBytes[localhost.cpu]: 400
Title[localhost.cpu]: CPU Load
PageTop[localhost.cpu]: <H1>Active CPU Load %</H1>
#Unscaled[localhost.cpu]: ymwd
ShortLegend[localhost.cpu]: %
YLegend[localhost.cpu]: CPU Utilization
Legend1[localhost.cpu]: Active CPU in % (Load)
Legend2[localhost.cpu]:
Legend3[localhost.cpu]:
Legend4[localhost.cpu]:
LegendI[localhost.cpu]: Active
LegendO[localhost.cpu]:
Options[localhost.cpu]: growright,nopercent,gauge
Target[localhost.freemem]: `/root/mrtg-mem.sh`
RouterUptime[localhost.freemem]: [email protected]
Title[localhost.freemem]: Memory Used
PageTop[localhost.freemem]: <h1>Memory Used</h1>
MaxBytes[localhost.freemem]: 8192
ShortLegend[localhost.freemem]: B
YLegend[localhost.freemem]: Bytes
LegendI[localhost.freemem]: RAM
LegendO[localhost.freemem]: Swap
Options[localhost.freemem]: gauge,nopercent,growright,unknaszero
kMG[localhost.freemem]: k,M,G,T,P,X