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

Clarify a few copyright statements

This commit is contained in:
Lars Kruse 2020-10-04 05:30:12 +02:00
parent cd05363876
commit aa3ee6dc01
5 changed files with 67 additions and 44 deletions

View file

@ -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'