mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-11 08:24:51 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
=head1 NAME
|
||||
|
||||
epc3010_ - munin-plugin to monitor Upstream/Downstream Power Levels and Signal to Noise Ratio on Cisco EPC3010 EuroDocsis 3.0 Data Modem
|
||||
epc3010_ - munin-plugin to monitor Upstream/Downstream Power Levels and Signal to Noise Ratio on Cisco EPC3010 EuroDocsis 3.0 Data Modem
|
||||
|
||||
=head1 CONFIGURATION
|
||||
|
||||
|
@ -43,9 +43,9 @@ DIRECTION=${0##*epc3010_}
|
|||
# Check if argument is autoconfig or config
|
||||
case "$1" in
|
||||
|
||||
autoconfig)
|
||||
autoconfig)
|
||||
# Does your network have a Cisco EPC3010?
|
||||
curl -s http://192.168.100.1/Docsis_system.asp | grep -q "Cisco EPC3010"
|
||||
curl -s http://192.168.100.1/Docsis_system.asp | grep -q "Cisco EPC3010"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "yes"
|
||||
exit 0
|
||||
|
@ -54,7 +54,7 @@ autoconfig)
|
|||
exit 1
|
||||
fi
|
||||
;;
|
||||
config)
|
||||
config)
|
||||
if [ $DIRECTION == "downstream" ]; then
|
||||
printf "graph_title Cisco EPC3010 Downstream measurements\n";
|
||||
printf "graph_args -l 0 --base 1000\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue