diff options
author | Marcel Haerry <haerry@puzzle.ch> | 2008-04-22 15:01:48 +0200 |
---|---|---|
committer | Marcel Haerry <haerry@puzzle.ch> | 2008-04-22 15:01:48 +0200 |
commit | c6f6cca89f7a89b5ba72b0bd65e469c93e3cf3ce (patch) | |
tree | ed19b468ba121328e3aec9a3878e9b9ced3a436f | |
parent | 8e503cf77c5f5390e6502688a341b3f2a32e0baa (diff) |
added nagios class
-rw-r--r-- | manifests/plugin.pp | 8 |
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'; + } +} |