summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-17Install pnp4nagios after pnp4nagios-web-config-nagios3varac
Without a relationship, `pnp4nagios` will pull `pnp4nagios-web-config-icinga` because the package provider installs the recommends by default. This package itself will pull in icinga as dependency then. So we install `pnp4nagios-web-config-nagios3` before. Patch was sent to the leap-discuss ml on March 17th.
2016-03-10Merge branch 'improve_resource_ordering' into 'master' Micah
Improve resource ordering See merge request !21
2016-03-10Nagios resources depend on nagios confdirvarac
2016-03-10Always notify Service[nagios] from nagios resourcesvarac
2016-03-10Improve relationship of nagios resourcesvarac
2016-03-09Added $storeconfigs parametervarac
With this you can disable collection of exported resources. On masterless setups, this module would otherwise complain.
2016-02-25Merge branch 'nrpe_params' into 'master' LeLutin
Nrpe params The nagios::nrpe class is currently completely unusable with puppet 3.x+ This is because it's still relying on global variables. When one tries to setup an nrpe client with nagios::nrpe with puppet 3.x, the following error occurs: ~~~ ==> jessiepuppet: Error: Failed to parse template nagios/nrpe/nrpe.cfg: ==> jessiepuppet: Filepath: /usr/lib/ruby/vendor_ruby/puppet/parser/templatewrapper.rb ==> jessiepuppet: Line: 81 ==> jessiepuppet: Detail: Could not find value for 'nagios_nrpe_pid_file' at /etc/puppet/modules/nagios/templates/nrpe/nrpe.cfg:19 ==> jessiepuppet: at /etc/puppet/modules/nagios/manifests/nrpe/base.pp:22 on node jessie.vagrantup.com ==> jessiepuppet: Error: Failed to parse template nagios/nrpe/nrpe.cfg: ==> jessiepuppet: Filepath: /usr/lib/ruby/vendor_ruby/puppet/parser/templatewrapper.rb ==> jessiepuppet: Line: 81 ==> jessiepuppet: Detail: Could not find value for 'nagios_nrpe_pid_file' at /etc/puppet/modules/nagios/templates/nrpe/nrpe.cfg:19 ==> jessiepuppet: at /etc/puppet/modules/nagios/manifests/nrpe/base.pp:22 on node jessie.vagrantup.com ~~~ This is because the values of variables defined within nagios::nrpe are not propagated into other classes anymore. This series also changes a default behaviour for creating saner configurations by default: the dont_blame_nrpe option is changed to disable command arguments by default. It also adds some documentation for the nagios::nrpe class since it had no explanation whatsoever of how it should be used in the README. See merge request !18
2016-02-25still a module name left with a dash in it.Gabriel Filion
We missed this module reference. Starting with puppet 3.x, modules with a dash in them are not recognized by puppet anymore, so only the file from the "nagios" module is found.
2016-01-31Document how to use the nagios::nrpe classGabriel Filion
2016-01-31disable NRPE command arguments by defaultGabriel Filion
setting dont_blame_nrpe is useful for some, but it's generally dangerous and should be disabled if it's not used. In this sense, it's a better idea to disable this by default.
2016-01-31nrpe: parametrize dont_blame_nrpeGabriel Filion
This value is used in order to enable or disable arguments to nrpe commands. Since some ppl might need to enable it, we should parametrize it.
2016-01-31parametrize nagios::nrpeGabriel Filion
the current code for configuring NRPE is still relying on global variables. This is not working at all with puppet 3.x and forward, so in order to make this code functional, we need to parametrize values that are used.
2015-12-09Merge branch 'immerda_changes' into 'master' Micah
Merge in immerda changes - purging of resources and lots of nice additional checks Sorry for the big amount of changes, but I think I merged everything nicely with what we have been working. Ok, so what do you get here: * Purging of unmanaged resources, for that I had to move everything to the default paths of the puppet types, BUT now as soon as a node won't export anymore a resource it will get purged from nagios. No more cleaning up of decomissioned nodes, just remove them from puppet (puppet node clean oldnode.example.com) and they will also disappear from nagios. * slight changes to the http checks. ** naming the checks consistently, so it's easier to change what they are looking for. ** Also accept 301 & 302 as a good value per default. ** make it possible to define accepted return codes per http & https * add gpgkey checks, so you won't miss any expiring gpg keys anymore * add imap login checks, so you can check whether ppl can actually login to your mailserver * add horde login checks, so you can check whether login to horde still works * linting wherever I touched something. See merge request !15
2015-12-09Merge remote-tracking branch 'shared/master'mh
2015-12-05Lint nagios::nrpe::basenadir
2015-12-05Fix allowed_hosts typo in templates/nrpe/nrpe.cfgnadir
2015-12-05Require Package['nagios-nrpe-server'] for nrpe cmdsvarac
2015-12-05Merge remote-tracking branch 'shared/master'mh
2015-12-04Merge branch 'pnp4nagios_jessie' into 'master' Micah
[bug] Install pnp4nagios-web-config-nagios3 .deb On jessie hosts, pnp4nagios-web defaults now to pnp4nagios-web-config-icinga, so we install pnp4nagios-web-config-nagios3 manually. See merge request !16
2015-11-28linting for future parsermh
2015-11-06[bug] Install pnp4nagios-web-config-nagios3 .debvarac
On jessie hosts, pnp4nagios-web defaults now to pnp4nagios-web-config-icinga, so we install pnp4nagios-web-config-nagios3 manually.
2015-10-31also add pop3 login checksmh
2015-10-31add some metrics to the horde checkmh
2015-10-26enable ssl login by defaultmh
2015-10-26fix nagios_aliasmh
2015-10-26make it possible to also pass down the host_namemh
2015-10-25add an imap_login checkmh
2015-10-25linting nagios::service::imapmh
2015-10-25it's sufficient to check it only once an hourmh
2015-10-25newer nagios versions use now check_intervalmh
2015-10-25lintingmh
2015-10-25Merge remote-tracking branch 'shared/master'mh
2015-10-25lintingmh
2015-10-16fixing pathmh
2015-10-16fetch things over hkps and on every checkmh
2015-10-16Revert "this is handled outside & centrally"mh
This reverts commit ffca95a6b0281ab49f4a626a1ee6a68257769388.
2015-10-13install requirementsmh
2015-10-13this is handled outside & centrallymh
2015-10-13also deploy the plugin on a nagios hostmh
2015-10-13correct namingmh
2015-10-13username can be namemh
2015-10-12make it possible to define the keyserver to fetch frommh
2015-10-12the module is called gpgmh
2015-10-12ensure we run things with the right user/groupmh
2015-10-12introduce horde_login checksmh
2015-10-12introduce gpg checksmh
2015-10-09Merge branch 'UpdateApacheConf' into 'master' Micah
update the apache2.conf file updating to the debian 3.5.1.dfsg-2+b1 version of the file. mostly whitespace changes, one 2.2 vs 2.4 change and a change for docs. See merge request !14
2015-10-09Merge branch 'check_http_sni_support' into 'master' Micah
Add --sni to check_http --ssl commands Makes sure correct SSL certificate is selected on hosts which use SNI for SSL, and also avoids some sites returning a `HTTP CRITICAL - Error on receive` error. Does not seem to affect non-SNI hosts. See merge request !13
2015-10-08update the apache2.conf fileMatt Taggart
updating to the debian 3.5.1.dfsg-2+b1 version of the file. mostly whitespace changes, one 2.2 vs 2.4 change and a change for docs.
2015-10-07Add --sni to check_http --ssl commandsJerome Charaoui