1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Merge pull request #553 from vlajos/typofixes-vlajos-20141204

typofixes - https://github.com/vlajos/misspell_fixer
This commit is contained in:
Stig Sandbeck Mathisen 2015-03-02 23:11:18 +01:00
commit a70f7e48b2
119 changed files with 176 additions and 176 deletions

View file

@ -146,7 +146,7 @@ fi
if [ "$1" = "config" ]; then
echo 'multigraph '${0##*/}'_in'
echo 'graph_title '$SUBCHAIN' traffic incomming ('$PROTO')'
echo 'graph_title '$SUBCHAIN' traffic incoming ('$PROTO')'
echo 'graph_args --base 1024 -l 0'
echo 'graph_vlabel bytes per ${graph_period}'
echo 'graph_order tcpIN udpIN icmpIN'

View file

@ -102,7 +102,7 @@ if response.code != '200'
puts 'Probably because the username and password are incorrect'
#Looks like the modem respons with 200 when you try to access a page that doesnt exist >_>
#when '404'
# puts 'Looks like the page this plugin needs isn\'t availible...'
# puts 'Looks like the page this plugin needs isn\'t available...'
# puts 'Check your modem make/model/version'
end
puts s

View file

@ -94,7 +94,7 @@ function DoCurl($url,$soap,$xml) {
$ch = curl_init("http://" . $GLOBALS["host"] . ":49000" . $url);
$headers = array();
//$headers[] = 'POST ' . $url . ' HTTP/1.1'; // Will be automaticly set.
//$headers[] = 'POST ' . $url . ' HTTP/1.1'; // Will be automatically set.
$headers[] = 'Content-Type: text/xml; charset="utf-8"';
$headers[] = 'HOST: ' . $GLOBALS["host"] . ':49000';
$headers[] = 'Content-Length: ' . strlen($xml);

View file

@ -20,7 +20,7 @@ IP=${IP:-"192.168.1.254"}
if [ "$1" = "config" ]
then
echo multigraph dbox_adsl_bw
echo graph_title DartyBox Adsl Bandwith
echo graph_title DartyBox Adsl Bandwidth
echo graph_category DartyBox
echo up.label UpStream
echo down.label DownStream

View file

@ -55,7 +55,7 @@ sub parseFile {
$zone = defined($zone) ? $zone : "";
if ($zone eq $dom) {
if (defined $lst->{$type}) {
# only keep the latest occurence for each value
# only keep the latest occurrence for each value
$lst->{$type} = $count;
}

View file

@ -4,7 +4,7 @@
# Author : Thomas VIAL
# Author URL : http://tvi.al
# Usage : ln -s /path/to/fping_ /etc/munin/plugins/fping_www.google.com
# Explaination : Will graph connection to www.google.com
# Explanation : Will graph connection to www.google.com
# Requirements :
# * fping
#

View file

@ -449,7 +449,7 @@ sub check_req()
########################################################################
# beyond that line, it should be generic stuffs, not dependant on what
# beyond that line, it should be generic stuffs, not dependent on what
# you are trying to graph
#
@ -577,7 +577,7 @@ sub run_fetch() {
}
push @{$data->{$field->[0]}}, $field;
}
# finished reading ? trucate it right away
# finished reading ? truncate it right away
truncate CACHE, 0;
close CACHE;
foreach my $graph (keys %$data) {

View file

@ -286,7 +286,7 @@ def graphs_for(protocol)
[ /(\d+) packets with ECN CE bit set$/, [ [ :packets, 'CE bit' ] ] ],
[ /(\d+) packets with ECN ECT\(0\) bit set$/, [ [ :packets, 'ECT(0) bit' ] ] ],
[ /(\d+) packets with ECN ECT\(1\) bit set$/, [ [ :packets, 'ECT(1) bit' ] ] ],
[ /(\d+) successful ECN handshakes$/, [ [ :packets, 'successfull handshakes' ] ] ],
[ /(\d+) successful ECN handshakes$/, [ [ :packets, 'successful handshakes' ] ] ],
[ /(\d+) times ECN reduced the congestion window$/, [ [ :packets, 'congestion window reduced' ] ] ]
])
]

View file

@ -20,12 +20,12 @@
force the running nsd process to write the current statistics.
Tip: To see if it's already set up correctly, just run this plugin
with the paramater "autoconf". If you get a "yes", everything should
with the parameter "autoconf". If you get a "yes", everything should
work like a charm already.
This configuration section shows the defaults of the plugin:
The stats line is a set of space-seperated values that you wish to
The stats line is a set of space-separated values that you wish to
retrieve from NSD. The format is VALUE=Caption. For spaces in a
caption value, replace them with an underscore (_).
@ -35,7 +35,7 @@
env.stats "A=A AAAA=AAAA MX=MX PTR=PTR TYPE252=AXFR SNXD=NXDOMAIN RQ=Total_Successful"
If you need to set a user for the logfile to be readable, and most
importantly, the process to recieve the signal, you may specify it.
importantly, the process to receive the signal, you may specify it.
For example:
[nsd]
@ -43,7 +43,7 @@
=head1 INTERPRETATION
The plugin shows the number of queries that nsd has recieved,
The plugin shows the number of queries that nsd has received,
averaged over a period to gain the number of queries per second.
For most servers, these values will be very low. In the event
of a misconfiguration, the plugin will return undefined values.
@ -77,7 +77,7 @@ import signal
STATS_FILE = os.environ.get('statsfile', '/var/log/nsd.log')
PID_FILE = os.environ.get('pidfile', '/var/run/nsd3/nsd.pid')
STATS_STRING = os.environ.get('stats', "A=A AAAA=AAAA MX=MX PTR=PTR TYPE252=AXFR SNXD=NXDOMAIN RQ=Total_Succesful")
STATS_STRING = os.environ.get('stats', "A=A AAAA=AAAA MX=MX PTR=PTR TYPE252=AXFR SNXD=NXDOMAIN RQ=Total_Successful")
BOTH_LISTS = STATS_STRING.split()

View file

@ -815,7 +815,7 @@ drops.type DERIVE
drops.min 0
established.label TCP connections established
established.type GAUGE
received.label TCP packets recieved
received.label TCP packets received
received.type DERIVE
received.min 0
transmitted.label TCP packets transmitted

View file

@ -33,7 +33,7 @@
#
# If you're using CookieAuthentication, you should run this plugin as
# a user which has read access to the tor datafiles. Also note that
# bugs in versions upto and including 0.1.1.20 prevent
# bugs in versions up to and including 0.1.1.20 prevent
# CookieAuthentication from working.
#
# Usage: place in /etc/munin/plugins (or link it there using ln -s)

View file

@ -18,7 +18,7 @@
# effect, that file shouldn't be world-readable.
# If you're using CookieAuthentication, you should run this plugin as a user
# which has read access to the tor datafiles. Also note that bugs in versions
# upto and including 0.1.1.20 prevent CookieAuthentication from working.
# up to and including 0.1.1.20 prevent CookieAuthentication from working.
#
# Usage: place in /etc/munin/node.d/ (or link it there using ln -s)
#

View file

@ -26,7 +26,7 @@
********************
* Please Note: This version was only tested on one single router so far.
* I tried to make the router detection pretty general, but you never know.
* If you have a router with enabled upnp not beeing detected by this script
* If you have a router with enabled upnp not being detected by this script
* feel free to send me an email with your output of:
*
* $ upnpc -s