summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nagios
AgeCommit message (Collapse)Author
2014-12-10Fix "invalid parameter domain_internal_suffix" on monitor node (#6477)varac
leap_platform was modified so the nagios.internal_domains contain the domain name (with the tld replaced by an "i" for internal), see https://leap.se/code/issues/6477#note-11. in order to achieve this the easy way, each host got added a domain_internal_suffix value, which can be iterated over to get all nagios.internal_domains. Because we use `create_resources ( site_nagios::add_host_services, $nagios_hosts )` in site_nagios::server to deploy the services, the site_nagios::add_host_services define needs to have a domain_internal_suffix parameter added. Change-Id: I6b83b3f291a1a611b5b92d5ba3ed82597a42bba7
2014-12-02Change nagios mail To: Header to contain the actual platform environment's ↵Micah Anderson
contact email (Bug #6466) Change-Id: Ib86ae771e0ac3b6f329a517a8a31c9ec54d33a05
2014-12-02minor lintingMicah Anderson
Change-Id: Idf550ed004bcb42d6e19ac0a2c5286f52a390935
2014-10-08include different nagios::defaults classes manually (#5216)varac
nagios::defaults will include nagios::defaults::hostgroups which add "all" and "centos_servers" hostgroups which we don't want. Change-Id: If42faa11c167fb7305ebbb21dc358a8813afaa25
2014-10-08every environment is defined as nagios hostsgroup (#5216)varac
Change-Id: I6508ce0d06b37a1c5601a0e981a59f7fda47f76a
2014-08-21Fix "Nagios ssh check is automatically added by the ssh module and cantains ↵varac
a wrong hostname on single node setup (Bug #5998)" before, the ssh module added this check, resulting in a wrong hostname and the port was always '22'. manage_nagios parameter is boolean, so we use false instead of 'no' manually add check_ssh to nagios (#5998)
2014-03-13Dont't archive nagios logs, use logrotate for it (Feature #5324)varac
2014-03-13Dont't archive nagios logs (#5324)varac
2014-03-13removed trailing whitespaces in nagios.cfgvarac
2014-03-04fix duplicate declarations in /etc/nagios3/conf.d/ on first deploy (Bug #5129)varac
2014-02-27don't use syslog for nagios log, cause it will clutter logwatch with ↵varac
false-positive warnings
2014-02-27One monitor node for non-local environments and one for local environment ↵varac
(Feature #2981), wip also, use the configured ssh port for every node
2014-02-18Remove adding of hosts from site_nagios::server (Feature #5132)varac
because now, check_mk will add the hosts
2014-02-12moved check_mk server and client class to site_check_mk modulevarac
2014-02-11properly purge nagios3/conf.d dirvarac
2014-02-11use use_ssh.mk as template, include ssh portvarac
2014-02-10Merge branch '0.6' into 4982_check_mkvarac
Conflicts: provider_base/services/monitor.json puppet/modules/site_nagios/manifests/server.pp
2014-02-10move leap_webapp.conf template to common.conf which is included by the ↵varac
nagios and webapp node (#5096)
2014-02-10add all nodes to check_mk main.mk configvarac
2014-02-08disable purging of /etc/nagios3 and /etc/nagios3/conf.dvarac
2014-02-08reload nagios after check_mkvarac
2014-02-08restricted check_mk ssh login a bit morevarac
2014-02-07added local check_mk dir /etc/nagios3/local to nagios.cfgvarac
2014-02-07deploy check_mk on monitoring servervarac
2014-02-07deploy check_mk pubkey on clientsvarac
2014-02-06Merge branch '5096_monitor_node_has_no_apache_conf' into 4982_check_mkvarac
2014-02-06move leap_webapp.conf template to common.conf which is included by the ↵varac
nagios and webapp node (#5096)
2014-02-06added site_nagios::server::apachevarac
2014-02-06added site_nagios::server::check_mkvarac
2014-02-05use check_mk::agent to install check-mk-agentvarac
2014-02-05site_nagios::client: install check_mk agentvarac
2013-11-19added website nagios check (#1629)Micah Anderson
Change-Id: Icebf9d8849b4440f4f6dbc00a1a8ac0873b62f6a
2013-10-18nagios: use hash instead of array for hosts (Bug #3909)varac
Puppet 2.7.19 introduced a change that don't allow resource titles to be something else that a string. from the puppet 2.7.19 changelog: Don’t allow resource titles which aren’t strings It was possible to create resources whose titles weren't strings, by using a variable containing a hash, or the result of a function which doesn't return a string. This can cause problems resolving relationships when the stringified version of the title differs between master and agent. Now we will only accept primitives, and will stringify them. That is: string, symbol, number, boolean. Arrays or nested arrays will still be flattened and used to create multiple resources. Any other value (for instance: a hash) will cause a parse error. currently, it's much easier to iterate over a hash in puppet than over an array, cause every resource you call iterating over an array would need a unique name, and you don't have this in arrays.
2013-09-18Setup a class dependency for every tag 'leap_service' to make sure that ↵Micah Anderson
shorewall is setup before the service is setup. This is necessary due to the strict initial firewall that stops various service setup operations from happening, but is relaxed once shorewall is setup properly (#3782) Change-Id: Ia9640c4118aa0053cdb99e7bc11860fed5527501
2013-08-29create individual classes for the apache modules so they can be included ↵Micah Anderson
more than once in different locations, depending on what services are configured on a node (#3612) Change-Id: Iff064d3d67baa132fb5198fea741522ab4e71770
2013-08-28apache headers module needs to be enabled on the monitor server (#3462)Micah Anderson
Change-Id: Ia4e36e9cb2b37172a148c209c5c07b9eca59d89e
2013-02-12switch to using stdlib's standard stagesMicah Anderson
2013-02-09site_shorewall::monitor: allow port 80 + 443varac
2013-02-06nagios: don't check openvpn, check cmd doesn't workvarac
2013-02-01disable nagios debug mode (Feature #1551)varac
2013-01-31tag 'base' is a bad idea because it invokes apache::base as wellvarac
2013-01-31just purge the nagios3/conf.d content, not the dir itselfvarac
2013-01-31include site_nagios so every subclass inherits tag 'service'varac
2013-01-29Purge nagios config files on every run (Feature #1544)varac
2013-01-28set nagiosadmin htpasswdvarac
2013-01-28re-add nagios service check openvpnvarac
2013-01-28disabled notice about nagios services not deployedvarac
2013-01-28use check_https for websitevarac
2013-01-28don't deploy openvpn check until we fix #1546varac
2013-01-28deploy openvpn checkvarac