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:
parent
cd05363876
commit
aa3ee6dc01
5 changed files with 67 additions and 44 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue