Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/router/ag241-adsl | ||
|---|---|---|
| 9 | 9 |
# as per the instructions on the munin wiki |
| 10 | 10 |
# http://munin.projects.linpro.no/wiki/Using_SNMP_plugins |
| 11 | 11 |
# By default the SNMP server is disabled, you can enable it in the web admin |
| 12 |
# You will need to set up the "virtual node" configuration as detailed
|
|
| 12 |
# You will need to set up the "virtual node" configuration as detailed |
|
| 13 | 13 |
# for snmp plugins |
| 14 | 14 |
|
| 15 | 15 |
# Plugin will require some configuration in /etc/munin/plugin-conf.d/ag241_MODEMADDRESS |
| ... | ... | |
| 35 | 35 |
require 'net/http' |
| 36 | 36 |
|
| 37 | 37 |
#default parameters |
| 38 |
host = nil
|
|
| 38 |
host = nil |
|
| 39 | 39 |
port = ENV['port'] || 80 |
| 40 | 40 |
user = ENV['user'] || 'admin' |
| 41 | 41 |
pass = ENV['pass'] || 'forhax' #dont remember what the default admin password was |
Formats disponibles : Unified diff