1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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@", i got 0 speed on all interface.

    please help me.

  2. Mothersh1p

    Mothersh1p Addicted to LI Member

    Monitor Syslog

    You can use this script to monitor the syslogd.
    #!/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";

Share This Page