summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-10-06Merge remote-tracking branch 'shared/master' into leap_mastervarac
Conflicts: manifests/apache.pp
2015-10-05Merge branch 'fix_apache' into 'master' Micah
Fix apache the main class is currently unusable with apache, which is the default case. we need to move management of files necessary for nagios+apache+debian into the "nagios" class to fix this. This partly responds to #4 See merge request !12
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-02Merge branch 'non_ascii_char' into 'master' Matt Taggart
remove non-ascii char in comment 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. See merge request !11
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-08-11Improve readability of nagios notification mail subjects (#6847)varac
The mail subject line is too long for some mail clients, so i removed the $NOTIFICATIONTYPE$ variable from it, because it is not needed to understand the problem/recovery.
2015-08-11added class definition to nagios::defaults::commandsvarac
2015-08-11Merge remote-tracking branch 'shared/master' into leap_mastervarac
Conflicts: README manifests/base.pp manifests/defaults/commands.pp manifests/nrpe.pp manifests/service.pp manifests/target.pp templates/nrpe/nrpe_command.erb
2015-06-07cleanup things a bit and make it possible to set a different fqdnmh
2015-05-07Merge branch 'fix_ordering' into 'master'Micah
require package before config files 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. This is a major issue since the module is currently not usable in its current state because of the problem it creates. See merge request !5
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 'nrpe_command_template' into 'master'Micah
added templates/nrpe/nrpe_command.erb commit:7fb80fbe uses nagios::nrpe::command { "check_load": ...}, but the template for it is missing. amended by LeLutin: use @ prefix on variables in template This is a followup of: https://labs.riseup.net/code/issues/4100 See merge request !8
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 'ordering_in_example' into 'master'Micah
Ordering in example The usage example in the readme has a couple of small and bigger problems. This branch makes the example more accurate. See merge request !6
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-19Merge branch 'unquote_booleans' into 'master'varac
Unquote booleans Some variables and if blocks use quoted booleans when we should be using the native boolean type. Also, when working on this, I saw an issue with a mistyped variable in nagios::service so I fixed it. This is a followup of: https://labs.riseup.net/code/issues/4093 See merge request !9
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-19added templates/nrpe/nrpe_command.erbnadir
commit:7fb80fbe uses nagios::nrpe::command { "check_load": ...}, but the template for it is missing. amended by LeLutin: use @ prefix on variables in template
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-19wrong example with nagios::defaultsGabriel Filion
The example doesn't set any ordering on the classes and this leads to errors at first install since all of the configuration files that the nagios::defaults class installs need the nagios package to be installed first in order for the config dirs to exist.
2015-04-19fix alignment and lint usage exampleGabriel Filion
Example uses weird spacing in the beginning of the lines. Also the example usage of nagios::command is broken: it lacks the closing curly brace.
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.
2015-04-17Merge branch 'master' into 'master'Jerome Charaoui
Remove unused 'mountpoints' fact. Closes #1 See merge request !3
2015-04-17Remove unused 'mountpoints' fact. Closes #1Jerome Charaoui
2015-04-17Add GPLv3 licenseMicah Anderson
2015-04-14Merge branch 'improve_notifications' into 'master'Micah
Improve notifications see https://leap.se/code/issues/6847 See merge request !2
2015-04-11Improve notification: added details, make mail subject easier to readvarac
2015-04-10Merge remote-tracking branch 'leap/master' into varac_mastervarac
2015-04-08Merge remote-tracking branch 'shared/master' into leap_mastervarac
Conflicts: manifests/defaults/commands.pp
2015-04-08Merge branch 'bug/pnp4nagios_missing_index' into 'master'varac
Add missing DirectoryIndex index.php to the pnp4nagios apache config snippet Without this you get a 404, and have to explicitly specify index.php to load it See merge request !2
2015-04-07Add missing DirectoryIndex index.php to the pnp4nagios apache config snippetMicah Anderson