logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ap-mrtg, ap-rrd - AP statistics translators

Author

Description

ap-mrtg get stats from AP and return it in MRTG parsable format.
       The  Multi  Router  Traffic  Grapher  (MRTG) is a tool to monitor the traffic load on network-links. MRTG
       generates HTML pages containing graphical images which provide  a  LIVE  visual  representation  of  this
       traffic. You may get it from: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/.

       ap-rrd gets stats from an AP and writes them to an RRDtool database.
       RRDtool is a data logging and graphing system for time series data.

Mrtg Configuration Example

       Simple mrtg.cfg for get stats from Atmel based AP:
       Target[ap_e]: `/usr/local/bin/ap-mrtg -i 192.168.0.1 -c "public" -t ethernet -v`
       Options[ap_e]: noinfo, growright, bits
       MaxBytes[ap_e]: 12500
       Title[ap_e]: Traffic Analysis for AP Ethernet port
       PageTop[ap_e]: <H1>Traffic Analysis for AP Ethernet port</H1>

       Target[ap_w]: `/usr/local/bin/ap-mrtg -i 192.168.0.1 -c "public" -t wireless -v`
       Options[ap_w]: noinfo, growright, perminute
       ShortLegend[ap_w]: pkt/min
       MaxBytes[ap_w]: 100000000
       Legend1[ap_w]:  Packets In
       Legend2[ap_w]:  Packets Out
       YLegend[ap_w]: packets/min
       Title[ap_w]: Traffic Analysis for AP Wireless port
       PageTop[ap_w]: <H1>Traffic Analysis for AP Wireless port</H1>

       Target[ap_s]: `/usr/local/bin/ap-mrtg -i 192.168.0.1 -c "public" -t stations -v`
       Options[ap_s]: growright, gauge, noinfo
       ShortLegend[ap_s]: stations
       MaxBytes[ap_s]: 10
       YTics[ap_s]: 10
       Legend2[ap_s]: none
       Legend1[ap_s]: Associated Stations
       YLegend[ap_s]: Associated Stations
       Title[ap_s]: Traffic Analysis for AP Associated Stations
       PageTop[ap_s]: <H1>Traffic Analysis for AP Associated Stations</H1>
       LegendO[ap_s]: none
       LegendI[ap_s]: Associated Stations

Name

       ap-mrtg, ap-rrd - AP statistics translators

Options

-iip  AP ip address

       -ccommunity
              SNMP community string

       -ttype
              Statistics type <w>ireless, <e>thernet, associated <s>tations or <l>ink quality in client mode;

       -bbssid
              Mac address of the AP to which get link quality.

       -ddb_file
              Name of the rrdtool database to write to.

       -v     report  MRTG  about  problems connecting to AP - if you want to get report about when AP spot work
              enable it

       -r     reset AP when getting LinkQuality stats

       -h     print help screen

See Also

ap-config(8), ap-trapd(8)

                                    Wireless Access Point Utilities for Unix                          ap-mrtg(8)

Synopsis

ap-mrtg-iip-ccommunity-ttype[-bbssid][-v][-r][-h]ap-rrd-iip-ccommunity-ttype-ddb_file[-bbssid][-r][-h]

See Also