mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 10:39:53 +00:00
Fix spelling mistakes
This commit is contained in:
parent
d1a69fe25b
commit
3674882662
15 changed files with 22 additions and 22 deletions
|
@ -38,7 +38,7 @@ if [ "$1" = "config" ]; then
|
||||||
echo "sys.info CPU time spent in running the kernel code"
|
echo "sys.info CPU time spent in running the kernel code"
|
||||||
|
|
||||||
echo_func user user STACK
|
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_func wio iowait STACK
|
||||||
echo 'wio.info CPU idle time in waiting IO (disk)'
|
echo 'wio.info CPU idle time in waiting IO (disk)'
|
||||||
|
|
|
@ -63,7 +63,7 @@ case $1 in
|
||||||
echo "multigraph jitsi_videobridge_sessions"
|
echo "multigraph jitsi_videobridge_sessions"
|
||||||
echo "graph_title Current jitsi-videobridge sessions"
|
echo "graph_title Current jitsi-videobridge sessions"
|
||||||
echo "graph_info 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 "graph_args --base 1000 -l 0"
|
||||||
echo "jitsi_videochannels.label videochannels"
|
echo "jitsi_videochannels.label videochannels"
|
||||||
echo "jitsi_videochannels.info current number of videochannels"
|
echo "jitsi_videochannels.info current number of videochannels"
|
||||||
|
|
|
@ -128,9 +128,9 @@ def get_data(do_save=True):
|
||||||
if ',CONNECT,' not in line:
|
if ',CONNECT,' not in line:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
splitted = line.split(',')
|
split = line.split(',')
|
||||||
key = splitted[2]
|
key = split[2]
|
||||||
date = datetime.strptime(splitted[0], '%Y%m%d %H:%M:%S')
|
date = datetime.strptime(split[0], '%Y%m%d %H:%M:%S')
|
||||||
# hack to add timezone data to the datetime
|
# hack to add timezone data to the datetime
|
||||||
date = begin + (date - begin_local)
|
date = begin + (date - begin_local)
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
# NFS automounted mounted on server.
|
# NFS automounted mounted on server.
|
||||||
# Example: the SNMP id for cpuBusyTimePerCent is
|
# Example: the SNMP id for cpuBusyTimePerCent is
|
||||||
# snmp.1.3.6.1.4.1.789.1.2.1.3.0
|
# 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
|
# snmpget -v 1 -c public netappfiler 1.3.6.1.4.1.789.1.2.1.3.0
|
||||||
#
|
#
|
||||||
# Requires snmpget and assumes public community.
|
# Requires snmpget and assumes public community.
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
# NFS automounted mounted on server.
|
# NFS automounted mounted on server.
|
||||||
# Example: the SNMP id for cpuBusyTimePerCent is
|
# Example: the SNMP id for cpuBusyTimePerCent is
|
||||||
# snmp.1.3.6.1.4.1.789.1.2.1.3.0
|
# 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
|
# snmpget -v 1 -c public netappfiler 1.3.6.1.4.1.789.1.2.1.3.0
|
||||||
#
|
#
|
||||||
# Requires snmpget and assumes public community.
|
# Requires snmpget and assumes public community.
|
||||||
|
|
|
@ -46,7 +46,7 @@ graph_vlabel dB(?)
|
||||||
graph_category network
|
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.
|
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
|
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.
|
# not available in busybox (which is used in openwrt firmware) it seems.
|
||||||
# So work around it with case.
|
# So work around it with case.
|
||||||
: ${WIFISIDE:=$(nvram get lan_ifname 2>/dev/null)}
|
: ${WIFISIDE:=$(nvram get lan_ifname 2>/dev/null)}
|
||||||
|
|
|
@ -124,7 +124,7 @@ fi
|
||||||
echo "proc.value" $(ps ax --no-headers -o command | grep "^$afpdPath" | wc -l)
|
echo "proc.value" $(ps ax --no-headers -o command | grep "^$afpdPath" | wc -l)
|
||||||
|
|
||||||
# Connected users (user):
|
# 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}')
|
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`
|
echo "user.value" `echo $connectedUsers | wc -w`
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,8 @@ $labels = array(
|
||||||
"free" => "test-debit.free.fr"
|
"free" => "test-debit.free.fr"
|
||||||
);
|
);
|
||||||
|
|
||||||
//Connexion Mbits (30/100)
|
//Connection Mbits (30/100)
|
||||||
$connexion = 35;
|
$connection = 35;
|
||||||
|
|
||||||
// CONFIG ------------------------------------------------------------------
|
// CONFIG ------------------------------------------------------------------
|
||||||
if ($argc > 1 && $argv[1]=='config'){
|
if ($argc > 1 && $argv[1]=='config'){
|
||||||
|
@ -33,10 +33,10 @@ graph_args --base 1024
|
||||||
graph_vlabel DL (MB/s)
|
graph_vlabel DL (MB/s)
|
||||||
grenouille.label Grenouille (NC)
|
grenouille.label Grenouille (NC)
|
||||||
grenouille.type GAUGE
|
grenouille.type GAUGE
|
||||||
maximum.label Connexion (max)
|
maximum.label Connection (max)
|
||||||
maximum.type GAUGE
|
maximum.type GAUGE
|
||||||
maximum.colour ff0000
|
maximum.colour ff0000
|
||||||
maximum.max ".$connexion."00000
|
maximum.max ".$connection."00000
|
||||||
";
|
";
|
||||||
|
|
||||||
$order="";
|
$order="";
|
||||||
|
@ -76,7 +76,7 @@ foreach ($mire as $label => $url) {
|
||||||
|
|
||||||
$output .= "$label.value ".round($cache[$label])."\n";
|
$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;
|
echo $output;
|
||||||
|
|
||||||
// SPEED TEST --------------------------------------------------------------
|
// SPEED TEST --------------------------------------------------------------
|
||||||
|
|
|
@ -75,7 +75,7 @@ httpStatusString = (
|
||||||
"400:Bad request;401:Unauthorized;402:Payment required;403:Forbidden;404:Not found;"
|
"400:Bad request;401:Unauthorized;402:Payment required;403:Forbidden;404:Not found;"
|
||||||
"405:Method not allowed;406:Not acceptable;407:Proxy Authentication Required;"
|
"405:Method not allowed;406:Not acceptable;407:Proxy Authentication Required;"
|
||||||
"408:Request timeout;409:Conflict;410:Gone;411:Length required;412:Precondition failed;"
|
"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;"
|
"416:Request range not satisfiable;417:Expectation failed;422:Unprocessable entity;"
|
||||||
"423:Locked;424:Failed dependency;425:Unordered collection;426:Upgrade required;"
|
"423:Locked;424:Failed dependency;425:Unordered collection;426:Upgrade required;"
|
||||||
"449:Retry with;456:Unrecoverable error;500:Internal server error;501:Not implemented;"
|
"449:Retry with;456:Unrecoverable error;500:Internal server error;501:Not implemented;"
|
||||||
|
|
|
@ -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
|
#%# family=manual
|
||||||
#%# capabilities=autoconf
|
#%# capabilities=autoconf
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#
|
#
|
||||||
#################################################################
|
#################################################################
|
||||||
#################################################################
|
#################################################################
|
||||||
# Settigs required for autoconf
|
# Settings required for autoconf
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
#%# capabilities=autoconf suggest
|
#%# capabilities=autoconf suggest
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
# [php_opcache]
|
# [php_opcache]
|
||||||
# env.URL http://example/php_opcache.php
|
# env.URL http://example/php_opcache.php
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Settigs required for autoconf
|
# Settings required for autoconf
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
#%# capabilities=autoconf suggest
|
#%# capabilities=autoconf suggest
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ munin-node.
|
||||||
|
|
||||||
=cut
|
=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.
|
# Remember that postconf is not available unless postfix is.
|
||||||
POSTCONFSPOOL="$(postconf -h queue_directory 2>/dev/null || echo /var/spool/postfix)"
|
POSTCONFSPOOL="$(postconf -h queue_directory 2>/dev/null || echo /var/spool/postfix)"
|
||||||
|
|
|
@ -82,7 +82,7 @@ munin-node.
|
||||||
|
|
||||||
=cut
|
=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.
|
# Remember that postconf is not available unless postfix is.
|
||||||
CONFIG=${0##*postfix_mailqueue_}
|
CONFIG=${0##*postfix_mailqueue_}
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
#
|
#
|
||||||
# 2019-08-30 v 1.4 pcy <pcy@ulyssis.org>:
|
# 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
|
# - 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
|
# - OTHERS_FIELD now defaults to disabled, explicitly give it a
|
||||||
# value to reenable it (eg. 'others')
|
# value to re-enable it (eg. 'others')
|
||||||
# - use ps(1) instead of top(1) for easier and more robust
|
# - use ps(1) instead of top(1) for easier and more robust
|
||||||
# parsing/summary calculation
|
# parsing/summary calculation
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue