summaryrefslogtreecommitdiff
path: root/files
AgeCommit message (Collapse)Author
2012-04-10Define check_load as a function of the nb of cpusGabriel Filion
The "check_load" nagios check should not be hardcoded to some arbitrary value. The thresholds should rather be adjusted in function of how many CPUs are present in the server. The factors were chosen by prior experience but could be adjusted if needed. Factors for warning thresholds (where N is the nb of cpus): * 1min : 5 * N * 5mins : 4 * N * 15mins : 3 * N Factors for critical thresholds: * 1min : 10 * N * 5mins : 9 * N * 15mins : 8 * N
2012-04-09Basic NRPE Supportnadir
amended (lelutin): removed trailing spaces and commented out code.
2012-04-09Import fresh nsca.cfg fileGabriel Filion
The default nsca.cfg is currently using the "non-normal" port for nsca. Let's import a freshly installed nsca.cfg file with default values. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-12-08Provide default config files for nagios.cfg and cgi.cfgGabriel Filion
The current code tries to get the content of those two files in a bunch of places and defines a fallback to a generic file in the module's files/configs directory. The problem is that there is no such generic config file present. Link to Debian's config files as a generic version of those configuration files. This bug was found by taggart.
2011-12-08update check_mysql_health plugin to newer versionMicah Anderson
2011-04-28fix syntax error from previous commitMicah Anderson
2011-04-28add configuration variable to irc bot to enable IRC notice type messages ↵Micah Anderson
which can be turned on by the puppet variable $nagios_nsa_usenotices
2011-04-11Merge commit 'f2df62c9d17d481a3d616a4f2de9496638fadc0a'Micah Anderson
Conflicts: manifests/defaults/commands.pp
2011-03-06add and deploy check_dnsbl scriptmh
2011-03-02links do not work for file sourcesmh
2011-03-02merge with saravamh
2011-02-07make the client config awaremh
2011-02-06Merge remote branch 'leluitn/apache_conf_fix'mh
2011-02-06merge lelutinmh
2010-12-26Update check_mysql_health plugin, changes:Micah Anderson
. fixed a division by zero bug in index-usage (Thanks Wiltmut Gerdes) . fixed a severe bug when loading dynamic extensions (Thanks Ralph Schneider) . added mode table-fragmentation . fixed a bug in table-lock-contention (thanks mayukmok00) . mode sql can now have a non-numerical output which is compared to a string/regexp . new parameter –dbthresholds . new mode report can be used to output only the bad news (short,long,html) . added modes threads-created, threads-running, threads-cached . added connects-aborted, clients-aborted
2010-12-21Add nagios IRC botGabriel Filion
Koumbit is using an IRC bot that Micah provided. It is a pair of perl scripts that send Nagios notifications as messages in an IRC channel. Add a class to make installing this IRC bot easy. It also defines commands 'notify-by-irc' and 'host-notify-by-irc' that can be used with checks to send notifications via the bot. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-12-14Make nagios::apache manage the apache config.Gabriel Filion
Currently, the nagios module purges all files under the Nagios configuration directory. This has the unwanted effect of removing files that are added by default by the .deb packages, thus making the Nagios interface non functional under apache. To fix the situation, make nagios::apache under Debian manage the apache config file and link to it in apache's conf.d directory, in the same manner as the Debian packages do. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-21add check_dns2mh
check_dns had some problems with down nameservers. This one properly checks the right nameserver.
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-01Merge branch 'koumbit'mh
2010-07-01Merge remote branch 'riseup/master'mh
2010-06-28adjust plugin stuff, so we can remotely specify new pluginsmh
2010-06-07Re-adding resource.cfg.amd64 for debianSilvio Rhatto
2010-06-07Symlink for Debian/private/resource.cfg.amd64Silvio Rhatto
2010-04-09add a default empty htpasswd so the catalog compiles rightAntoine Beaupre
2010-04-09include the commands.cfg file in Debian since we need the ↵Antoine Beaupre
notify-(host|service)-by-email commands
2010-04-09add amd64 resources, fix the other to be a symlink since it's the sameAntoine Beaupre
2010-02-20enable the cfg_dir=/etc/nagios-plugins/config parameter in the defaultMicah Anderson
Debian nagios.cfg file without this enabled, the plugins which are installed by the nagios-plugins and nagios-plugins-basic packages will not be enabled, causing undefined service check command errors in the nagios pre-flight check. Because the nagios-plugins-basic package is installed as a Depends for the nagios3 package, and nagios-plugins is usually brought in, due to nagios3 having a Recommends on it, it a good idea to have this plugin location enabled.
2010-02-08add basic nsca server/client classes and provide default configJerome Charaoui
2010-02-08add passive serviceJerome Charaoui
2010-02-01add munin plugin for nagios serverJerome Charaoui
2009-12-28remove $hostname from service names: these are added internally to ↵Jerome Charaoui
nagios_service type, but should not appear for service descriptions in nagios
2009-12-08dont pull in default commands defined by nagios package on DebianJerome Charaoui
2009-12-08fix nagios.cfg cfg_dir path for CentOSJerome Charaoui
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-02move puppet nagios resources down into conf.dJerome Charaoui
2009-12-02replace defaults based on cfg files by puppet resourcesJerome Charaoui
2009-12-01correct cfg paths for debianJerome Charaoui
2009-12-01Correct default definition file source; remove unneeded config filesJerome Charaoui
2009-12-01Add support for Debian; split up package defaults and create new ↵Jerome Charaoui
nagios::default resource; add support for lighttpd and headless httpd configurations; move common commands definitions into nagios::commands
2009-04-20without localhost should be bettermh
2009-02-02added jabber commandsmh
2008-11-07removed modules dir - we don't need itmh
factored out classes and defines in their own files
2008-07-22merged with puzzlemh
2008-05-12moved nagios config to files, due t the legacy stuffmh
2008-05-09merged with puzzle's onemh
2008-05-06fixed resource path nagios problemmh
2008-04-28removed unneeded filemh
2008-04-25added default localhost config filemh
2008-04-25added default localhost config filemh