1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Fix spelling mistakes

This commit is contained in:
Lars Kruse 2020-08-25 15:45:57 +02:00
parent d1a69fe25b
commit 3674882662
15 changed files with 22 additions and 22 deletions

View file

@ -46,7 +46,7 @@ graph_vlabel dB(?)
graph_category network
graph_info This plugin shows the RSSI (Received Signal Strength Indication) as reported by the Access Point (AP) driver. The plugin is specific to broadcom wireless chipsets such as used on WRT hardware. We're not <em>quite</em> sure about the units the RSSI is measured in as this is not documented. Both dB and dBm are apparently candidates. Higher is better.
EOF
# Atempt to find default. "Set default" and "assign default" syntax is
# Attempt to find default. "Set default" and "assign default" syntax is
# not available in busybox (which is used in openwrt firmware) it seems.
# So work around it with case.
: ${WIFISIDE:=$(nvram get lan_ifname 2>/dev/null)}

View file

@ -124,7 +124,7 @@ fi
echo "proc.value" $(ps ax --no-headers -o command | grep "^$afpdPath" | wc -l)
# Connected users (user):
# We will ignore root (having UID=0 it's line will be first) (assomption done: there will have only one line corresponding to root in `ps` output)
# We will ignore root (having UID=0 it's line will be first) (assumption done: there will have only one line corresponding to root in `ps` output)
connectedUsers=$(ps anx --no-headers -o uid,command | sed 's/^ *//g' | grep "^[0-9]* $afpdPath" | sort -n | tail -n +2 | awk '{print $1}')
echo "user.value" `echo $connectedUsers | wc -w`

View file

@ -21,8 +21,8 @@ $labels = array(
"free" => "test-debit.free.fr"
);
//Connexion Mbits (30/100)
$connexion = 35;
//Connection Mbits (30/100)
$connection = 35;
// CONFIG ------------------------------------------------------------------
if ($argc > 1 && $argv[1]=='config'){
@ -33,10 +33,10 @@ graph_args --base 1024
graph_vlabel DL (MB/s)
grenouille.label Grenouille (NC)
grenouille.type GAUGE
maximum.label Connexion (max)
maximum.label Connection (max)
maximum.type GAUGE
maximum.colour ff0000
maximum.max ".$connexion."00000
maximum.max ".$connection."00000
";
$order="";
@ -76,7 +76,7 @@ foreach ($mire as $label => $url) {
$output .= "$label.value ".round($cache[$label])."\n";
}
$output .= "maximum.value ".round($connexion * 1024 * 1024 / 10)."\n";
$output .= "maximum.value ".round($connection * 1024 * 1024 / 10)."\n";
echo $output;
// SPEED TEST --------------------------------------------------------------