From c6f6cca89f7a89b5ba72b0bd65e469c93e3cf3ce Mon Sep 17 00:00:00 2001 From: Marcel Haerry Date: Tue, 22 Apr 2008 15:01:48 +0200 Subject: added nagios class --- manifests/plugin.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manifests/plugin.pp') 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'; + } +} -- cgit v1.2.3