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 in comments and descriptions

Thanks, codespell!
This commit is contained in:
Lars Kruse 2020-03-26 02:12:57 +01:00
parent 561da1a3f1
commit 8713eb3722
162 changed files with 248 additions and 248 deletions

View file

@ -47,7 +47,7 @@ fi
# Nur fuer Testzwecke kann das - For testing only you can
# Zeitfenster vergroessert werden resize the reference periode
# Zeitfenster vergroessert werden resize the reference period
if [ "${1//[^[:digit:]]}" != "" ]; then
factor=${1//[^[:digit:]]}
else
@ -60,7 +60,7 @@ fi
# Zeitfenster in Sekunden - time slot in seconds
let Timeslot=60*30*$factor
# Referenzzeitpunkt berechnen - calculate the reference periode
# Referenzzeitpunkt berechnen - calculate the reference period
let Ref_Timestamp=Timestamp-Timeslot
# Zeitstempel der letzten Aktualisierung - timestampe of the last update
@ -75,7 +75,7 @@ fi
echo "ip_change.value 0"
fi
# Nur zum Testen - for testing ony
# Nur zum Testen - for testing only
if [ "$factor" -gt 1 ]; then
echo "======================== Nur fuer Testzwecke ======================"
echo "Timestamp :" $Timestamp $(date -d "1970-01-01 UTC + $Timestamp seconds")

View file

@ -1,7 +1,7 @@
#!/bin/sh -eu
#
# Plugin to monitor the number of hosts in /etc/hosts.deny
# that are deined access to sshd
# that are denied access to sshd
#
# Based on denyhosts plugin by tjansson (2009)
#

View file

@ -26,7 +26,7 @@ Virtual interface names prefixes with '~'
This plugin is configurable environment variables.
env.exclude - Removing interfaces from graphs, default empty
env.include - Includes interfaces into graphs, default empty
env.if_max_bps - Maximum interface bps. Avialable suffixes: k, M, G, default empty
env.if_max_bps - Maximum interface bps. Available suffixes: k, M, G, default empty
env.protexct_peaks - Protect graph peaks, default 'no'
env.min_packet_size - Minimal network packet size, default 20
Example:
@ -73,7 +73,7 @@ my $ifpath = '/sys/class/net';
# ----------------------------------- global -----------------
my $interfaces = {};
# ------------------------ avialable graphs -------------------------
# ------------------------ available graphs -------------------------
my $graphs =
{
'if_bit' =>
@ -178,7 +178,7 @@ my $graphs =
{
'category' => 'network',
'args' => '--base 1024',
'title' => ':if: avgerage packet size',
'title' => ':if: average packet size',
'vlabel' => 'bytes',
'info' => 'This graph shows average packet size of the :if:'
},
@ -187,7 +187,7 @@ my $graphs =
}
};
#-------------------------- avialable fields -------------------------
#-------------------------- available fields -------------------------
# info:
# 'munin' => {} - just copy fields to munin config
# 'source' => - field data source

View file

@ -23,7 +23,7 @@ int fail(char* msg) {
}
/* Returns the ifname from a /proc/net/dev line
* It will return an inside pointer to line, and modifiy the end with a \0
* It will return an inside pointer to line, and modify the end with a \0
*/
char* get_ifname_from_procstatline(char* line) {
char *ifname;

View file

@ -17,12 +17,12 @@ plugin configuration:
# run plugin as root (required if you have VLAN sub-interfaces)
user = root
# comma separated list of intreface patterns to exclude from monitoring
# comma separated list of interface patterns to exclude from monitoring
# default: lo
# example:
env.exclude = lo,vnet*
# comma separated list of intreface patterns to include in monitoring
# comma separated list of interface patterns to include in monitoring
# default: (empty)
# example:
env.include = br_*
@ -43,7 +43,7 @@ Tested on: RHEL 6.x and clones (with Python 2.6)
TODO:
* implement 'data loaning' between graphs, removes duplicit measures
* add support for bridging
* configurable graph max based on intreface speed
* configurable graph max based on interface speed
MUNIN MAGIC MARKER
#%# family=manual

View file

@ -6,7 +6,7 @@
=head1 NAME
multibandwidth - Plugin to monitor the bandwidth between localhost and serveral hosts.
multibandwidth - Plugin to monitor the bandwidth between localhost and several hosts.
=head1 APPLICABLE SYSTEMS
@ -82,7 +82,7 @@ case $1 in
echo 'graph_args --base 1024 -l 0'
echo 'graph_scale yes'
echo 'graph_category network'
echo 'graph_info This graph shows the bandwidth between localhost and serveral hosts'
echo 'graph_info This graph shows the bandwidth between localhost and several hosts'
for host in $hosts; do
fieldname="host_$(clean_fieldname "$host")"
echo "$fieldname.label $host"

View file

@ -48,7 +48,7 @@ function count_connected_users () {
local afpd_bin_path=$1
afpd_procs=$(ps anx --no-headers -o uid,command |grep -E "\w+\d+*\s${afpd_bin_path}" |wc -l)
# one of those processes will be always from root user, so it's not being
# used to externaly connect volumes, therefor being disconsider.
# used to externally connect volumes, therefore being ignored.
echo $(echo "${afpd_procs} - 1" |bc)
}
@ -119,7 +119,7 @@ EOM
#### Boilerplates ####################################################
# Locating AFP related files:
# * Binary: Using the first result of "which" command;
# * Config: Using "afpd" with parameters to pring configuration file
# * Config: Using "afpd" with parameters to print configuration file
# location;
#

View file

@ -11,7 +11,7 @@
=head1 APPLICABLE SYSTEMS
Linux or *nix system with a logging installtion of NSD v3 installed.
Linux or *nix system with a logging installation of NSD v3 installed.
(http://nlnetlabs.nl/projects/nsd/)
=head1 CONFIGURATION

View file

@ -11,7 +11,7 @@
#
# 2009.09.28 _KaszpiR_
# - quick an ddirty update to support multiple interfaces, for example symlink vnstat_ to vnstat_eth0 and vnstat_eth1
# rember to run before that vnstat -u -i eth0 and vnstat -u -i eth1 to build databases (read manual of vnstat)
# remember to run before that vnstat -u -i eth0 and vnstat -u -i eth1 to build databases (read manual of vnstat)
# other updates of this script maybe soon