From 4257fa1d29f3251960cc40f9651bbedb40d3d531 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Mon, 8 Feb 2010 12:09:01 -0500 Subject: add passive service --- manifests/service/passive.pp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 manifests/service/passive.pp (limited to 'manifests/service/passive.pp') diff --git a/manifests/service/passive.pp b/manifests/service/passive.pp new file mode 100644 index 0000000..f3df1e8 --- /dev/null +++ b/manifests/service/passive.pp @@ -0,0 +1,18 @@ +define nagios::service::passive( + $ensure = present, + $notification_interval = '', + $notification_period = '', + $notification_options = '', + $contact_groups = '' +) { + + nagios::service { $name: + use => 'passive-service', + check_command => 'check_dummy!0', + notification_interval => $notification_interval, + notification_period => $notification_period, + notification_options => $notification_options, + contact_groups => $contact_groups, + } + +} -- cgit v1.2.3