online device monitoring

To know what is inside

›› More details

Fast track details

OpenWRT

Do following steps to add your OpenWRT for monitoring:

  1. Prerequisites
    • Public IP on Your OpenWRT box or configured port forwarding so that snmp is accessible from odmon.com servers
    • OpenWRT with SNMP installed or with possibility to install this service

  2. Install SNMP service if not installed. Login to console and issue ipkg install snmpd
    Execute following command for snmp to run at startup:
    ln -s /etc/init.d/snmpd /etc/rc.d/S50snmpd

  3. Set SNMP community. Community is a snmp password, that authorizes snmp access. The default snmp installation has community "public". For security reasons it is good to change it.
    Edit /etc/snmp/snmpd.conf and change "public" in below line to your community
    com2sec ro default public
    Once installed run the service with /etc/init.d/snmpd start.
  4. Enable odmon.com queries. Add following line to your /etc/firewall.user

    iptables -A input_wan -p udp --dport 161 -s 188.124.160.10 -j ACCEPT
    and restart firewall with /etc/init.d/firewall restart.

    Be aware that when you have DMZ enabled or specific port forwarding that will reroute the packet before it can reach input_wan, you need to amend your configuration to allow packets to the router

  5. Test SNMP.
    After reconfiguring Your device please do the snmp test to make sure it will be working correctly.
    For security reasons it is allowed to query only system description (sysDescr, OID .1.3.6.1.2.1.1.1.0) standard value.
    Please specify hostname, snmp community and snmp version
    IP or hostname:

    or
    : Use my detected IP
    54.80.10.56

    Community:
    SNMP Version

Graphs. This fast track will create following graphs for Your device: bandwidth on interfaces, CPU, memory, load average, available disk space on /jffs. After graph creation, wait 5 minutes for them to show up. Graph examples can be viewed here.

Make sure that You have configured and tested the SNMP on Your OpenWRT box. If everything is working fine, press Next