1. mrtg 다운로드.
https://oss.oetiker.ch/mrtg/download.en.html
MRTG - MRTG Download
MRTG Download You can download MRTG from several places: Primary Distribution Point If you are running Unix, look for the *.tar.gz files, if you work with Windows, you will be happier with the *.zip files. You might want to read the documentation for inspi
oss.oetiker.ch
2. Active Perl 다운로드
https://www.activestate.com/products/perl/
strawberry-perl 을 설치해도 무관.
Cross-platform, secure Perl by ActiveState - for developers and enterprise
Perl powered by the ActiveState Platform. Designed to meet the security and package management needs of Perl developers.
www.activestate.com
3. Mrtg 압축 해지후 폴더에 가서 아래와 같이 실행.
perl cfgmaker --global "WorkDir: C:\Inetpub\wwwroot\mrtg" --global "RunAsDaemon: yes" --global "Language: korean" --global "Refresh: 300" --global "WithPeak[_]: dwmy snmp값@10.1.1.1 --output 10.1.1.1.cfg
**중요**
위대로 치면 숫자가 아래와 같이 나온다.
0 22 20 18 16 14 12 10 8 6 4 2
아래와 같이 나오는게 정상이다.
0 2 4 6 8 10 12 14 16 18 20 22 0
- 아래와 같이 Options 값을 넣어주면 된다.
perl cfgmaker --global "Options[_]: bits, growright, noinfo, gauge, integer, %I:%M %p" --global "WorkDir: D:\WWW_ROOT\MRTG\10.1.1.1" --global "Options[_]: growright,bits" --global "RunAsDaemon: yes" --global "Language: korean" --global "Refresh: 300" --global "WithPeak[_]: dwmy" --output 10.1.1.1.cfg maven@10.1.1.1