From 423fadfc11829deafeecb5d26622dbf86499f483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 14 May 2013 09:03:46 +0300 Subject: [PATCH] nagios: Fixed hostname from nagios::target::nrpe::service. --- nagios/manifests/target.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/nagios/manifests/target.pp b/nagios/manifests/target.pp index c2b6ad9..a485abf 100644 --- a/nagios/manifests/target.pp +++ b/nagios/manifests/target.pp @@ -362,6 +362,7 @@ define nagios::target::nrpe::service($source=undef, @@nagios::service { "${::homename}_${service}": command => "check_nrpe!${binary}", description => $description, + host => $::homename, } }