Code Monkey home page Code Monkey logo

collectd-asuswrt's Introduction

collectd on ASUSWRT

This repo helps with cross-compiling collectd for ASUSWRT routers.

  1. You need to setup the ASUSWRT toolchains

  2. Use this build.sh script to download, build and package collectd:

    CROSS_COMPILE=arm-brcm-linux-uclibcgnueabi ./build.sh
    

    You can specify the toolchain to use with the CROSS_COMPILE environment variable.

Installation

You should have a writable partition mounted at /opt. This is usually a JFFS partition on flash, or an external USB drive that is plugged into the router.

To install collectd, download the tar.gz file onto your router (most likely to /tmp), then unpack into /opt:

$ cd /opt
$ tar xzvf /tmp/collectd-$ver.tar.gz

You need to edit the collectd.conf configuration file.

The collectd service should start automatically on boot.

brcm_wl module

The inclusion of the brcm_wl plugin enables collection of detailed statistics of wireless clients, such as association time, idle time, TX/RX bytes and packets, RSSI levels, etc.

This plugin only works on (certain?) Broadcom wireless chipsets, because it communicates directly with the driver to retrieve the information.

I have tested it to work on the ASUS RT-AC68U and the D-Link DIR-868L.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.