mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Fixed some typo in text
This commit is contained in:
parent
fb7d068c49
commit
31f5cc79db
@ -31,7 +31,7 @@ GPLv2
|
||||
###############################################
|
||||
#
|
||||
# HISTORY
|
||||
# v1.0 : Initial release
|
||||
# v1.0 : Initial release
|
||||
#
|
||||
###############################################
|
||||
#
|
||||
@ -55,79 +55,59 @@ autoconfig)
|
||||
;;
|
||||
config)
|
||||
if [ $DIRECTION == "downstream" ]; then
|
||||
echo "graph_title Cisco EPC3010 Downstream measurements";
|
||||
echo "graph_args -l 0 --base 1000"
|
||||
echo "graph_category network"
|
||||
echo "graph_vlabel (-) is Power Level (+) is SNR"
|
||||
echo "graph_info Downstream Signal to Noise Ratio (dB) and Power Level (dBmV) from Cisco EPC3010 modem. Info is scraped from statuspage on the modem (http://192.168.100.1)"
|
||||
echo "channel_1_pwr.label Channel 1 (dBmV)"
|
||||
echo "channel_1_pwr.type GAUGE"
|
||||
echo "channel_1_pwr.max 50"
|
||||
echo "channel_2_pwr.label Channel 2 (dBmV)"
|
||||
echo "channel_2_pwr.type GAUGE"
|
||||
echo "channel_2_pwr.max 50"
|
||||
echo "channel_3_pwr.label Channel 3 (dBmV)"
|
||||
echo "channel_3_pwr.type GAUGE"
|
||||
echo "channel_3_pwr.max 50"
|
||||
echo "channel_4_pwr.label Channel 4 (dBmV)"
|
||||
echo "channel_4_pwr.type GAUGE"
|
||||
echo "channel_4_pwr.max 50"
|
||||
echo "channel_5_pwr.label Channel 5 (dBmV)"
|
||||
echo "channel_5_pwr.type GAUGE"
|
||||
echo "channel_5_pwr.max 50"
|
||||
echo "channel_6_pwr.label Channel 6 (dBmV)"
|
||||
echo "channel_6_pwr.type GAUGE"
|
||||
echo "channel_6_pwr.max 50"
|
||||
echo "channel_7_pwr.label Channel 7 (dBmV)"
|
||||
echo "channel_7_pwr.type GAUGE"
|
||||
echo "channel_7_pwr.max 50"
|
||||
echo "channel_8_pwr.label Channel 8 (dBmV)"
|
||||
echo "channel_8_pwr.type GAUGE"
|
||||
echo "channel_8_pwr.max 50"
|
||||
echo "channel_1_snr.label Channel 1 (dB)"
|
||||
echo "channel_1_snr.type GAUGE"
|
||||
echo "channel_1_snr.max 50"
|
||||
echo "channel_2_snr.label Channel 2 (dB)"
|
||||
echo "channel_2_snr.type GAUGE"
|
||||
echo "channel_2_snr.max 50"
|
||||
echo "channel_3_snr.label Channel 3 (dB)"
|
||||
echo "channel_3_snr.type GAUGE"
|
||||
echo "channel_3_snr.max 50"
|
||||
echo "channel_4_snr.label Channel 4 (dB)"
|
||||
echo "channel_4_snr.type GAUGE"
|
||||
echo "channel_4_snr.max 50"
|
||||
echo "channel_5_snr.label Channel 5 (dB)"
|
||||
echo "channel_5_snr.type GAUGE"
|
||||
echo "channel_5_snr.max 50"
|
||||
echo "channel_6_snr.label Channel 6 (dB)"
|
||||
echo "channel_6_snr.type GAUGE"
|
||||
echo "channel_6_snr.max 50"
|
||||
echo "channel_7_snr.label Channel 7 (dB)"
|
||||
echo "channel_7_snr.type GAUGE"
|
||||
echo "channel_7_snr.max 50"
|
||||
echo "channel_8_snr.label Channel 8 (dB)"
|
||||
echo "channel_8_snr.type GAUGE"
|
||||
echo "channel_8_snr.max 50"
|
||||
printf "graph_title Cisco EPC3010 Downstream measurements\n";
|
||||
printf "graph_args -l 0 --base 1000\n"
|
||||
printf "graph_category other\n"
|
||||
printf "graph_vlabel Small number is Power Level, large number is SNR\n"
|
||||
printf "graph_info Downstream Signal to Noise Ratio (dB) and Power Level (dBmV) from Cisco EPC3010 modem. Info is scraped from statuspage on the modem (http://192.168.100.1)\n"
|
||||
printf "channel_1_pwr.label Channel 1 (dBmV)\n"
|
||||
printf "channel_1_pwr.type GAUGE\n"
|
||||
printf "channel_2_pwr.label Channel 2 (dBmV)\n"
|
||||
printf "channel_2_pwr.type GAUGE\n"
|
||||
printf "channel_3_pwr.label Channel 3 (dBmV)\n"
|
||||
printf "channel_3_pwr.type GAUGE\n"
|
||||
printf "channel_4_pwr.label Channel 4 (dBmV)\n"
|
||||
printf "channel_4_pwr.type GAUGE\n"
|
||||
printf "channel_5_pwr.label Channel 5 (dBmV)\n"
|
||||
printf "channel_5_pwr.type GAUGE\n"
|
||||
printf "channel_6_pwr.label Channel 6 (dBmV)\n"
|
||||
printf "channel_6_pwr.type GAUGE\n"
|
||||
printf "channel_7_pwr.label Channel 7 (dBmV)\n"
|
||||
printf "channel_7_pwr.type GAUGE\n"
|
||||
printf "channel_8_pwr.label Channel 8 (dBmV)\n"
|
||||
printf "channel_8_pwr.type GAUGE\n"
|
||||
printf "channel_1_snr.label Channel 1 (dB)\n"
|
||||
printf "channel_1_snr.type GAUGE\n"
|
||||
printf "channel_2_snr.label Channel 2 (dB)\n"
|
||||
printf "channel_2_snr.type GAUGE\n"
|
||||
printf "channel_3_snr.label Channel 3 (dB)\n"
|
||||
printf "channel_3_snr.type GAUGE\n"
|
||||
printf "channel_4_snr.label Channel 4 (dB)\n"
|
||||
printf "channel_4_snr.type GAUGE\n"
|
||||
printf "channel_5_snr.label Channel 5 (dB)\n"
|
||||
printf "channel_5_snr.type GAUGE\n"
|
||||
printf "channel_6_snr.label Channel 6 (dB)\n"
|
||||
printf "channel_6_snr.type GAUGE\n"
|
||||
printf "channel_7_snr.label Channel 7 (dB)\n"
|
||||
printf "channel_7_snr.type GAUGE\n"
|
||||
printf "channel_8_snr.label Channel 8 (dB)\n"
|
||||
printf "channel_8_snr.type GAUGE\n"
|
||||
exit 0
|
||||
fi
|
||||
if [ "$DIRECTION" == "upstream" ]; then
|
||||
echo "graph_title Cisco EPC3010 Upstream measurements";
|
||||
echo "graph_args -l 30 --base 1000"
|
||||
echo "graph_category network"
|
||||
echo "graph_vlabel Powerlevvel in dBmV"
|
||||
echo "graph_info Upstream Power Levels from Cisco EPC3010 modem,scraped from it's statuspage (http://192.168.100.1)"
|
||||
echo "channel_1_pwr.label Channel 1 (dBmV)"
|
||||
echo "channel_1_pwr.type GAUGE"
|
||||
echo "channel_1_pwr.max 60"
|
||||
echo "channel_2_pwr.label Channel 2 (dBmV)"
|
||||
echo "channel_2_pwr.type GAUGE"
|
||||
echo "channel_2_pwr.max 60"
|
||||
echo "channel_3_pwr.label Channel 3 (dBmV)"
|
||||
echo "channel_3_pwr.type GAUGE"
|
||||
echo "channel_3_pwr.max 60"
|
||||
echo "channel_4_pwr.label Channel 4 (dBmV)"
|
||||
echo "channel_4_pwr.type GAUGE"
|
||||
echo "channel_4_pwr.max 60"
|
||||
printf "graph_title Cisco EPC3010 Upstream measurements\n"
|
||||
printf "graph_args -l 30 --base 1000\n"
|
||||
printf "graph_category other\n"
|
||||
printf "graph_vlabel Power level in dBmV\n"
|
||||
printf "graph_info Upstream Power Levels from Cisco EPC3010 modem,scraped from its statuspage (http://192.168.100.1)\n"
|
||||
printf "channel_1_pwr.label Channel 1 (dBmV)\n"
|
||||
printf "channel_1_pwr.type GAUGE\n"
|
||||
printf "channel_2_pwr.label Channel 2 (dBmV)\n"
|
||||
printf "channel_2_pwr.type GAUGE\n"
|
||||
printf "channel_3_pwr.label Channel 3 (dBmV)\n"
|
||||
printf "channel_3_pwr.type GAUGE\n"
|
||||
printf "channel_4_pwr.label Channel 4 (dBmV)\n"
|
||||
printf "channel_4_pwr.type GAUGE\n"
|
||||
exit 0
|
||||
fi
|
||||
;;
|
||||
@ -184,4 +164,8 @@ if [ "$DIRECTION" == "upstream" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# rm -f $FILENAME
|
||||
|
||||
#
|
||||
# Remove tempory file, used for parsing data
|
||||
#
|
||||
rm -f $FILENAME
|
||||
|
Loading…
Reference in New Issue
Block a user