Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/weather/novra_s300 | ||
|---|---|---|
| 16 | 16 |
# @email icedown@gmail.com |
| 17 | 17 |
# |
| 18 | 18 |
# Usage: |
| 19 |
# Copy this to your plugin folder (default: /usr/share/munin/plugins)
|
|
| 19 |
# Copy this to your plugin folder (default: /usr/share/munin/plugins) |
|
| 20 | 20 |
# Edit is file, replacing CMCS, IP, and PW with your values |
| 21 | 21 |
# Make a symlink to your active plugins folder (default: /etc/munin/plugins) |
| 22 | 22 |
# Finally run munin-node-config and restart munin-node |
| ... | ... | |
| 59 | 59 |
if($status =~ m/Login unsuccessful/) {
|
| 60 | 60 |
print "No (Invalid receiver details)\n"; |
| 61 | 61 |
exit(0); |
| 62 |
}
|
|
| 62 |
} |
|
| 63 | 63 |
print "yes\n"; |
| 64 | 64 |
exit(0); |
| 65 | 65 |
} |
| 66 |
|
|
| 66 |
|
|
| 67 | 67 |
print "no (Cannot locate CMCS)\n"; |
| 68 | 68 |
exit(0); |
| 69 |
|
|
| 70 |
|
|
| 69 |
|
|
| 70 |
|
|
| 71 | 71 |
} |
| 72 | 72 |
require XML::Simple; |
| 73 | 73 |
|
Formats disponibles : Unified diff