summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nagios
AgeCommit message (Collapse)Author
2016-03-10[feat] add /etc/nagios3/conf.d/local as confdirvarac
- Related: #2327
2016-03-10Add Dependencies to site_nagios resourcesvarac
2016-03-09[bug] Adopt new parameters from nagios and check_mk modulevarac
2016-03-02Dont recreate nagios resources on every runvarac
Use purging of nagios resources in a way that not all resources are recreated on every puppetrun. Resolves: #2327
2016-02-24[bug] Adopt ncli aliases to new version of iclivarac
- Resolves: #7887
2016-01-22restructured site.pp, now only one class gets included in site.pp per ↵varac
service (Bug #6851) Also, moved global Exec{} defaults to site.pp Change-Id: I9ae91b77afde944d2f1312613b9d9030e32239dd
2015-11-17[bug] use $lsbdistcodename to query apache versionvarac
Using $::apache_version won't work because the facts are evaluated before compiling the catalog and with this, before the installation of apache. so on an install from scratch, this fact won't contain anything.
2015-11-17[bug] [jessie] Load needed modules for apache 2.4varac
- Related: #6920
2015-10-13Merge branch 'bug/7527' into developMicah
2015-10-13Update resource_file to not include /private/ as this is not usedMicah
anymore by the nagios module, and our config template has drifted. Fixes: #7527 Change-Id: I56c3492056fcb95c499cf78b893249adcf0ae67f
2015-10-12[feat] Remove tapicero couchdb uservarac
- Resolves: #7514
2015-09-30Fix server-status availability to tor hidden services (#7456)Micah Anderson
Make the server-status information unavailable by putting the vhost on a port that isn't configured as available to the tor hidden-service. Change-Id: Idd3bfefb5b7fc26fb0a8cf48cdf6afc68a4192bb
2015-06-07deploy check_openvpn_server.pl after nagios-plugins-standard package is ↵0.7.0rc2varac
installed Change-Id: I272b30fd79e89ddf968c0a6e453d53a1f0540397
2015-04-08Fix for Tapicero heartbeat check that fails on days 1-9 of the month (#6832)varac
Change-Id: If9e17de438a4a6ac8e68877bfe0c5d13d45386ee
2015-01-13added pnp4nagios graphing support (#1539)varac
Change-Id: I5c7bcfe2e6dca2276c03bd4985b0fb1e4852a9df
2014-12-18Install icli package and configure ncli aliases (solves #6475)guido
Change-Id: I0f9397593bc4f00b64b626a159be09ab5ef694d6
2014-12-17Check tapicero heartbeat (Bug #6556)varac
In order to assure tapicero is still working, we need to monitor /var/log/syslog for the last tapicero log msg, which should not be older than the last check_mk_agent run (every 2 mins atm).
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.