바뀜

둘러보기로 가기 검색하러 가기
2,092 바이트 추가됨 ,  2021년 5월 2일 (일) 14:04
편집 요약 없음
</pre>
 == MRTG == === MRTG 설치 및 설정 <ref>https://www.youtube.com/watch?v=ftutyWqzRCs</ref>===
<pre>
$ sudo apt install snmpd snmp mrtg
이제 MRTG의 인덱스 페이지를 볼 수 있습니다. 저의 경우는 http://mirror.debianusers.or.kr/mrtg/ 에서 MRTG의 인덱스 페이지를 확인할 수 있습니다.
 
 
=== MRTG 추가 설정 ===
/etc/mrtg.cfg을 아래와 같이 설정합니다. 설정한 내용은 http://mirror.debianusers.or.kr/mrtg/debianusers-mirror_3.html 에서 확인할 수 있습니다.
 
<syntaxhighlight lang="diff">
(..생략..)
- Target[localhost_3]: 3:public@localhost:
+ Target[debianusers-mirror_3]: 3:public@localhost:
- SetEnv[localhost_3]: MRTG_INT_IP="121.78.112.223" MRTG_INT_DESCR="No-Description"
+ SetEnv[debianusers-mirror_3]: MRTG_INT_IP="121.78.112.223" MRTG_INT_DESCR="No-Description"
- MaxBytes[localhost_3]: 125000000
+ MaxBytes[debianusers-mirror_3]: 1250000
- Title[localhost_3]: Traffic Analysis for 3 -- debianusers-mirror
+ Title[debianusers-mirror_3]: Traffic Analysis for 3 -- debianusers-mirror
- PageTop[localhost_3]: <h1>Traffic Analysis for 3 -- debianusers-mirror</h1>
+ PageTop[debianusers-mirror_3]: <h1>Traffic Analysis for 3 -- debianusers-mirror</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>debianusers-mirror in Sitting on the Dock of the Bay</td>
</tr>
<tr>
<td>Maintainer:</td>
- <td>Me &lt;me@example.org&gt;</td>
+ <td>Hyun-gwan Seo&lt;westporch@debianusers.or.kr&gt;</td>
</tr>
<tr>
<td>Description:</td>
<td>No-Description </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>enp5s0f1</td>
</tr>
<tr>
<td>Max Speed:</td>
- <td>125.0 MBytes/s</td>
+ <td>1.25 MBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>121.78.112.223 (debianusers-mirror)</td>
</tr>
</table>
</div>
</syntaxhighlight>
 
== 디렉터리(/data) ==

둘러보기 메뉴