1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41: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

@ -152,7 +152,7 @@ def getNumDHCPClients():
"""Returns the number of DHCP clients with currently active leases. This
will only ever be polled via SNMP once per invocation. If called a second
time, it will just return the first value it found. This is intended to be
an optimisation to reduce SNMP roundtrips becaues this script should not be
an optimisation to reduce SNMP roundtrips because this script should not be
long-running"""
global NUMDHCPCLIENTS
dhcpNumberOID = '.1.3.6.1.4.1.63.501.3.3.1.0'

View file

@ -261,7 +261,7 @@ my %vlabel =
batteryvolt => 'Volt',
frequency => 'Hz',
status => 'code value',
temperature => 'Celcius',
temperature => 'Celsius',
load => 'Percent',
current => 'Ampere',
);
@ -346,7 +346,7 @@ sub collect_snmp {
# make a (one) query to get them all. Returns a hash of the
# values keyed by OID.
#
# Occurances of "noSuchInstance" is replaced by "U".
# Occurrences of "noSuchInstance" is replaced by "U".
my ( $snmp ) = @_;

View file

@ -9,9 +9,9 @@ The counters shown:
enc_out: Encoding errors outside FC frame.
Not as interesting as enc_out_per_mframe,
but it reflects the absolute values, instead
of being put in relation to the port's trafic.
of being put in relation to the port's traffic.
enc_out_per_mframe: As above, but per million frames of trafic.
enc_out_per_mframe: As above, but per million frames of traffic.
If there is a high number for this counter,
it could reflect:
- If there is also a high value for
@ -118,7 +118,7 @@ oidstrs = {
descriptions = {
'rx_crcs' : 'the number of CRC errors detected for frames received',
'enc_out' : 'encoding errors outside FC frame',
'enc_out_per_mframe': 'enc errors outside FC frame, per million frames of rx+tx trafic',
'enc_out_per_mframe': 'enc errors outside FC frame, per million frames of rx+tx traffic',
'bits' : 'received(rx)/transmitted(tx) bits'
}

View file

@ -68,7 +68,7 @@
# Did a bit of work on the snmp-thingie.
#
# Revision 1.1 2004/01/02 18:50:00 jimmyo
# Renamed occurrances of lrrd -> munin
# Renamed occurrences of lrrd -> munin
#
# Revision 1.1.1.1 2004/01/02 15:18:07 jimmyo
# Import of LRRD CVS tree after renaming to Munin

View file

@ -31,7 +31,7 @@
# Fortigate Activate snmp on your Fortigate firewall.
# Fortigate documentation at https://support.fortinet.com
#
# MIB Download and copy the original Fortigate MIB defintion files to:
# MIB Download and copy the original Fortigate MIB definition files to:
# /usr/share/snmp/mibs/FORTINET-CORE-MIB.mib.txt
# /usr/share/snmp/mibs/FORTINET-FORTIGATE-MIB.mib
#

View file

@ -46,7 +46,7 @@ It may show something like this:
IF-MIB::ifType.13 = INTEGER: propVirtual(53)
IF-MIB::ifType.123 = INTEGER: l2vlan(135)
propVirtual or l2vlan is usualy used for VLAN interfaces. Tunnel
propVirtual or l2vlan is usually used for VLAN interfaces. Tunnel
would normaly be for VPNs. A minor horde of different interface types
are supposted, please see IANAifType-MIB (on your system or find with
Google) for a full list.
@ -96,7 +96,7 @@ Pulling in a user definable set of ifName/ifDescr/ifAlias for textual
description and even graph_title would also be nice.
IFF we get a patch to support the .oldname attribute then we may use
that to let the operator change the indexing dynamicaly without data
that to let the operator change the indexing dynamically without data
loss.
=head1 FEATURES

View file

@ -37,7 +37,7 @@ if len(sys.argv) == 2 and sys.argv[1] == "config":
print 'graph_info This graph shows CIFS usage on '+servername
print 'cifsConnectedUsers.label ConnectedUsers'
print 'cifsConnectedUsers.info The curent number of CIFS users on the filer'
print 'cifsConnectedUsers.info The current number of CIFS users on the filer'
print 'cifsNSessions.label NumberOfSessions'
print 'cifsNSessions.info The current number of active CIFS session on the filer'

View file

@ -71,7 +71,7 @@ sub do_collect
@tmp = split(/:/, $line);
if ( $tmp[1] =~ "Idle")
{
$value = 0; #reallocate idle intialising
$value = 0; #reallocate idle initialising
}
elsif ( $tmp[1] =~ "Reallocating" )
{

View file

@ -144,11 +144,11 @@ sub do_fetch_root
}
elsif ($status == 2 )
{
$sisSumIni++; #sis intialising
$sisSumIni++; #sis initialising
}
elsif ( $status == 3)
{
$sisSumRun++; #sis runnung
$sisSumRun++; #sis running
}
elsif ( $status == 5)
{

View file

@ -277,7 +277,7 @@ err () {
_errorMsg="$1"
_exitCode="$2"
else
_errorMsg="Fatal: An unknown error occured! Exiting..."
_errorMsg="Fatal: An unknown error occurred! Exiting..."
_exitCode="$E_UNKNOWN"
fi

View file

@ -82,7 +82,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config") {
print "host_name $host\n" unless $host eq 'localhost';
print "graph_title $host temperatures\n";
print "graph_args --base 1000 --lower-limit 30\n";
print "graph_vlabel degrees Celcius\n";
print "graph_vlabel degrees Celsius\n";
print "graph_category sensors\n";
print "graph_info This graph shows the temperatures on host $host\n";
foreach $idx ( 0..$numTemps-1 ) {