diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-02-08 12:09:01 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-02-08 12:09:01 -0500 |
commit | 4257fa1d29f3251960cc40f9651bbedb40d3d531 (patch) | |
tree | ce721ae86020153313e63ce56dea6196a46403f5 /manifests/service/passive.pp | |
parent | 218060f10ef3fd9278d276802cd149161900e6f5 (diff) |
add passive service
Diffstat (limited to 'manifests/service/passive.pp')
-rw-r--r-- | manifests/service/passive.pp | 18 |
1 files changed, 18 insertions, 0 deletions
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, + } + +} |