Implement MRTG bandwidth monitor on Server 2012 @wallaceho.com

Previously I got the same installation on Linux system, it is much more easy to install on Linux than Windows as there is already some packages which has already configure and installed the prerequisites software. Somehow in Windows environment, there is no SNMP service started default and some of the configuration was not done automatically.

First we need to install the PERL run-time first as the MRTG needs to be run on PERL script. For Example ActivePerl 5.8.8 from ActiveState http://www.activestate.com/store/activeperl/download/

After that we have to download the latest MRTG program source from http://oss.oetiker.ch/mrtg/pub

Run the command “perl mrtg” to check whether the perl run-time installed properly.

Install SNMP service on the Windows 2012 server

Configure the SNMP security (Set value to READ ONLY) and community name

Generate the config file by command  “perl cfgmaker [email protected] –global “WorkDir: D:\Wallace” –output mrtg.cfg” *The 127.0.0.1 should be the SNMP device IP and the WorkDir is which the config file path that you wanna generate to.

After that, a config file should be generated.

Finally, run the command “perl mrtg mrtg.cfg” to run the mrtg program to generate those HTML and graphic files.

You may need to setup a schedule job to run the command in every 5 minutes interval.

Implement IPv6 on Server 2003 @wallaceho.com

In Windows Server 2003 environment, there is no IPv6 feature installed, so that it need to install manually.

Simply click on the network protocol page on the network card proprieties, install the IPv6 feature.

After that, if your ISP support IPv6, you can get a IPv6 public address.

Add record type “AAAA” with the IP on the host record on your name server and try to ping the address see if it is success.

From IIS6, it support IPv6 connection, so that just simply setup the IIS configuration and start the server.

You can get on the page now 🙂 If you can get on my page and get your IPv6 IP, that’s mean your network support IPv6 feature.


ipv6 ready

恭喜發財!

放左咁多日假,又要開始返工了。不過都好,逗左好多利士,公司同事真好,就算平時唔係好熟既都俾利士我,哈哈!

呢個假期好似冇咩做過咁…初一去左呀麻呀婆度拜年,初二朝早去左呀婆度;之後約左朗去打波,初三係屋企打麻雀,初四落左MK買衫…咁就完左4日假期了!