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

Tomato and SNMP

Discussion in 'Tomato Firmware' started by dtswk, Oct 4, 2006.

  1. dtswk

    dtswk Network Guru Member

    Hi guys,

    I'm hoping that someone can provide some hints. I've been running Thibor's firmware now for many moons and after checking the screen shots on the QoS I moved over.

    One little thing I'm hoping someone can offer some advice with. I use Samurize to display the network status on my desktop, I do this via SNMP which I have found a script for an load on the router. It appears that Tomato doesn't like the same script and the demon seems to die after a few minutes.

    Here is the script, obviously need to point a server that has the snmpd and conf file. I got mine from here http://ldrolez.free.fr/software/wrt54gs/files/snmp/

    sleep 5
    wget -P /tmp http://10.1.1.201/snmpd
    wget -P /tmp http://10.1.1.201/snmpd.conf
    cd /tmp
    chmod +x ./snmpd
    ./snmpd -c /tmp/snmpd.conf

    Not sure what the router is using for its own internal graphing but i'd be happy with that as well, as long as I could speed up the refresh time to say 10 seconds.

    Anyway, would appreciate any advice.

    Thanks
     
  2. dtswk

    dtswk Network Guru Member

    ok weirder... found it works fine unless I do a snmp walk...

    The walk breaks just after
    .1.3.6.1.2.1.25.2.2.0

    So assume its around there... ahhh cant complain, at least its giving me what i was after.

    Matt

    PS Awesome firmware by the way, thanks very much.. Donation on the way.
     
  3. bokh

    bokh Network Guru Member

    If I try this on my WRT54GL v1.1 it works, but after the snmpwalk completes, the SNMPd (the proces on the router) has died / is gone...
    If I break the walk before it breaks, SNMPd continues to run.
    Weird.
     
  4. dtswk

    dtswk Network Guru Member

    Cool, so its not just me...

    For now i'm happy got up and down for the WAN port working as well as CPU load and memory... just as long as I dont walk the OID's i'm sweet :)
     

Share This Page