nagios: Fixed hostname from nagios::target::nrpe::service.
This commit is contained in:
parent
bea057265c
commit
423fadfc11
1 changed files with 1 additions and 0 deletions
|
@ -362,6 +362,7 @@ define nagios::target::nrpe::service($source=undef,
|
||||||
@@nagios::service { "${::homename}_${service}":
|
@@nagios::service { "${::homename}_${service}":
|
||||||
command => "check_nrpe!${binary}",
|
command => "check_nrpe!${binary}",
|
||||||
description => $description,
|
description => $description,
|
||||||
|
host => $::homename,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue