summaryrefslogtreecommitdiff
path: root/manifests/defaults/plugins.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-10-18 20:55:48 -0400
committerMicah Anderson <micah@riseup.net>2010-10-18 20:55:48 -0400
commitb057ff41f32ccba198a41a5babc51da6f48911a5 (patch)
tree2d1da1db5524c3632e17358a983cb4e1036c2178 /manifests/defaults/plugins.pp
parent5cb689737e367ce751956575b11b0d46bf241f91 (diff)
. add the check_mysql_health plugin
. 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
Diffstat (limited to 'manifests/defaults/plugins.pp')
-rw-r--r--manifests/defaults/plugins.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/defaults/plugins.pp b/manifests/defaults/plugins.pp
new file mode 100644
index 0000000..1df8064
--- /dev/null
+++ b/manifests/defaults/plugins.pp
@@ -0,0 +1,5 @@
+class nagios::defaults::plugins {
+
+ nagios::plugin { 'check_mysql_health': source => 'nagios/plugins/check_mysql_health'; }
+
+}