Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Suspicious sections:
plugins/mail/postfix_mail_stats		recieved.label
plugins/nginx/nginx_vhost_traffic
  • Loading branch information
vlajos committed Mar 2, 2015
1 parent 8e18199 commit fba800a
Show file tree
Hide file tree
Showing 119 changed files with 176 additions and 176 deletions.
2 changes: 1 addition & 1 deletion plugins/amr/amr
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ if ($#ARGV > -1 && $ARGV[0] eq "config") {
else {
# this may not scale so well with large graphs, and is useful only
# for debugging, when you want to run this repeatedly without
# loosing data
# losing data
# this will also mean that stations that disappear will remain forever
save_state $pos, %stations;
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/apache/apache_status
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This will provide for HTTP basic authentication.
=head1 INTERPRETATION
=head2 APACHE ACCESES
=head2 APACHE ACCESSES
The graph shows the number of accesses (pages and other items served)
globally on the Apache server.
Expand Down
2 changes: 1 addition & 1 deletion plugins/apache/apache_threads
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ USR=$apuser
PROCS=$binname


# Catch proccess pid
# Catch process pid
VAL1=`ps auxf | grep ${PROCS} | grep ^${USR} | grep -v grep | awk '{print $2}' `

# Count pids
Expand Down
2 changes: 1 addition & 1 deletion plugins/apache/eaccelerator
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# foreach($keys as $key => $val) echo strtolower($key).".value ".$info[$key]."\n";
# ?>
#
# - name that file eaccelerator_status.php, will be easier, file should be at least accesible from the address that runs this script (usally localhost)
# - name that file eaccelerator_status.php, will be easier, file should be at least accesible from the address that runs this script (usually localhost)
# you can make this file accessible globally, it just displays the memor usage by eaccelerator, thats all.
# usually you can put it to the /var/www/ (but it depends on the server configuration etc)
# - check if you can see the output of the file, for example if you placed file in the DocumentRoot then it should be available from
Expand Down
2 changes: 1 addition & 1 deletion plugins/apache/page_load
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# apache2.conf
# LogFormat "%h %l %u %t \"%r\" %>s %O %b %D \"%{Referer}i\" \"%{User-Agent}i\"" custom
#
# Acording to : http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
# According to : http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
# %D The time taken to serve the request, in microseconds.
# In our case %D -> 9
######################################################################################################
Expand Down
2 changes: 1 addition & 1 deletion plugins/ceph/ceph-osd-info
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Jort Bloem
=head1 EXCUSES
This is one of the first programs I wrote in Python. I got carried away
by Python's powerfull one-line commands. Just because you can, doesn't
by Python's powerful one-line commands. Just because you can, doesn't
mean you should.
This program needs a rewrite, and if there were any problems with it,
Expand Down
2 changes: 1 addition & 1 deletion plugins/disk/df_with_nfs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# Use "sed 1d" instead of "tail +2" in df plugins (patch by Olivier Delhomme).
#
# Revision 1.1 2004/01/02 18:50:01 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
Expand Down
6 changes: 3 additions & 3 deletions plugins/disk/du
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
# directory to check
DIR="/var/cache/apache2/"

# unique id, just in case you got multiple such scripts, change id as needed (i guess it shoudl be obsolete, not tested)
# unique id, just in case you got multiple such scripts, change id as needed (i guess it should be obsolete, not tested)
ID=1;

# - make sure that user/group that executes this script has acess to the directory you ahve configured
# - make sure that user/group that executes this script has access to the directory you have configured
# otherwise run it as another user, edit plugins-conf.d/munin-node and stuff it with example below code (not suggested)
# remeber to remove hashes from the beginning of the lines
# remember to remove hashes from the beginning of the lines
#
# [du]
# user root
Expand Down
4 changes: 2 additions & 2 deletions plugins/disk/linux_diskstat_
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ and divides it by the number of I/Os that happened in the given time frame,
resulting in an average time per I/O on the block-device level.
This value can give you a good comparison base amongst different controllers,
storage subsystems and disks for similiar workloads.
storage subsystems and disks for similar workloads.
=head2 Syscall Wait Time
Expand Down Expand Up @@ -656,7 +656,7 @@ sub translate_lvm_name {

my $device_name = basename($entry);

# Check for single-dash-occurence to see if this could be a lvm devicemapper device.
# Check for single-dash-occurrence to see if this could be a lvm devicemapper device.
if ($device_name =~ m/(?<!-)-(?!-)/) {

# split device name into vg and lv parts
Expand Down
2 changes: 1 addition & 1 deletion plugins/disk/md_iostat_
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# Rewrite of linux/iostat by Mike Fedyk (Deb##223373,224113).
#
# Revision 1.1 2004/01/02 18:50:01 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
Expand Down
2 changes: 1 addition & 1 deletion plugins/disk/scsi_queue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def map_procentries_to_devices(list_of_dicts,devfilter_regex):
# - vendor
sys_pathname = sysfs_base + '/' + ':'.join(elem[:4]) # isolate stuff like 2:0:0:0

# Should actually not happen, but nontheless:
# Should actually not happen, but nonetheless:
if not os.path.islink(sys_pathname):
continue

Expand Down
2 changes: 1 addition & 1 deletion plugins/drupal/drupal_page_speed_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* env.url_login_post_fields target=http://www.example.com
*
* // Each page to test should be specified in the format of <label>=<url> where label is alphanumeric with no spaces and url is the page URL to test
* // You may specify multiple pages to time their page load by seperating them with commas ,
* // You may specify multiple pages to time their page load by separating them with commas ,
* env.urls label_page1=http://www.example.com/page1.php,label_page2=http://www.example.com/page2.php
* env.cookie_file /tmp/cookie.txt
*
Expand Down
2 changes: 1 addition & 1 deletion plugins/dvb/femon
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ B<autoconf>
Tries to find femon and outputs value 'yes' for success, 'no' if not.
It's used by B<munin-node-configure> to see wether autoconfiguration is possible.
It's used by B<munin-node-configure> to see whether autoconfiguration is possible.
=back
Expand Down
2 changes: 1 addition & 1 deletion plugins/ftp/pure-ftpd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# queuecrit - When to crit
#
# Configuration:
# Maybe need to add folowing lines to plugins config file
# Maybe need to add following lines to plugins config file
# (e.g. /etc/munin/plugin-conf.d/pure-ftpd) to run pure-ftpwho
# as user with apropirate privilegs then restart munin-node.
#
Expand Down
2 changes: 1 addition & 1 deletion plugins/ftp/pure-ftpd-bw
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
#
# Configuration:
# Maybe need to add folowing lines to plugins config file
# Maybe need to add following lines to plugins config file
# (e.g. /etc/munin/plugin-conf.d/pure-ftpd) to run pure-ftpwho
# as user with apropirate privilegs then restart munin-node.
#
Expand Down
10 changes: 5 additions & 5 deletions plugins/glance/glance_size_
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ try:
from keystone import identity

except ImportError:
succesful_import = False
successful_import = False
else:
succesful_import = True
successful_import = True


def get_name_from_tenant(tenant):
Expand Down Expand Up @@ -121,11 +121,11 @@ if __name__ == '__main__':
if len(argv) > 1:
if argv[1] == 'config':
print_config(tenant)
elif argv[1] == 'suggest' and succesful_import:
elif argv[1] == 'suggest' and successful_import:
load_conf()
print_suggest()
elif argv[1] == 'autoconf':
if not succesful_import:
if not successful_import:
print 'no (failed import glance and/or sqlachemy module)'
sys.exit(0)
try:
Expand All @@ -136,7 +136,7 @@ if __name__ == '__main__':
sys.exit(0)
print 'yes'

elif succesful_import:
elif successful_import:
load_conf()
print_values(tenant)

8 changes: 4 additions & 4 deletions plugins/glance/glance_status
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ try:
from glance.registry.db import models
from glance.registry.db.api import get_session, configure_db
except ImportError:
succesful_import = False
successful_import = False
else:
succesful_import = True
successful_import = True

def load_conf():
CONF = CommonConfigOpts(project="glance", prog="glance-registry")
Expand Down Expand Up @@ -86,7 +86,7 @@ if __name__ == '__main__':
if argv[1] == 'config':
print_config()
elif argv[1] == 'autoconf':
if not succesful_import:
if not successful_import:
print 'no (failed import glance and/or sqlachemy module)'
sys.exit(0)
try:
Expand All @@ -97,7 +97,7 @@ if __name__ == '__main__':
sys.exit(0)
print 'yes'

elif succesful_import:
elif successful_import:
load_conf()
print_values()

4 changes: 2 additions & 2 deletions plugins/google/google-rank
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#env.WORD2 bascom
#
# Version 0.5 24.1.2009
# Added loop to check the first 500 pages. Note the script sleeps 5 seconds beween each page grab so
# Added loop to check the first 500 pages. Note the script sleeps 5 seconds between each page grab so
# If the word/url your looking for is in the higher positions then you need to increase the timeout
#
# Version 0.5 21.1.2009
# Dump each page grabbed from google into seperate files (helps with debugging)
# Dump each page grabbed from google into separate files (helps with debugging)
#
# Version 0.4 19.1.2009
# Fixed corrupt then empty cache file bug
Expand Down
4 changes: 2 additions & 2 deletions plugins/gpu/nvidia_smi_
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ if ($#ARGV + 1 == 1)
}
else
{
print "Invalid arguement: $ARGV[0].\n";
print "Valid arguements: @runTypes.\n";
print "Invalid argument: $ARGV[0].\n";
print "Valid arguments: @runTypes.\n";
exit(1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/hp/hp_temp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if ($mode eq 'autoconf')
if ($mode eq 'config')
{
# headers for the temperatur
print "graph_title HP Temperature sensors in Celcius\n";
print "graph_title HP Temperature sensors in Celsius\n";
print "graph_args --base 1000 -l 0\n";
print "graph_vlabel degrees Celsius\n";
print "graph_category sensors\n";
Expand Down
2 changes: 1 addition & 1 deletion plugins/jenkins/jenkins_nodes_
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
print "graph_vlabel Memory Summary\n";
print "graph_info The Graph shows the Jenkins Memory Summary\n";
print "mem_sum_total.draw AREA\n";
print "mem_sum_total.label availible\n";
print "mem_sum_total.label available\n";
print "mem_sum_total.type GAUGE\n";
print "mem_sum_used.label used\n";
print "mem_sum_used.type GAUGE\n";
Expand Down
8 changes: 4 additions & 4 deletions plugins/keystone/keystone_stats
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ try:
from keystone import exception
from keystone import identity
except ImportError:
succesful_import = False
successful_import = False
else:
succesful_import = True
successful_import = True

stats = ['users', 'tenants']

Expand Down Expand Up @@ -89,7 +89,7 @@ if __name__ == '__main__':
if sys.argv[1] == "config":
print_config()
elif sys.argv[1] == "autoconf":
if not succesful_import:
if not successful_import:
print 'no (failed import keystone module)'
sys.exit(0)
try:
Expand All @@ -100,7 +100,7 @@ if __name__ == '__main__':
sys.exit(0)
print 'yes'

elif succesful_import:
elif successful_import:
load_conf()
print_values()

2 changes: 1 addition & 1 deletion plugins/lxc/lxc_net
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This plugin reads a "lxc.network.veth.pair" setting from "config" file of each c
because lxc-start command creates a random named veth device without the setting.
If your xen config (/var/lib/lxc/GUEST_NAME/config does not contain this parameter,
then you have to fill it, becouse if every guest restart generate new device name, then the graph will be useless
then you have to fill it, because if every guest restart generate new device name, then the graph will be useless
( example config : lxc.network.veth.pair = vethsamba )
=head1 AUTHOR
Expand Down
4 changes: 2 additions & 2 deletions plugins/mail/postfix_mail_stats
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if [ "$1" = "config" ]; then
echo 'graph_title Postfix Mail Counter'
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel Hourly Messages'
echo 'recieved.label Delivered'
echo 'received.label Delivered'
echo 'sent.label Outgoing'
echo 'rejecthelo.label Invalid HELO'
echo 'rejectsenderdomain.label need FQDN'
Expand All @@ -48,7 +48,7 @@ if [ "$1" = "config" ]; then
exit 0
fi

echo -en "recieved.value "
echo -en "received.value "
echo $(grep "status=sent (delivered" $LOGFILE | grep "$DATE" | wc -l)
echo -n
echo -en "sent.value "
Expand Down
2 changes: 1 addition & 1 deletion plugins/mail/postfwd2
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ if (!defined($ENV{path}) || !(-x $ENV{path})) {
}
munin_exit_fail() unless (defined($ENV{path}) && -x $ENV{path});

##### I have to parse the output BEFORE config, since policy matchs are dependant of the postfwd --dumpstats output
##### I have to parse the output BEFORE config, since policy matchs are dependent of the postfwd --dumpstats output
open(DATA, $ENV{path}.' --dumpstats |') or munin_exit_fail();
my $total_requests;
while(defined (my $data = <DATA>)) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/mail/spamdyke
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if [ "$1" = "config" ]; then
echo 'failedauth.info The remote server attempted to authenticate but the given username and/or password were incorrect ("smtp-auth-command" or "smtp-auth-command-encryption"). '
echo 'failedauth.min 1'
echo 'unknownauth.label UNKNOWN_AUTH'
echo 'unknownauth.info The remote server requested an authentication method spamdyke doesnt support. This shouldnt happen. '
echo 'unknownauth.info The remote server requested an authentication method spamdyke doesnt support. This should not happen. '
echo 'unknownauth.min 1'
echo 'failedtls.label FAILED_TLS'
echo 'failedtls.info The remote client attempted to start a TLS session but SSL negotiation failed.'
Expand Down
8 changes: 4 additions & 4 deletions plugins/memcached/memcached_multi_
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ $graphs{unfetched} = {
vlabel => 'Unfetched Items per ${graph_period}',
category => 'memcached global unfetched',
title => 'Unfetched Items',
info => 'Number of items that were never touched get/incr/append/etc before X occured',
info => 'Number of items that were never touched get/incr/append/etc before X occurred',
},
datasrc => [
{ name => 'expired_unfetched', type => 'DERIVE', label => 'Expired Unfetched', min => '0',
Expand Down Expand Up @@ -349,8 +349,8 @@ $graphs{slabhits} = {
{ name => 'delete_hits', label => 'Delete Requests', type => 'DERIVE', min => '0' },
{ name => 'incr_hits', label => 'Increment Requests', type => 'DERIVE', min => '0' },
{ name => 'decr_hits', label => 'Decrement Requests', type => 'DERIVE', min => '0' },
{ name => 'cas_hits', label => 'Sucessful CAS Requests', type => 'DERIVE', min => '0' },
{ name => 'cas_badval', label => 'UnSucessful CAS Requests', type => 'DERIVE', min => '0' },
{ name => 'cas_hits', label => 'Successful CAS Requests', type => 'DERIVE', min => '0' },
{ name => 'cas_badval', label => 'UnSuccessful CAS Requests', type => 'DERIVE', min => '0' },
{ name => 'touch_hits', label => 'Touch Requests', type => 'DERIVE', min => '0' },
],
};
Expand Down Expand Up @@ -420,7 +420,7 @@ $graphs{slabunfetched} = {
vlabel => 'Unfetched Items per ${graph_period}',
category => 'memcached slab unfetched',
title => 'Unfetched Items in Slab: ',
info => 'Number of items that were never touched get/incr/append/etc before X occured',
info => 'Number of items that were never touched get/incr/append/etc before X occurred',
},
datasrc => [
{ name => 'expired_unfetched', type => 'DERIVE', label => 'Expired Unfetched', min => '0',
Expand Down
2 changes: 1 addition & 1 deletion plugins/minecraft/bukkit-statistician-killshostile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ wither.label killed withers
exit();
}

## Construct 'minumum' timstamp
## Construct 'minimum' timstamp
$current = mktime();
$today = mktime(0, 0, 0, date("n", $current), date("j", $current), date("Y", $current));

Expand Down
2 changes: 1 addition & 1 deletion plugins/minecraft/bukkit-statistician-killsneutral
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ snowman.label killed snowmen
exit();
}

// Construct 'minumum' timstamp
// Construct 'minimum' timstamp
$current = mktime();
$today = mktime(0, 0, 0, date("n", $current), date("j", $current), date("Y", $current));

Expand Down
2 changes: 1 addition & 1 deletion plugins/minecraft/bukkit-statistician-killspassive
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ villager.label killed villager
exit();
}

// Construct 'minumum' timstamp
// Construct 'minimum' timstamp
$current = mktime();
$today = mktime(0, 0, 0, date("n", $current), date("j", $current), date("Y", $current));

Expand Down
2 changes: 1 addition & 1 deletion plugins/minecraft/bukkit-statistician-players
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ players.label new players
exit();
}

// Construct 'minumum' timstamp
// Construct 'minimum' timstamp
$current = mktime();
$today = mktime(0, 0, 0, date("n", $current), date("j", $current), date("Y", $current));

Expand Down
Loading

0 comments on commit fba800a

Please sign in to comment.