From 7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 4 Jun 2013 18:33:07 -0300 Subject: Adding nodo::subsystem::monitor::master --- files/etc/nagios-plugins/check_rbl.ini | 50 ++++++++++++++++++++++++++++++++++ manifests/role/master.pp | 1 + manifests/subsystem/monitor/master.pp | 9 ++++++ 3 files changed, 60 insertions(+) create mode 100644 files/etc/nagios-plugins/check_rbl.ini create mode 100644 manifests/subsystem/monitor/master.pp 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'], + } +} -- cgit v1.2.3