how to use MRTG To monitor bandwith in WAG200G?

Discussion in 'Other Linksys Equipment' started by hendracengala, Aug 22, 2008.

  1. hendracengala

    hendracengala Addicted to LI Member

    does everybody got problem in monitoring this router with MRTG?
    when i do "cfgmaker public@192.168.1.1", i got 0 speed on all interface.

    please help me.

    thanks.
     
  2. Mothersh1p

    Mothersh1p Addicted to LI Member

    Monitor Syslog

    You can use this script to monitor the syslogd.
    Code:
    #!/usr/bin/perl -w
    use strict;
    use IO::Socket;
    my ($hSock, $sLine);
    $hSock = IO::Socket::INET->new( LocalPort => 514, Proto => 'udp', Reuse => 1) or die "Ups,
    socket: $@";
    print "Ok, Port 514-UDP ist aktiv\n";
    while ($hSock->recv($sLine, 1023))
    {
    print $sLine, "\n";
    }
    die "Jetzt nicht!\n";
    
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice