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

@ -38,7 +38,7 @@ if [ "$1" = "config" ]; then
echo "sys.info CPU time spent in running the kernel code"
echo_func user user STACK
echo 'user.info CPU time spent by tunning application code'
echo 'user.info CPU time spent by tuning application code'
echo_func wio iowait STACK
echo 'wio.info CPU idle time in waiting IO (disk)'

View File

@ -63,7 +63,7 @@ case $1 in
echo "multigraph jitsi_videobridge_sessions"
echo "graph_title Current jitsi-videobridge sessions"
echo "graph_info Current jitsi-videobridge sessions"
echo "graph_vlabel current sesssions"
echo "graph_vlabel current sessions"
echo "graph_args --base 1000 -l 0"
echo "jitsi_videochannels.label videochannels"
echo "jitsi_videochannels.info current number of videochannels"

View File

@ -128,9 +128,9 @@ def get_data(do_save=True):
if ',CONNECT,' not in line:
continue
splitted = line.split(',')
key = splitted[2]
date = datetime.strptime(splitted[0], '%Y%m%d %H:%M:%S')
split = line.split(',')
key = split[2]
date = datetime.strptime(split[0], '%Y%m%d %H:%M:%S')
# hack to add timezone data to the datetime
date = begin + (date - begin_local)

View File

@ -8,7 +8,7 @@
# NFS automounted mounted on server.
# Example: the SNMP id for cpuBusyTimePerCent is
# snmp.1.3.6.1.4.1.789.1.2.1.3.0
# and retrival of this value is done by
# and retrieval of this value is done by
# snmpget -v 1 -c public netappfiler 1.3.6.1.4.1.789.1.2.1.3.0
#
# Requires snmpget and assumes public community.

View File

@ -8,7 +8,7 @@
# NFS automounted mounted on server.
# Example: the SNMP id for cpuBusyTimePerCent is
# snmp.1.3.6.1.4.1.789.1.2.1.3.0
# and retrival of this value is done by
# and retrieval of this value is done by
# snmpget -v 1 -c public netappfiler 1.3.6.1.4.1.789.1.2.1.3.0
#
# Requires snmpget and assumes public community.

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 --------------------------------------------------------------

View File

@ -75,7 +75,7 @@ httpStatusString = (
"400:Bad request;401:Unauthorized;402:Payment required;403:Forbidden;404:Not found;"
"405:Method not allowed;406:Not acceptable;407:Proxy Authentication Required;"
"408:Request timeout;409:Conflict;410:Gone;411:Length required;412:Precondition failed;"
"413:Request entity too large;414:Request URI too large;415:Usupported media type;"
"413:Request entity too large;414:Request URI too large;415:Unsupported media type;"
"416:Request range not satisfiable;417:Expectation failed;422:Unprocessable entity;"
"423:Locked;424:Failed dependency;425:Unordered collection;426:Upgrade required;"
"449:Retry with;456:Unrecoverable error;500:Internal server error;501:Not implemented;"

View File

@ -62,7 +62,7 @@ WGET_FLAGS="-Yoff"; # refer to wget manual, you may set extra parameters like di
#################################################################
#################################################################
# Settigs required for autoconf
# Settings required for autoconf
#%# family=manual
#%# capabilities=autoconf

View File

@ -26,7 +26,7 @@
#
#################################################################
#################################################################
# Settigs required for autoconf
# Settings required for autoconf
#%# family=auto
#%# capabilities=autoconf suggest

View File

@ -10,7 +10,7 @@
# [php_opcache]
# env.URL http://example/php_opcache.php
###############################################################################
# Settigs required for autoconf
# Settings required for autoconf
#%# family=auto
#%# capabilities=autoconf suggest

View File

@ -81,7 +81,7 @@ munin-node.
=cut
# atempt to get spooldir via postconf, but environment overrides.
# attempt to get spooldir via postconf, but environment overrides.
# Remember that postconf is not available unless postfix is.
POSTCONFSPOOL="$(postconf -h queue_directory 2>/dev/null || echo /var/spool/postfix)"

View File

@ -82,7 +82,7 @@ munin-node.
=cut
# atempt to get spooldir via postconf, but environment overrides.
# attempt to get spooldir via postconf, but environment overrides.
# Remember that postconf is not available unless postfix is.
CONFIG=${0##*postfix_mailqueue_}

View File

@ -18,8 +18,8 @@
#
# 2019-08-30 v 1.4 pcy <pcy@ulyssis.org>:
# - add USERS=ALLPROC, not relying on a tty or pty being present for user detection
# - OTHERS_FIELD now defaults to disabled, explicitely give it a
# value to reenable it (eg. 'others')
# - OTHERS_FIELD now defaults to disabled, explicitly give it a
# value to re-enable it (eg. 'others')
# - use ps(1) instead of top(1) for easier and more robust
# parsing/summary calculation
#