diff --git a/plugins/chrony/chrony b/plugins/chrony/chrony index 0554e91f..af27cf1a 100755 --- a/plugins/chrony/chrony +++ b/plugins/chrony/chrony @@ -14,10 +14,6 @@ Any system with a local chronyd service. No configuration. -=head1 MAGIC MARKERS - - #%# family=auto - #%# capabilities=autoconf =head1 VERSION @@ -44,11 +40,20 @@ Revision 0.4 2016/11/10 Lars Kruse switch from "bash" to "sh" fix exit code of failing "autoconf" + =head1 AUTHOR - joti - zjttoefs - Lars Kruse +Copyright (C) 2008 joti + +Copyright (C) 2014 zjttoefs + +Copyright (C) 2016 Lars Kruse + + +=head1 MAGIC MARKERS + + #%# family=auto + #%# capabilities=autoconf =cut diff --git a/plugins/php/php_errors_ b/plugins/php/php_errors_ index d02f8064..86db4bb3 100755 --- a/plugins/php/php_errors_ +++ b/plugins/php/php_errors_ @@ -4,20 +4,21 @@ =head1 NAME -Plugin to monitor error.log from apache server +php_errors - Plugin to monitor error.log from apache server =head1 CONFIGURATION -[php_errors_newsite] - user www-data - env.logfile /home/newsite/logs/errors.log /var/log/php/otherlog.log + [php_errors_newsite] + user www-data + env.logfile /home/newsite/logs/errors.log /var/log/php/otherlog.log + =head1 AUTHOR -Raphaël Droz +Copyright (C) 2011 Ulrich Lusseau + +Copyright (C) 2016 Raphaël Droz -Revision 0.2 2016/03/23 22:00:00 Raphaël Droz -Revision 0.1 2011/06/17 12:00:00 Ulrich Lusseau =head1 MAGICK MARKERS diff --git a/plugins/php/php_time_execution b/plugins/php/php_time_execution index 5564e510..c991924d 100755 --- a/plugins/php/php_time_execution +++ b/plugins/php/php_time_execution @@ -11,9 +11,7 @@ # (set in /etc/munin/plugin-conf.d/munin-node on debian) # On busy servers you can change value type to COUNTER and set min to 0 to avoid minus peaks at logrotate # -# $Log$ -# Revision 0.1 2012/04/05 12:00:00 Ulrich Lusseau -# Initial revision +# Copyright (C) 2012 Ulrich Lusseau # # Parameters: # diff --git a/plugins/ssh/sshd_invalid_countries_ruby b/plugins/ssh/sshd_invalid_countries_ruby index 040a79d8..6abbd4ab 100755 --- a/plugins/ssh/sshd_invalid_countries_ruby +++ b/plugins/ssh/sshd_invalid_countries_ruby @@ -2,37 +2,53 @@ =begin -Plugin to monitor the number of invalid access to sshd per country +=head1 NAME -Require read permissions for SYSLOG - ref) ls -l /var/log/secure -Require geoip rubygem - ref) http://geoip.rubyforge.org/ -Require GeoIP-database for searching ip or host for the country - ref) http://www.maxmind.com/app/geoip_country +sshd_invalid_countries_ruby - Plugin to monitor the number of invalid access to sshd per country -Parameters: - config (required) - autoconf (optional - used by munin-config) -$Log$ -Revision 1.0 2010/12/25 11:56:12 hirata yoshiyuki - released. +=head1 APPLICABLE SYSTEMS -Magick markers (optional): -#%# family=auto -#%# capabilities=autoconf +=over 4 -config example for /etc/munin/plugin-conf.d/munin-node -[sshd_invalid_countries_ruby] -user root -group root -env.logfile /var/log/secure -env.geoip /home/you/GeoIP.dat -env.loadpath /usr/local/lib/ruby/gems/1.9.1/gems/geoip-0.8.8/lib/ +=item Require read permissions for SYSLOG + + ref) ls -l /var/log/secure + +=item Require geoip rubygem + + ref) http://geoip.rubyforge.org/ + +=item Require GeoIP-database for searching ip or host for the country + + ref) http://www.maxmind.com/app/geoip_country + +=back + + +=head1 AUTHORS + +Copyright (C) 2010 Hirata Yoshiyuki + + +=head1 CONFIGURATION + + [sshd_invalid_countries_ruby] + user root + group root + env.logfile /var/log/secure + env.geoip /home/you/GeoIP.dat + env.loadpath /usr/local/lib/ruby/gems/1.9.1/gems/geoip-0.8.8/lib/ + + +=head1 MAGIC MARKERS + + #%# family=auto + #%# capabilities=autoconf =end + require (ENV['loadpath'] || '') + 'geoip' SYSLOG = ENV['syslog'] || '/var/log/secure' diff --git a/plugins/ssh/sshd_log b/plugins/ssh/sshd_log index deb9a063..ef3d24bc 100755 --- a/plugins/ssh/sshd_log +++ b/plugins/ssh/sshd_log @@ -65,10 +65,13 @@ Config example with journald and type DERIVE: =head1 AUTHOR -Revision 2.0 2016/11/11 15:42:00 Thomas Riccardi -Revision 1.2 2010/03/19 15:03:00 pmoranga -Revision 1.1 2009/04/26 23:28:00 ckujau -Revision 1.0 2009/04/22 22:00:00 zlati +Copyright (C) 2009 zlati + +Copyright (C) 2009 ckujau + +Copyright (C) 2010 pmoranga + +Copyright (C) 2016 Thomas Riccardi =cut