summaryrefslogtreecommitdiff
path: root/manifests/defaults
AgeCommit message (Collapse)Author
2018-11-20puppet 4 compare undef empty stringHEADmasterkwadronaut
2016-03-11Improve notification mailsvarac
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. This is an example of a mail send out using this change: Subject: WARNING - aardwolf: APT ***** Nagios ***** Notification Type: PROBLEM Host: aardwolf.unstable.bitmask.i (aardwolf) Address: 199.119.112.205 Service: APT State: WARNING Duration: 0d 0h 13m 5s Date/Time: Fri Jan 15 10:04:55 UTC 2016 Output: WARN - APT WARNING: 20 packages available for upgrade (0 critical updates). Before it looked like this: Subject: ** PROBLEM Service Alert: aardwolf/APT is WARNING ** ***** Nagios ***** Notification Type: PROBLEM Service: APT Host: aardwolf Address: 199.119.112.205 State: WARNING Date/Time: Thu Mar 10 21:57:23 UTC 2016 Additional Info: WARN - APT WARNING: 1 packages available for upgrade (0 critical updates).
2016-03-10Improve relationship of nagios resourcesvarac
2015-10-25newer nagios versions use now check_intervalmh
2015-10-25lintingmh
2015-10-25Merge remote-tracking branch 'shared/master'mh
2015-10-13also deploy the plugin on a nagios hostmh
2015-10-07Add --sni to check_http --ssl commandsJerome Charaoui
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-10-05get auto purging working againmh
That purging resources work correctly, the config files must be at the location that the nagios providers have internally, which is at /etc/nagios/<name>.cfg To ease the config file we used the cfg_dir option so far, which we can't anymore and hence this change requires adoption of your site modules. But auto-purging resources will then finally work.
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-27delete commented nagios_host and -service template definitionsvarac
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-14lintian of pnp4nagios commitsMicah Anderson
2013-02-14basic pnp4nagios grapher integrationvarac
2013-01-02Merge remote-tracking branch 'riseup/master' into HEADmh
Conflicts: manifests/apache.pp manifests/base.pp manifests/defaults/templates.pp manifests/defaults/vars.pp manifests/init.pp manifests/irc_bot.pp manifests/nsca/client.pp manifests/nsca/server.pp manifests/service.pp manifests/service/mysql.pp templates/irc_bot/nsa.cfg.erb
2012-09-19basic pnp4nagios grapher integrationvarac
2012-06-272.7 underscore rename: site-nagiosMicah Anderson
2012-06-05new style for 2.7mh
2012-05-05Merge pull request #4 from efroese/http-checkduritong
Add the port arg to check_http_url_regex. Default 80.
2012-05-01Remove unnecessary jabber dependency.Erik Froese
2012-05-01Add the port arg to check_http_url_regex. Default 80.Erik Froese
2012-04-18Fully qualify facter variables to suppress warningsChristian G. Warden
merge conflict due to immerda's branch not being up-to-date on the bot
2012-02-02Merge remote-tracking branch 'github/master'mh
2012-02-01Fully qualify facter variables to suppress warningsChristian G. Warden
2011-12-08Merge branch 'master' into riseupMicah Anderson
2011-12-08Revert "Fix nagios check_smtp duplicate definition"Micah Anderson
This reverts commit fb75fcec220f9e2943d2e7af292ff884fd237f6d. Reverted due to LeLutin's comments in #3310 and the fix implemented in #3298 in preparation of merging those
2011-09-15Host alerts not parsing variables due to excessive escaping (#3456)Silvio Rhatto
2011-04-12add check_git command to debian/ubuntu as wellMicah Anderson
2011-04-12Fix nagios check_smtp duplicate definitionMicah Anderson
On Debian, the nagios-plugins packages install /etc/nagios-plugins/config/mail.cfg which contains the check_smtp/check_imap commands, and these commands cannot be duplicated. The addition of these commands in this module in c9c4f5bb895e98e31d84c751a7fcbdae9bf57008 and 1c4de48baf4ffcf5f39894a101a3c59479959b47 now cause Debian nagios servers to fail to start with this message: Warning: Duplicate definition found for command 'check_smtp' (config file '/etc/starting on line 9) The versions of these check commands that were added in the above commits are actually more full-featured than the ones that Debian ships, most notably because they allow for the port to be passed as an option. In most cases their names are the same, although the imap and pop ssl commands are different. This leads to a somewhat unfortunate situation where the module defines duplicated commands, which are better, but in some cases are differently named than the ones shipped in the package. Ideally, those names would converge, and the debian package commands would add the port options by default, and we'd case out debian/ubuntu to not ship these in this module. However, due to the added benefit of the options provided in the commands shipped in this module, along with the benefits that come with the module being able to automatically configure these, I've elected to simply remove the debian package file (which is a config file, so it will be honored by the packaging system).
2011-04-11Merge commit 'f2df62c9d17d481a3d616a4f2de9496638fadc0a'Micah Anderson
Conflicts: manifests/defaults/commands.pp
2011-04-06try to fix nagios::plugin problemmh
We have a serious problem with the concept that we had up to now if you start adding more than one nagios server. This is an attempt to fix it, with certain drawbacks, such as that you have to list all the nagios plugins in the nagios modules. This will be subject of further discussion.
2011-03-06add dnsbl check commandmh
2011-03-06add and deploy check_dnsbl scriptmh
2011-02-07we need also to escape the $mh
2011-02-07escape new line as we have now double bracketsmh
2011-02-07fix mail cmd on centosmh
2010-12-25fix the --warning --critical by appending it as optional ending arguments in ↵Micah Anderson
the command specifier
2010-12-12add imap and pop3 commandsmh
2010-12-12fix typomh
2010-12-12include the commands at the right placemh
2010-10-23define commands at the right placemh
2010-10-23add some more http(s) testsmh
2010-10-21fix typo in commandsmh
2010-10-21add check_dns2mh
check_dns had some problems with down nameservers. This one properly checks the right nameserver.
2010-10-20add check_git commandmh
2010-10-20rename check_ssh port cmd, add ssh_port_host cmdmh
2010-10-18. add the check_mysql_health pluginMicah Anderson
. add an additional nagios::defaults::plugins class that is included in the nagios::defaults, this can be used to install other nagios plugins that aren't distributed in the nagios-plugins package . use the nagios::defaults::plugins to setup the check_mysql_health plugin . add a check_mysql_health command to defaults/commands.pp in the section for commands for services defined by other modules . change the nagios::service::mysql to use the more advanced check_mysql_health plugin, instead of the basic check_mysql plugin
2010-08-07remove unnecessary fileserver variable (#2460)mh