Révision 0253df6f
Plugin ag241-adsl: improve documentation formatting and add author
| plugins/router/ag241-adsl | ||
|---|---|---|
| 2 | 2 |
|
| 3 | 3 |
=begin |
| 4 | 4 |
|
| 5 |
munin plugin to retrieve connection statistics from the web admin interface |
|
| 6 |
on a Linksys AG241v2 ADSL modem |
|
| 7 |
Makes use of the http://modemaddress/ADSLCStatus.htm page |
|
| 5 |
=head1 NAME |
|
| 8 | 6 |
|
| 9 |
This plugin has only been tested on a Debian testing system |
|
| 7 |
ag241-adsl - retrieve connection statistics from the web admin interface of a Linksys AG241v2 ADSL modem |
|
| 8 |
|
|
| 9 |
=head1 DESCRIPTION |
|
| 10 |
|
|
| 11 |
Data is extracted from the http://modemaddress/ADSLCStatus.htm page. |
|
| 12 |
|
|
| 13 |
This plugin has only been tested on a Debian testing system. |
|
| 10 | 14 |
|
| 11 | 15 |
This modem also has some basic SNMP support so you can configure it |
| 12 |
as per the instructions on the munin wiki |
|
| 13 |
http://munin.projects.linpro.no/wiki/Using_SNMP_plugins |
|
| 14 |
By default the SNMP server is disabled, you can enable it in the web admin |
|
| 16 |
as per the instructions on the munin wiki: |
|
| 17 |
|
|
| 18 |
http://munin.projects.linpro.no/wiki/Using_SNMP_plugins |
|
| 19 |
|
|
| 20 |
By default the SNMP server is disabled, you can enable it in the web admin. |
|
| 15 | 21 |
You will need to set up the "virtual node" configuration as detailed |
| 16 |
for snmp plugins |
|
| 22 |
for snmp plugins. |
|
| 23 |
|
|
| 24 |
=head1 CONFIGURATION |
|
| 17 | 25 |
|
| 18 |
Plugin will require some configuration in /etc/munin/plugin-conf.d/ag241_MODEMADDRESS
|
|
| 26 |
The plugin requires some configuration in /etc/munin/plugin-conf.d/ag241_MODEMADDRESS
|
|
| 19 | 27 |
e.g. |
| 20 |
[ag241_vocume.stargate_*] |
|
| 21 |
env.user admin |
|
| 22 |
env.pass password |
|
| 23 |
#env.port 80 |
|
| 28 |
|
|
| 29 |
[ag241_vocume.stargate_*] |
|
| 30 |
env.user admin |
|
| 31 |
env.pass password |
|
| 32 |
#env.port 80 |
|
| 24 | 33 |
|
| 25 | 34 |
Once you have the above config set you will need to symlink the plugin to |
| 26 |
/etc/munin/plugins/ag241_MODEMADDRESS_syncrate |
|
| 27 |
/etc/munin/plugins/ag241_MODEMADDRESS_attenutation |
|
| 28 |
/etc/munin/plugins/ag241_MODEMADDRESS_noise |
|
| 29 |
now restart munin-node. |
|
| 30 |
hopefully in 20-30mins you will have some nice graphs |
|
| 31 | 35 |
|
| 32 |
Some magical munin foo... |
|
| 36 |
/etc/munin/plugins/ag241_MODEMADDRESS_syncrate |
|
| 37 |
/etc/munin/plugins/ag241_MODEMADDRESS_attenutation |
|
| 38 |
/etc/munin/plugins/ag241_MODEMADDRESS_noise |
|
| 39 |
|
|
| 40 |
Restart munin-node afterwards. |
|
| 41 |
|
|
| 42 |
Hopefully in 20-30mins you will have some nice graphs. |
|
| 43 |
|
|
| 44 |
=head1 AUTHORS |
|
| 45 |
|
|
| 46 |
Copyright (C) 2010 David Leggett |
|
| 47 |
|
|
| 48 |
=head1 MAGIC MARKERS |
|
| 49 |
|
|
| 33 | 50 |
#%# family=manual |
| 34 |
#%# capabilities= |
|
| 35 | 51 |
|
| 36 | 52 |
=end |
| 37 | 53 |
|
Formats disponibles : Unified diff