summaryrefslogtreecommitdiff
path: root/manifests
AgeCommit message (Collapse)Author
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-07Add --sni to check_http --ssl commandsJerome Charaoui
2015-10-02lint init.ppGabriel Filion
one line is too long, break the code block into multiple lines to fix this issue. it also creates more breathing space and makes the code easier to read.
2015-10-02files managed for apache on debian break usage through main classGabriel Filion
Currently the nagios::apache class manages some files for debian. This means that when using the main class for setting up nagios with apache (which is the default!) lacks those files and the setup doesn't work. Split out management of those files into another class to avoid making the code in the main class too encumbered and make the main class include that (instead of nagios::apache). nagios::apache will include the main class anyway. Adjust README file so that all cases of http management are done through the "nagios" class.
2015-10-02remove non-ascii char in commentGabriel Filion
puppet 3.x refuses to run when there are non-ASCII chars in comments (wth!). so replace that char with an ASCII representation of it.
2015-05-07require package before config filesGabriel Filion
In the current state of the module, almost 100% of the time nagios doesn't install correctly since ordering of the resources is not enforced.
2015-05-07Merge branch 'no_alias_for_host' into 'master'Micah
stop defining an alias by default for hosts Since the "alias" attribute is special for puppet in that it needs to be a string that's unique throughout all of the resources on a given host's catalogue, we shouldn't always define an alias unless users really want them. This alias might (and did for some ppl) create a conflict when using a class that is named the same as $::hostname. We've just hit hit limitation on a Koumbit node. The alias attribute is legitimate in terms of nagios host attributes, but the name of the attribute clashes with the special-purpose attribute for puppet. So one might argue that the native puppet types are flawed, and they would be correct! but getting those types fixed would be a pain in the ass since they haven't been maintained for quite some time. See merge request !10
2015-05-07Merge branch 'plugin_path' into 'master'Micah
Plugin path Avoid using lib64 in the path for x86_64 architecture when using debian. this path is not available anymore starting with debian wheezy. Then lint the file to make it easier to read / maintain. This is a followup of https://labs.riseup.net/code/issues/4237 See merge request !7
2015-05-07Merge branch 'manage_resource.cfg' into 'master'Micah
Only use the private directory on CentOS Debian and ubuntu have their resource.cfg file placed in /etc/nagios3/ and when it's absent it can cause issues with the package (because the package is badly done). This is a followup to issue https://labs.riseup.net/code/issues/4240 See merge request !4
2015-04-23stop defining an alias by default for hostsGabriel Filion
Since the "alias" attribute is special for puppet in that it needs to be a string that's unique throughout all of the resources on a given host's catalogue, we shouldn't always define an alias unless users really want them. This alias might (and did for some ppl) create a conflict when using a class that is named the same as $::hostname.
2015-04-19nagios::service typo in variableGabriel Filion
This invalidates the point of that if block since it will probably never be true that some undefined (read mis-typed) variable is set to 'absent'.
2015-04-19unquoted boolean variablesnadir
2015-04-19lint plugin.ppGabriel Filion
This should make it easier to read the code.
2015-04-19Fixing plugin path for debianSilvio Rhatto
2015-04-19Only use the private directory on CentOSGabriel Filion
Debian and ubuntu have their resource.cfg file placed in /etc/nagios3/ and when it's absent it can cause issues with the package (because the package is badly done).
2015-04-18adding Debian specific nrpe template (fixes stop/restart of nrpe-server)kwadronaut
2015-04-18Commands notify-host-by-email and notify-service-by-email are already ↵Silvio Rhatto
defined by the nagios package amended by LeLutin: added missing : after default keyword and fixed style a bit.
2014-02-20Fix source URL for apache configJerome Charaoui
2013-07-31Correct erroneous previous commitJerome Charaoui
2013-07-31Mirror modification to check_http_regex_url in commit b0a5c09 to ↵Jerome Charaoui
debian/ubuntu commands.
2013-02-28Update nagios::headless to use parametrized classSilvio Rhatto
2013-02-27Fix munin pluginsGabriel Filion
the basic path for nagiosstats is wrong/hardcoded. that binary comes in with the nagios3 package in Debian. set the default value to the right path under Debian and make it possible to override the path with an environment variable. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2013-02-27delete commented nagios_host and -service template definitionsvarac
2013-02-22remove site-nagios source lines, we decided that it is better not to carry ↵Micah Anderson
that old baggage around
2013-02-14Merge branch 'add_pnp4nagios' of ssh://code.leap.se/puppet_nagios into ↵Micah Anderson
add_pnp4nagios Conflicts: README.pnp4nagios manifests/defaults/pnp4nagios.pp manifests/pnp4nagios.pp manifests/pnp4nagios/popup.pp
2013-02-14make site_nagios source primary, but allow fall-back to site-nagiosMicah Anderson
2013-02-14lintian of pnp4nagios commitsMicah Anderson
2013-02-14forgot $varac
2013-02-14fix proper deployment of pnp4nagios-templates.cfgvarac
2013-02-14no ::nagios_packagename variable anymorevarac
2013-02-14require pnp4nagios package for config filevarac
2013-02-14use a graph style icon for action.gifvarac
2013-02-14typos againvarac
2013-02-14typovarac
2013-02-14fixed conf file permissions, notify servicesvarac
2013-02-14resolve nagios_cfgdir variablevarac
2013-02-14depend on pnp4nagios instead of npcdvarac
2013-02-14configure pnp4nagios npcdvarac
2013-02-14typovarac
2013-02-14package pnp4nagios available now, fix permissions for config filesvarac
2013-02-14corrected path to pnp4nagios apache.confvarac
2013-02-14possibility to deploy a custom pnp4nagios apache confignadir
2013-02-14basic pnp4nagios grapher integrationvarac
2013-01-23lint irc_bot/base.ppMicah Anderson
2013-01-23be sure to notify the service after the configuration file has changedMicah Anderson
2013-01-23switch to using 'group => 0' instead of 'group => root'Micah Anderson
2013-01-03merge artifact left in one manifestGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2013-01-02Merge remote-tracking branch 'shared/master'mh
Conflicts: README manifests/service.pp
2013-01-02this file is only needed on debianmh
2013-01-02trocla should be optionalmh