diff --git a/plugins/cpu/cpuutil b/plugins/cpu/cpuutil index 57421392..aaf1dc01 100755 --- a/plugins/cpu/cpuutil +++ b/plugins/cpu/cpuutil @@ -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)' diff --git a/plugins/jitsi/jitsi_videobridge b/plugins/jitsi/jitsi_videobridge index 4c0d9056..51e434d5 100755 --- a/plugins/jitsi/jitsi_videobridge +++ b/plugins/jitsi/jitsi_videobridge @@ -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" diff --git a/plugins/mysql/mysql_audit b/plugins/mysql/mysql_audit index 14a3878a..fb68af82 100755 --- a/plugins/mysql/mysql_audit +++ b/plugins/mysql/mysql_audit @@ -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) diff --git a/plugins/netapp/snmp__netapp_cifs b/plugins/netapp/snmp__netapp_cifs index 0e4b8f6c..23acc2c7 100755 --- a/plugins/netapp/snmp__netapp_cifs +++ b/plugins/netapp/snmp__netapp_cifs @@ -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. diff --git a/plugins/netapp/snmp__netapp_cpu b/plugins/netapp/snmp__netapp_cpu index 5aef035c..95350e55 100755 --- a/plugins/netapp/snmp__netapp_cpu +++ b/plugins/netapp/snmp__netapp_cpu @@ -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. diff --git a/plugins/network/brc_rssi b/plugins/network/brc_rssi index 146bdc87..ae5a886c 100755 --- a/plugins/network/brc_rssi +++ b/plugins/network/brc_rssi @@ -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 quite 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)} diff --git a/plugins/network/netatalk b/plugins/network/netatalk index 58c53c68..86b59da7 100755 --- a/plugins/network/netatalk +++ b/plugins/network/netatalk @@ -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` diff --git a/plugins/network/speedtest-download-bandwidth b/plugins/network/speedtest-download-bandwidth index 7f930b1c..545ece40 100755 --- a/plugins/network/speedtest-download-bandwidth +++ b/plugins/network/speedtest-download-bandwidth @@ -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 -------------------------------------------------------------- diff --git a/plugins/nginx/nginx_upstream_multi_ b/plugins/nginx/nginx_upstream_multi_ index a1ee02f0..455f3594 100755 --- a/plugins/nginx/nginx_upstream_multi_ +++ b/plugins/nginx/nginx_upstream_multi_ @@ -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;" diff --git a/plugins/php/eaccelerator b/plugins/php/eaccelerator index 40526816..d7885118 100755 --- a/plugins/php/eaccelerator +++ b/plugins/php/eaccelerator @@ -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 diff --git a/plugins/php/php_apc_ b/plugins/php/php_apc_ index bbf152e3..d9be9ce8 100755 --- a/plugins/php/php_apc_ +++ b/plugins/php/php_apc_ @@ -26,7 +26,7 @@ # ################################################################# ################################################################# -# Settigs required for autoconf +# Settings required for autoconf #%# family=auto #%# capabilities=autoconf suggest diff --git a/plugins/php/php_opcache b/plugins/php/php_opcache index 89d18b4a..da27a69c 100755 --- a/plugins/php/php_opcache +++ b/plugins/php/php_opcache @@ -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 diff --git a/plugins/postfix/postfix-queue-size b/plugins/postfix/postfix-queue-size index 5f9db598..df5092fe 100755 --- a/plugins/postfix/postfix-queue-size +++ b/plugins/postfix/postfix-queue-size @@ -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)" diff --git a/plugins/postfix/postfix_mailqueue_ b/plugins/postfix/postfix_mailqueue_ index c2d4cb7b..abd110f6 100755 --- a/plugins/postfix/postfix_mailqueue_ +++ b/plugins/postfix/postfix_mailqueue_ @@ -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_} diff --git a/plugins/user/cpubyuser b/plugins/user/cpubyuser index d961023d..2b383b82 100755 --- a/plugins/user/cpubyuser +++ b/plugins/user/cpubyuser @@ -18,8 +18,8 @@ # # 2019-08-30 v 1.4 pcy : # - 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 #