spelling fixes (2nd try)
This commit is contained in:
parent
e3169d5930
commit
8589c6df43
|
@ -6,7 +6,7 @@
|
|||
# http://www.ziritione.org
|
||||
#
|
||||
# Installing: configure apache blackbox and set the logfile to /var/log/blackbox.log
|
||||
# or change the BLACKBOXLOG setting bellow.
|
||||
# or change the BLACKBOXLOG setting below.
|
||||
#
|
||||
# Dependencies: apache mod_logio, apache blackbox
|
||||
# http://www.devco.net/archives/2008/03/05/detailed_apache_stats.php
|
||||
|
|
|
@ -45,7 +45,7 @@ REGEX=$(LC_ALL=en_US date -d "5 minutes ago" "+\[%d\/%b\/%Y:%H: %M :[0-5][0-9] %
|
|||
# Analyse logfile
|
||||
while read REQUEST_ADDR REQUEST_USERNAME REQUEST_BYTES
|
||||
do
|
||||
# Name resolution for known adresses
|
||||
# Name resolution for known addresses
|
||||
REQUEST_DOMAIN=$( awk '/^'"$REQUEST_ADDR"'/ { print $2 }' /etc/hosts )
|
||||
REQUEST_ADDR=${REQUEST_DOMAIN:-$REQUEST_ADDR}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ version.
|
|||
|
||||
This plugin has checked on Debian - Wheezy and squeeze. If you want to use it
|
||||
on older installations, tell me whether it works or which errors you had. It
|
||||
shoud run past python-apt 0.7 and python 2.5.
|
||||
should run past python-apt 0.7 and python 2.5.
|
||||
|
||||
check out this git repository from
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ TODO: update only if system was updated (aptitutde update has been run)
|
|||
TODO: shorten ext_info with getShortestConfigOfOptions
|
||||
TODO: check whether cachefile matches the config
|
||||
• i have no clever idea to do this without 100 lines of code
|
||||
BUG: If a package will be upgraded, and brings in new dependancies,
|
||||
BUG: If a package will be upgraded, and brings in new dependencies,
|
||||
these new deps will not be counted. WONTFIX
|
||||
"""
|
||||
import sys
|
||||
|
@ -257,7 +257,7 @@ def getShortestConfigOfOptions(optionList = ['label', 'archive', 'site']):
|
|||
'architecture'
|
||||
Architecture values are usually the same and can be ignored.
|
||||
|
||||
tells you wich representation of a tree as line is shortest.
|
||||
tells you which representation of a tree as line is shortest.
|
||||
Is needed to say which ext.info line would be the shortest
|
||||
to write the shortest readable output.
|
||||
"""
|
||||
|
|
|
@ -37,7 +37,7 @@ if ($argv[1]=='config'){
|
|||
exit;
|
||||
}
|
||||
|
||||
$sqlLink = mysql_connect($aris_db_host,$aris_db_user,$aris_db_pass) or die('MySQL authenticaiton error');
|
||||
$sqlLink = mysql_connect($aris_db_host,$aris_db_user,$aris_db_pass) or die('MySQL authentication error');
|
||||
mysql_select_db($aris_db_name) or die('MySQL Wrong Scheme Error');
|
||||
|
||||
$query = 'SELECT COUNT(DISTINCT player_id) AS count FROM player_log WHERE timestamp BETWEEN DATE_SUB(NOW(), INTERVAL 5 MINUTE) AND NOW()';
|
||||
|
|
|
@ -124,8 +124,8 @@ address with the copyright notice upgrade with your name.
|
|||
$astman->disconnect;
|
||||
|
||||
# Some idiot who wrote the SpanDSP code spelled "Negotiation" wrong.
|
||||
print "t38_failed.value $faxstats{'Spandsp T.38'}{'Negotation Failed'}\n";
|
||||
print "g711_failed.value $faxstats{'Spandsp G.711'}{'Negotation Failed'}\n";
|
||||
print "t38_failed.value $faxstats{'Spandsp T.38'}{'Negotiation Failed'}\n";
|
||||
print "g711_failed.value $faxstats{'Spandsp G.711'}{'Negotiation Failed'}\n";
|
||||
|
||||
exit( 0 );
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ We don't bite.
|
|||
|
||||
import socket,os,json,sys,re,glob,itertools
|
||||
|
||||
# this overides config values for specific graphs:
|
||||
# this overrides config values for specific graphs:
|
||||
# "graphname.osd1":{"graph_title":"This is the graph for OSD 1!"}
|
||||
# "graphname.osd*":{"graph_title":"This is one of the 'dig deeper' graphs!"}
|
||||
# "graphname":{"graph_title":"This is my great graph!"}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# env.watchdirs /var/www,/tmp
|
||||
#
|
||||
# Change the env.watchdirs-variable according to your wishes.
|
||||
# DONT FORGET TO RUN AS ROOT!
|
||||
# DON'T FORGET TO RUN AS ROOT!
|
||||
#
|
||||
# You can test this plugin by calling it with params "test" and your watchdirs:
|
||||
# ./dirsizes test /dir1,/tmp/dir2
|
||||
|
|
|
@ -35,7 +35,7 @@ ID=1;
|
|||
# [du]
|
||||
# user root
|
||||
#
|
||||
# - by default the value is in MegaBytes, to change it you should edit below line in the script to something else, recognizeable by du (see man du)
|
||||
# - by default the value is in MegaBytes, to change it you should edit below line in the script to something else, recognizable by du (see man du)
|
||||
# du -sm $DIR in MB
|
||||
# du -sk $DIR in KB
|
||||
#
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
diff a/plugins/dovecot/dovecot b/plugins/dovecot/dovecot (rejected hunks)
|
||||
@@ -23,7 +23,7 @@ $aborted = 0;
|
||||
|
||||
$logfile = $ENV{'LOGFILE'} || '/var/log/mail.log';
|
||||
|
||||
-# Use an overridden $PATH for all external programs if needed
|
||||
+# Use an overrided $PATH for all external programs if needed
|
||||
$DOVEADM = "doveadm";
|
||||
|
||||
if ( $ARGV[0] and $ARGV[0] eq "autoconf" ) {
|
|
@ -83,7 +83,7 @@ The plugin supports the following graph types:
|
|||
correctly classified messages (both ham and spam) in
|
||||
relation to the number of all processed messages.
|
||||
|
||||
absprocessed - Shows the absolute numbers of mesages processed,
|
||||
absprocessed - Shows the absolute numbers of messages processed,
|
||||
sorted by the classification that DSPAM uses. The
|
||||
numbers are stacked, making the height of the column
|
||||
display the increase of processed messages over time.
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#
|
||||
# Parameters
|
||||
# femonpath - Specify path to femon program (Default: /usr/bin/femon)
|
||||
# graph_args - Specifiy graph args (Default: --lower-limit 0 --upper-limit 100 --rigid)
|
||||
# graph_args - Specify graph args (Default: --lower-limit 0 --upper-limit 100 --rigid)
|
||||
#
|
||||
# Author: Nicolas Knotzer <nknotzer@gmail.com>
|
||||
#
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
#user root #log file is read only root user.
|
||||
#env.log_1 /var/log/messages #target log filename
|
||||
#env.grep_1 critical|error #egrep string.
|
||||
#defualt by critical|error|warning|crash|fatal|kernel
|
||||
#default by critical|error|warning|crash|fatal|kernel
|
||||
#---------------------------------------------------
|
||||
#
|
||||
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
#env.url_1 http://127.0.0.1/
|
||||
#---------------------------------------------------
|
||||
#
|
||||
#chcek two site
|
||||
#check two site
|
||||
#---------------------------------------------------
|
||||
#[healthcheck_url]
|
||||
#env.url_1 http://127.0.0.1/
|
||||
#env.url_2 http://www.google.com/
|
||||
#---------------------------------------------------
|
||||
#
|
||||
#chcek three site
|
||||
#check three site
|
||||
#---------------------------------------------------
|
||||
#[healthcheck_url]
|
||||
#env.url_1 http://127.0.0.1/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
=head1 NAME
|
||||
|
||||
ipvs_conn -Indicate the number of conections per second
|
||||
ipvs_conn -Indicate the number of connections per second
|
||||
|
||||
=head1 CONFIGURATION
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ longer than munin's default timeout.
|
|||
=head1 INTERPRETATION
|
||||
|
||||
The plugin simply shows the average bandwidth during one IMAP upload and one
|
||||
IMAP download of a file containg random bytes.
|
||||
IMAP download of a file containing random bytes.
|
||||
|
||||
You need to be aware that this measurement obviously increases the load on
|
||||
your IMAP servers for the duration of the measurement.
|
||||
|
|
|
@ -72,7 +72,7 @@ if ($#addresses < 0 || $#labels < 0) {
|
|||
}
|
||||
|
||||
if ($#addresses != $#labels) {
|
||||
print "Error: number of adresses and labels must be equal.\n";
|
||||
print "Error: number of addresses and labels must be equal.\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#
|
||||
# Revision 1.4 2010/10/10 idobson
|
||||
# MythTV database information always loaded (used by autoconf,config and data dump for most options)
|
||||
# Active tuner now split up by video source, hung encoders are listed separatly
|
||||
# Active tuner now split up by video source, hung encoders are listed separately
|
||||
# Schedule now uses myth module/QUERY_GETALLPENDING to get Scheduled Recordings/Repeats/Conflicts
|
||||
# Recorded now splits recorded into groups (Expireable, Delete pending, Save)
|
||||
# Code now strict safe
|
||||
|
|
|
@ -27,7 +27,7 @@ A Plugin to monitor Nagios Servers and their Performance (Multigraph)
|
|||
svcchkdetail => This graph shows current services warning,critical,unknown,checked,scheduled,flapping,down
|
||||
svcchkext => This graph shows the service check execution times
|
||||
svcchklat => This graph shows the service check latency times
|
||||
svcchksc => This graph shows the serivce check state change %
|
||||
svcchksc => This graph shows the service check state change %
|
||||
|
||||
hosts => I<MULTIGRAPH> This graphs the current host problems.
|
||||
hostchkdetail => This graph shows current hosts down,unreachable,checked,scheduled,flapping,down
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
# ...will monitor the IP 192.168.0.1.
|
||||
#
|
||||
# Aditionally, you need Accountingrules in fwbuilder
|
||||
# Additionally, you need Accountingrules in fwbuilder
|
||||
# fwbuilder creates Chains in INPUT-, OUTPUT- and FORWARD-Chain
|
||||
# with Rules that "RETURN"
|
||||
# You will have to specify rule options with name "ACCOUNTING" for the
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
# ...will monitor forwarded traffic trough eth0.
|
||||
#
|
||||
# Aditionally, you need these iptables rules as the first rules (they don't do anything, just make packet counts)
|
||||
# Additionally, you need these iptables rules as the first rules (they don't do anything, just make packet counts)
|
||||
#
|
||||
# iptables -A FORWARD -i eth0
|
||||
# iptables -A FORWARD -o eth0
|
||||
|
|
|
@ -27,7 +27,7 @@ plugin configuration:
|
|||
# example:
|
||||
env.include = br_*
|
||||
|
||||
# should staticly configured interfaces be included (they have ifcfg-* file)
|
||||
# should statically configured interfaces be included (they have ifcfg-* file)
|
||||
# default: true
|
||||
env.include_configured_if = true
|
||||
|
||||
|
@ -41,7 +41,7 @@ Include/exclude logic in detail. Interface name is matched..
|
|||
Tested on: RHEL 6.x and clones (with Python 2.6)
|
||||
|
||||
TODO:
|
||||
* implment 'data loaning' between graphs, removes duplicit measures
|
||||
* implement 'data loaning' between graphs, removes duplicit measures
|
||||
* add support for bridging
|
||||
* configurable graph max based on intreface speed
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ function count_running_procs () {
|
|||
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 processess will be always from root user, so it's not being
|
||||
# one of those processes will be always from root user, so it's not being
|
||||
# used to externaly connect volumes, therefor being disconsider.
|
||||
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 paremeters to pring configuration file
|
||||
# * Config: Using "afpd" with parameters to pring configuration file
|
||||
# location;
|
||||
#
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# vim: sts=8 sw=8 ts=8
|
||||
|
||||
#
|
||||
# Run "perldoc thisfilename" to get a well-formated set of documentation
|
||||
# Run "perldoc thisfilename" to get a well-formatted set of documentation
|
||||
# for this munin plugin.
|
||||
#
|
||||
=head1 NAME
|
||||
|
|
|
@ -79,7 +79,7 @@ else
|
|||
OLDPURR=$ACTUALPURR;
|
||||
fi
|
||||
|
||||
# calcualte CPU cycles
|
||||
# calculate CPU cycles
|
||||
CPUCYCLES=$(echo $OLDPURR $ACTUALPURR $TIMEBASE $OLDTIME $ACTUALTIME | awk '{printf ("%.1f", (($1-$2)/$3)/($4-$5));}');
|
||||
|
||||
# write data to state file
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#%# capabilities=autoconf
|
||||
|
||||
# If run with the "autoconf"-parameter, give our opinion on whether we
|
||||
# should be run on this system or not. This is optinal, and only used by
|
||||
# should be run on this system or not. This is optional, and only used by
|
||||
# munin-config. In the case of this plugin, we should most probably
|
||||
# always be included.
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#%# capabilities=autoconf
|
||||
|
||||
# If run with the "autoconf"-parameter, give our opinion on whether we
|
||||
# should be run on this system or not. This is optinal, and only used by
|
||||
# should be run on this system or not. This is optional, and only used by
|
||||
# munin-config. In the case of this plugin, we should most probably
|
||||
# always be included.
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#%# capabilities=autoconf
|
||||
|
||||
# If run with the "autoconf"-parameter, give our opinion on whether we
|
||||
# should be run on this system or not. This is optinal, and only used by
|
||||
# should be run on this system or not. This is optional, and only used by
|
||||
# munin-config. In the case of this plugin, we should most probably
|
||||
# always be included.
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#%# capabilities=autoconf
|
||||
|
||||
# If run with the "autoconf"-parameter, give our opinion on whether we
|
||||
# should be run on this system or not. This is optinal, and only used by
|
||||
# should be run on this system or not. This is optional, and only used by
|
||||
# munin-config. In the case of this plugin, we should most probably
|
||||
# always be included.
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#%# capabilities=autoconf
|
||||
|
||||
# If run with the "autoconf"-parameter, give our opinion on whether we
|
||||
# should be run on this system or not. This is optinal, and only used by
|
||||
# should be run on this system or not. This is optional, and only used by
|
||||
# munin-config. In the case of this plugin, we should most probably
|
||||
# always be included.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# xmlrpc based munin plugin for monitoring rtorrent's memory usage
|
||||
# prerequisites:
|
||||
# - rtorrent 0.7.5 or newer compiled with --with-xmlrpc-c
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further informations
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further information
|
||||
#
|
||||
# written by Gabor Hudiczius
|
||||
# web: http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOMeter
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# xmlrpc based munin plugin for monitoring rtorrent's peer count
|
||||
# prerequisites:
|
||||
# - rtorrent 0.7.5 or newer compiled with --with-xmlrpc-c
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further informations
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further information
|
||||
#
|
||||
# written by Gabor Hudiczius
|
||||
# web: http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOMeter
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# xmlrpc based munin plugin for monitoring rtorrent's upload/download speed
|
||||
# prerequisites:
|
||||
# - rtorrent 0.7.5 or newer compiled with --with-xmlrpc-c
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further informations
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further information
|
||||
#
|
||||
# written by Gabor Hudiczius
|
||||
# web: http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOMeter
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# xmlrpc based munin plugin for monitoring rtorrent's torrent count
|
||||
# prerequisites:
|
||||
# - rtorrent 0.7.5 or newer compiled with --with-xmlrpc-c
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further informations
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further information
|
||||
#
|
||||
# written by Gabor Hudiczius
|
||||
# web: http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOMeter
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# xmlrpc based munin plugin for monitoring rtorrent's memory usage
|
||||
# prerequisites:
|
||||
# - rtorrent 0.7.5 or newer compiled with --with-xmlrpc-c
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further informations
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further information
|
||||
#
|
||||
# written by Gabor Hudiczius
|
||||
# web: http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOMeter
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# xmlrpc based munin plugin for monitoring rtorrent's peer count
|
||||
# prerequisites:
|
||||
# - rtorrent 0.7.5 or newer compiled with --with-xmlrpc-c
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further informations
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further information
|
||||
#
|
||||
# written by Gabor Hudiczius
|
||||
# web: http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOMeter
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# xmlrpc based munin plugin for monitoring rtorrent's upload/download speed
|
||||
# prerequisites:
|
||||
# - rtorrent 0.7.5 or newer compiled with --with-xmlrpc-c
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further informations
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further information
|
||||
#
|
||||
# written by Gabor Hudiczius
|
||||
# web: http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOMeter
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# xmlrpc based munin plugin for monitoring rtorrent's torrent count
|
||||
# prerequisites:
|
||||
# - rtorrent 0.7.5 or newer compiled with --with-xmlrpc-c
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further informations
|
||||
# check http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide for further information
|
||||
#
|
||||
# written by Gabor Hudiczius
|
||||
# web: http://projects.cyla.homeip.net/rtwi/wiki/rTorrentOMeter
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#
|
||||
# $Log$
|
||||
# Revision 1.0 2007/04/16 Jon Higgs
|
||||
# Initial Release - Adapated from jimmyo's processses plugin.
|
||||
# Initial Release - Adapted from jimmyo's processses plugin.
|
||||
#
|
||||
# Magick markers (optional - used by munin-config and som installation
|
||||
# scripts):
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#
|
||||
# $Log$
|
||||
# Revision 1.0 2007/04/16 Jon Higgs
|
||||
# Initial Release - Adapated from jimmyo's processses plugin.
|
||||
# Initial Release - Adapted from jimmyo's processses plugin.
|
||||
#
|
||||
# Revision 1.1 2014/07/24 MangaII
|
||||
# Add exit 0
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
# Config variables
|
||||
#
|
||||
# dsn - If DSN name differs from hostname
|
||||
# dbuser - Valid MS SQL user (Windows authentication is posible using "DOMAIN\user")
|
||||
# dbuser - Valid MS SQL user (Windows authentication is possible using "DOMAIN\user")
|
||||
# dbpass - Password
|
||||
#
|
||||
# Install guide:
|
||||
|
|
|
@ -61,7 +61,7 @@ my $timeout = 3; # the LWP default of 180 secs would be way too long
|
|||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# No need to change those, can be overriden from commandline.
|
||||
# No need to change those, can be overridden from commandline.
|
||||
my $hostname = 'localhost';
|
||||
my $valtype = 'temp'; # or humidity or amps
|
||||
# These are tried one after another.
|
||||
|
|
|
@ -47,7 +47,7 @@ It may show something like this:
|
|||
IF-MIB::ifType.123 = INTEGER: l2vlan(135)
|
||||
|
||||
propVirtual or l2vlan is usually used for VLAN interfaces. Tunnel
|
||||
would normaly be for VPNs. A minor horde of different interface types
|
||||
would normally 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.
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
#
|
||||
# This plugin monitors a SOLR server configured for multicore by automaticaly
|
||||
# This plugin monitors a SOLR server configured for multicore by automatically
|
||||
# getting core names from SOLR default page.
|
||||
#
|
||||
# Tested on SOLR 1.4.0
|
||||
|
|
|
@ -29,7 +29,7 @@ if (-l $0) {
|
|||
}
|
||||
push(@INC, dirname($0));
|
||||
|
||||
# Load Rcon module or exit with failuer message
|
||||
# Load Rcon module or exit with failure message
|
||||
if (!eval "require Rcon") {
|
||||
print "Failed to load Rcon module. ";
|
||||
print "Make sure Rcon.pm is copied to Munin plugins directory.\n";
|
||||
|
|
|
@ -30,7 +30,7 @@ if (-l $0) {
|
|||
}
|
||||
push(@INC, dirname($0));
|
||||
|
||||
# Load Rcon module or exit with failuer message
|
||||
# Load Rcon module or exit with failure message
|
||||
if (!eval "require Rcon") {
|
||||
print "Failed to load Rcon module. ";
|
||||
print "Make sure Rcon.pm is copied to Munin plugins directory.\n";
|
||||
|
|
|
@ -29,7 +29,7 @@ if (-l $0) {
|
|||
}
|
||||
push(@INC, dirname($0));
|
||||
|
||||
# Load Rcon module or exit with failuer message
|
||||
# Load Rcon module or exit with failure message
|
||||
if (!eval "require Rcon") {
|
||||
print "Failed to load Rcon module. ";
|
||||
print "Make sure Rcon.pm is copied to Munin plugins directory.\n";
|
||||
|
|
|
@ -30,7 +30,7 @@ if (-l $0) {
|
|||
}
|
||||
push(@INC, dirname($0));
|
||||
|
||||
# Load Rcon module or exit with failuer message
|
||||
# Load Rcon module or exit with failure message
|
||||
if (!eval "require Rcon") {
|
||||
print "Failed to load Rcon module. ";
|
||||
print "Make sure Rcon.pm is copied to Munin plugins directory.\n";
|
||||
|
|
|
@ -28,7 +28,7 @@ if (-l $0) {
|
|||
}
|
||||
push(@INC, dirname($0));
|
||||
|
||||
# Load Rcon module or exit with failuer message
|
||||
# Load Rcon module or exit with failure message
|
||||
if (!eval "require Rcon") {
|
||||
print "Failed to load Rcon module. ";
|
||||
print "Make sure Rcon.pm is copied to Munin plugins directory.\n";
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
# env.database spotweb # Spotweb database (optional)
|
||||
#
|
||||
# [spotweb_average]
|
||||
# env.period 1800 # The period over wich to check in seconds, default to 30 minutes (1800 seconds)
|
||||
# env.period 1800 # The period over which to check in seconds, default to 30 minutes (1800 seconds)
|
||||
# env.watchlist yes # Show items in the watchlist (period independent)
|
||||
#
|
||||
#
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# env.database spotweb # Spotweb database (optional)
|
||||
#
|
||||
# [spotweb_cat_average]
|
||||
# env.period 1800 # The period over wich to check in seconds, default to 30 minutes (1800 seconds)
|
||||
# env.period 1800 # The period over which to check in seconds, default to 30 minutes (1800 seconds)
|
||||
# env.countporn 'no' # Also count porn? Default is 'yes'
|
||||
#
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# env.database spotweb # Spotweb database (optional)
|
||||
#
|
||||
# [spotweb_catsize_average]
|
||||
# env.period 1800 # The period over wich to check in seconds, default to 30 minutes (1800 seconds)
|
||||
# env.period 1800 # The period over which to check in seconds, default to 30 minutes (1800 seconds)
|
||||
# env.countporn 'no' # Also count porn? Default is 'yes'
|
||||
#
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
# #
|
||||
########################################################################
|
||||
#
|
||||
# multigraph, supersampling, extended cpu informations
|
||||
# multigraph, supersampling, extended cpu information
|
||||
#
|
||||
# require: mpstat (to actually collect the data)
|
||||
#
|
||||
|
|
|
@ -76,16 +76,16 @@ my $graphs =
|
|||
{
|
||||
'title' => 'Interrupts per cpu',
|
||||
'args' => '--base 1000',
|
||||
'vlabel' => 'count of IRQ (+) / sIRQ (-) per secund',
|
||||
'info' => 'This graph shows interrupts per secund from last update',
|
||||
'vlabel' => 'count of IRQ (+) / sIRQ (-) per second',
|
||||
'info' => 'This graph shows interrupts per second from last update',
|
||||
'category' => 'system'
|
||||
},
|
||||
'irq_cpu' =>
|
||||
{
|
||||
'title' => 'CPU:cpu: :irq_type:',
|
||||
'args' => '--base 1000',
|
||||
'vlabel' => 'count per secund',
|
||||
'info' => 'This graph shows :irq_type: for CPU:cpu: per secund from last update',
|
||||
'vlabel' => 'count per second',
|
||||
'info' => 'This graph shows :irq_type: for CPU:cpu: per second from last update',
|
||||
'category' => 'cpu :cpu:'
|
||||
}
|
||||
};
|
||||
|
@ -333,7 +333,7 @@ sub prepare_graphs
|
|||
$gr->{$graph_name}{'graph'}{'category'} = replace($graphs->{'irq_cpu'}{'category'}, ':cpu:', $i);
|
||||
# -- child fields --
|
||||
my @irq_names = keys %{$IRQi->{'stat'}{$irq_type}{$i}};
|
||||
# names splitted for better sorting
|
||||
# names split for better sorting
|
||||
for my $irq_name ((
|
||||
(sort {int $a <=> int $b} grep{/^\d/} @irq_names),
|
||||
(sort grep{!/(^\d|ERR|MIS)/} @irq_names),
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Version 1.2
|
||||
# - kein div 0 Fehler mehr wenn der Host nicht zu erreichen ist
|
||||
# - Serien Timer werden nun seperat gezaehlt (anzahl pro Woche)
|
||||
# - Serien Timer werden nun separat gezaehlt (anzahl pro Woche)
|
||||
# - im Namen kann munic conform der hostname mit angegeben werden: vdr_localhost vdr_192.168.0.2, ... (localhost ist default)
|
||||
# - Timer werden nur ignoriert wenn sie 0(inaktiv) als Status haben
|
||||
# - Erkennung der neuen Aufzeichnungen passte nicht mehr
|
||||
|
@ -134,11 +134,11 @@ sub ermittelnTimer(){
|
|||
}
|
||||
|
||||
if (length($anzahl) && $anzahl =~ /\D/){
|
||||
#print "Serie";
|
||||
#print "Series";
|
||||
$anzahlSerienTimer+=length($anzahl);
|
||||
$anzahlSerienMinuten+=$dauer*length($anzahl);
|
||||
} else {
|
||||
#print "keine Serie";
|
||||
#print "keine Series";
|
||||
$anzahlTimer++;
|
||||
$anzahlMinuten+=$dauer;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ Requirements:
|
|||
Notice:
|
||||
- script allows the usage of the 'config' and 'autoconf' parameters during startup, make fure you edt config section before running it
|
||||
- $limit - number of lines to tail from the lgo file, better keep it below 5000 for lower cpu load,
|
||||
aditionally on busy servers you can keep it really low, suggested 3x maximum number of users online
|
||||
additionally on busy servers you can keep it really low, suggested 3x maximum number of users online
|
||||
- tested on
|
||||
PHP 5.2.6-3 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 21 2008 17:02:32)
|
||||
murmur 1.1.4 precompiled binaries from sourceforge net, all running under debian etch
|
||||
|
|
|
@ -21,7 +21,7 @@ Requirements:
|
|||
|
||||
Configuration:
|
||||
1. link creation
|
||||
create a symlink to thie file in the following format:
|
||||
create a symlink to the file in the following format:
|
||||
murmurice_ip_port_sid_description_avg
|
||||
where ip/port correspond to the ip and port on which the mumble ice interface listens to
|
||||
sid is the server id we want to query (mumble can run multiple servers )
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
# Capabilites
|
||||
# Capabilities
|
||||
# config
|
||||
# autoconf
|
||||
#
|
||||
|
|
|
@ -12,7 +12,7 @@ domain_order Quick Nodes Systems
|
|||
node_order Glassfish MongoDB
|
||||
|
||||
[Quick;Glassfish]
|
||||
# dont poll a node, we are loaning graphs from other RRDs
|
||||
# don't poll a node, we are loaning graphs from other RRDs
|
||||
address 127.0.0.1
|
||||
update no
|
||||
# define some "virtual" graph (loaned)
|
||||
|
|
|
@ -282,7 +282,7 @@ Date.prototype.formatDate = function (input,time) {
|
|||
// A full numeric representation of a year, 4 digits
|
||||
|
||||
// we first check, if getFullYear is supported. if it
|
||||
// is, we just use that. ppks code is nice, but wont
|
||||
// is, we just use that. ppks code is nice, but won't
|
||||
// work with dates outside 1900-2038, or something like that
|
||||
if (date.getFullYear) {
|
||||
var newDate = new Date("January 1 2001 00:00:00 +0000");
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
</table>
|
||||
<h2>Graph Information</h2>
|
||||
<TMPL_LOOP NAME="GRAPHINFO">
|
||||
<!-- Do we actually allow mutiple graph_info, or is this just to access the nested data? -->
|
||||
<!-- Do we actually allow multiple graph_info, or is this just to access the nested data? -->
|
||||
<p class="graph_info"><TMPL_VAR NAME="info"></p>
|
||||
</TMPL_LOOP>
|
||||
<TMPL_IF NAME="STATE_WARNING"><p class="warning"><p><strong>Note:</strong>
|
||||
|
|
|
@ -359,7 +359,7 @@ def main():
|
|||
% (pluginprofile, tentative_plugin)
|
||||
continue
|
||||
|
||||
# support more than one instanciation of the same plugin.
|
||||
# support more than one instantiation of the same plugin.
|
||||
plugininstancename = tentative_plugin
|
||||
i=2
|
||||
while (plugins.has_key(plugininstancename)):
|
||||
|
|
Loading…
Reference in New Issue