summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2008-04-22 15:01:48 +0200
committerMarcel Haerry <haerry@puzzle.ch>2008-04-22 15:01:48 +0200
commitc6f6cca89f7a89b5ba72b0bd65e469c93e3cf3ce (patch)
treeed19b468ba121328e3aec9a3878e9b9ced3a436f
parent8e503cf77c5f5390e6502688a341b3f2a32e0baa (diff)
added nagios class
-rw-r--r--manifests/plugin.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index 6eaa518..36773ee 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -229,3 +229,11 @@ class munin::plugins::postgres inherits munin::plugins::base {
munin::plugin::deploy { "pg__connections": ensure => false }
munin::plugin::deploy { "pg__locks": ensure => false }
}
+class munin::plugins::nagios inherits munin::plugins::base {
+ munin::plugin {
+ nagios_hosts: script_path => "/usr/local/bin", config => 'user root';
+ nagios_svc: script_path => "/usr/local/bin", config => 'user root';
+ nagios_perf_hosts: ensure => nagios_perf_, script_path => "/usr/local/bin", config => 'user root';
+ nagios_perf_svc: ensure => nagios_perf_, script_path => "/usr/local/bin", config => 'user root';
+ }
+}