MRTG

来自Qno Wiki
跳转到: 导航搜索

Download Perl http://www.activestate.com/activeperl/downloads

ActivePerl Community Edition http://downloads.activestate.com/ActivePerl/releases/5.16.1.1601/ActivePerl-5.16.1.1601-MSWin32-x86-296175.msi

Install Guide: http://oss.oetiker.ch/mrtg/ Download MRTG: http://oss.oetiker.ch/mrtg/pub/ http://oss.oetiker.ch/mrtg/pub/mrtg-2.17.4.zip

perl --version
This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2012, Larry Wall

Binary build 1601 [296175] provided by ActiveState http://www.ActiveState.com
Built Aug 30 2012 20:08:55

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

unzip to c:\mrtg

cd C:\mrtg\bin
md \www\qno\SSL002p
C:\mrtg\bin>perl cfgmaker public@192.168.6.4 --global "WorkDir: c:\www\qno\SSL002p" --output mrtg_SSL002p.cfg


--base: Get Device Info on public@192.168.6.4:
--base: Vendor Id: Unknown Vendor - 1.3.6.1.4.1.23871
--base: Populating confcache
--base: Get Interface Info
--base: Walking ifIndex
--snpd:   public@192.168.6.4: -> 1 -> ifIndex = 1
--snpd:   public@192.168.6.4: -> 2 -> ifIndex = 2
--snpd:   public@192.168.6.4: -> 3 -> ifIndex = 3
--snpd:   public@192.168.6.4: -> 4 -> ifIndex = 4
--snpd:   public@192.168.6.4: -> 5 -> ifIndex = 5
--snpd:   public@192.168.6.4: -> 6 -> ifIndex = 6
--snpd:   public@192.168.6.4: -> 7 -> ifIndex = 7
--snpd:   public@192.168.6.4: -> 8 -> ifIndex = 8
--snpd:   public@192.168.6.4: -> 9 -> ifIndex = 9
--snpd:   public@192.168.6.4: -> 10 -> ifIndex = 10
--snpd:   public@192.168.6.4: -> 11 -> ifIndex = 11
--snpd:   public@192.168.6.4: -> 12 -> ifIndex = 12
--snpd:   public@192.168.6.4: -> 13 -> ifIndex = 13
--snpd:   public@192.168.6.4: -> 14 -> ifIndex = 14
--snpd:   public@192.168.6.4: -> 15 -> ifIndex = 15
--snpd:   public@192.168.6.4: -> 39 -> ifIndex = 39
--base: Walking ifType
--snpd:   public@192.168.6.4: -> 1 -> ifType = 24
--snpd:   public@192.168.6.4: -> 2 -> ifType = 1
--snpd:   public@192.168.6.4: -> 3 -> ifType = 1
--snpd:   public@192.168.6.4: -> 4 -> ifType = 6
--snpd:   public@192.168.6.4: -> 5 -> ifType = 6
--snpd:   public@192.168.6.4: -> 6 -> ifType = 1
--snpd:   public@192.168.6.4: -> 7 -> ifType = 131
--snpd:   public@192.168.6.4: -> 8 -> ifType = 131
--snpd:   public@192.168.6.4: -> 9 -> ifType = 6
--snpd:   public@192.168.6.4: -> 10 -> ifType = 6
--snpd:   public@192.168.6.4: -> 11 -> ifType = 6
--snpd:   public@192.168.6.4: -> 12 -> ifType = 6
--snpd:   public@192.168.6.4: -> 13 -> ifType = 6
--snpd:   public@192.168.6.4: -> 14 -> ifType = 6
--snpd:   public@192.168.6.4: -> 15 -> ifType = 6
--snpd:   public@192.168.6.4: -> 39 -> ifType = 23
--base: Walking ifAdminStatus
--snpd:   public@192.168.6.4: -> 1 -> ifAdminStatus = 1
--snpd:   public@192.168.6.4: -> 2 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 3 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 4 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 5 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 6 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 7 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 8 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 9 -> ifAdminStatus = 1
--snpd:   public@192.168.6.4: -> 10 -> ifAdminStatus = 1
--snpd:   public@192.168.6.4: -> 11 -> ifAdminStatus = 1
--snpd:   public@192.168.6.4: -> 12 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 13 -> ifAdminStatus = 1
--snpd:   public@192.168.6.4: -> 14 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 15 -> ifAdminStatus = 2
--snpd:   public@192.168.6.4: -> 39 -> ifAdminStatus = 1
--base: Walking ifOperStatus
--snpd:   public@192.168.6.4: -> 1 -> ifOperStatus = 1
--snpd:   public@192.168.6.4: -> 2 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 3 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 4 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 5 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 6 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 7 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 8 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 9 -> ifOperStatus = 1
--snpd:   public@192.168.6.4: -> 10 -> ifOperStatus = 1
--snpd:   public@192.168.6.4: -> 11 -> ifOperStatus = 1
--snpd:   public@192.168.6.4: -> 12 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 13 -> ifOperStatus = 1
--snpd:   public@192.168.6.4: -> 14 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 15 -> ifOperStatus = 2
--snpd:   public@192.168.6.4: -> 39 -> ifOperStatus = 1
--base: Walking ifMtu
--snpd:   public@192.168.6.4: -> 1 -> ifMtu = 16436
--snpd:   public@192.168.6.4: -> 2 -> ifMtu = 16000
--snpd:   public@192.168.6.4: -> 3 -> ifMtu = 16000
--snpd:   public@192.168.6.4: -> 4 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 5 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 6 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 7 -> ifMtu = 1480
--snpd:   public@192.168.6.4: -> 8 -> ifMtu = 1460
--snpd:   public@192.168.6.4: -> 9 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 10 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 11 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 12 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 13 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 14 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 15 -> ifMtu = 1500
--snpd:   public@192.168.6.4: -> 39 -> ifMtu = 1200
--base: Walking ifSpeed
--snpd:   public@192.168.6.4: -> 1 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 2 -> ifSpeed = 0
--snpd:   public@192.168.6.4: -> 3 -> ifSpeed = 0
--snpd:   public@192.168.6.4: -> 4 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 5 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 6 -> ifSpeed = 0
--snpd:   public@192.168.6.4: -> 7 -> ifSpeed = 0
--snpd:   public@192.168.6.4: -> 8 -> ifSpeed = 0
--snpd:   public@192.168.6.4: -> 9 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 10 -> ifSpeed = 1000000000
--snpd:   public@192.168.6.4: -> 11 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 12 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 13 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 14 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 15 -> ifSpeed = 10000000
--snpd:   public@192.168.6.4: -> 39 -> ifSpeed = 0
--base: Writing mrtg_SSL002p.cfg
C:\mrtg\bin>


perl mrtg mrtg_SSL002p.cfg
perl indexmaker --output=index.html mrtg_SSL002p.cfg
start /D c:\mrtg\bin wperl mrtg --loggin=eventlog mrtg_SSL002p.cfg

mrtg_SSL002p.cfg

RunAsDaemon: yes

Run:

perl mrtg mrtg9208s.cfg 

done

个人工具
名字空间
操作
导航
分类
[×] AP/AC
[×] DHCP
[×] GRE
Log
[×] NetBase
QoS
[×] QTV
[×] QWH
[×] Switch
USB
VPN
工具箱