summaryrefslogtreecommitdiff
path: root/manifests/defaults/commands.pp
AgeCommit message (Collapse)Author
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-03-06add dnsbl check commandmh
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-07-01use proper check cmd namemh
2010-02-20remove check_ssh_port duplicate command definitionMicah Anderson
2010-02-20remove another duplicated check_command definitionMicah Anderson
2010-02-20fix another syntax error from the previous commitMicah Anderson
2010-02-20add back the accidentally removed nagios_command pieceMicah Anderson
2010-02-20the debian package nagios-plugins and nagios-plugins-basic defines aMicah Anderson
number of the check_commands that were being defined by this module, this caused duplicate definition issues, so to solve this we don't define the subset of commands on debian/ubuntu systems that are handled by the package, but let other operatingsystems define them (as they were before)
2010-02-08add passive serviceJerome Charaoui
2009-12-28add port and database options to mysql service, use 'hostname' plugin ↵Jerome Charaoui
parameter to specify socket
2009-12-22adjust mysql commands & serviceJerome Charaoui
2009-12-11add mysql commands and serviceJerome Charaoui
2009-12-08add more commands to defaults::commands and distinguish between common ↵Jerome Charaoui
commands and commands required by some services defined in other modules
2009-12-02move nagios templates in a file resource as puppet doesn't support them ↵Jerome Charaoui
using native types, see issue #1180
2009-12-02remove jabber command from default commands until we decide if/how to ↵Jerome Charaoui
include plugins
2009-12-02replace defaults based on cfg files by puppet resourcesJerome Charaoui