diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-06-04 18:33:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-06-04 18:33:07 -0300 |
commit | 7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6 (patch) | |
tree | 3059776b6907c9aa85fa287658277bd322727e91 | |
parent | 36670b955bfcbfbfc1079c1e1bd74a1026ea7c4f (diff) | |
download | puppet-nodo-7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6.tar.gz puppet-nodo-7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6.tar.bz2 |
Adding nodo::subsystem::monitor::master
-rw-r--r-- | files/etc/nagios-plugins/check_rbl.ini | 50 | ||||
-rw-r--r-- | manifests/role/master.pp | 1 | ||||
-rw-r--r-- | manifests/subsystem/monitor/master.pp | 9 |
3 files changed, 60 insertions, 0 deletions
diff --git a/files/etc/nagios-plugins/check_rbl.ini b/files/etc/nagios-plugins/check_rbl.ini new file mode 100644 index 0000000..ae6a208 --- /dev/null +++ b/files/etc/nagios-plugins/check_rbl.ini @@ -0,0 +1,50 @@ +[rbl] +server=dnsbl.ahbl.org +server=cbl.abuseat.org +server=dnsbl.cyberlogic.net +server=bl.deadbeef.com +server=spamtrap.drbl.drand.net +server=spamsources.fabel.dk +server=0spam.fusionzero.com +server=mail-abuse.blacklist.jippg.org +server=korea.services.net +server=spamguard.leadmon.net +server=ix.dnsbl.manitu.net +server=relays.nether.net +server=dnsbl.njabl.org +server=bhnc.njabl.org +server=no-more-funn.moensted.dk +server=rbl.orbitrbl.com +server=psbl.surriel.com +server=dyna.spamrats.com +server=noptr.spamrats.com +server=spam.spamrats.com +; this keeps all zones of sorbs excl. spam +server=dnsbl.sorbs.net +server=spam.dnsbl.sorbs.net +server=bl.spamcannibal.org +server=bl.spamcop.net +server=pbl.spamhaus.org +server=sbl.spamhaus.org +server=xbl.spamhaus.org +server=ubl.unsubscore.com +server=dnsbl-1.uceprotect.net +server=dnsbl-2.uceprotect.net +server=dnsbl-3.uceprotect.net +server=db.wpbl.info +server=access.redhawk.org +server=blacklist.sci.kun.nl +server=bl.technovision.dk +server=dnsbl.kempt.net +server=dnsbl.solid.net +server=dul.ru +server=forbidden.icm.edu.pl +server=hil.habeas.com +server=rbl.schulte.org +server=sbl-xbl.spamhaus.org + +; these are rather slow +;server=bl.csma.biz +;server=sbl.csma.biz + +timeout=60 diff --git a/manifests/role/master.pp b/manifests/role/master.pp index 804ea78..cbc3b5d 100644 --- a/manifests/role/master.pp +++ b/manifests/role/master.pp @@ -39,6 +39,7 @@ class nodo::role::master { include websites::admin include nagios::headless include nagios::defaults + include nodo::subsystem::monitor::master # Nagios apache workaround file { "/etc/apache2/conf.d/nagios3.conf": diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp new file mode 100644 index 0000000..6895617 --- /dev/null +++ b/manifests/subsystem/monitor/master.pp @@ -0,0 +1,9 @@ +class nodo::subsystem::monitor::master { + file { '/etc/nagios-plugins/check_rbl.ini': + ensure => present, + owner => root, + group => root, + source => 'puppet:///modules/nodo/etc/nagios-plugins/check_rbl.ini', + require => Package['nagios'], + } +} |