nagios: Fixed notify parameter
This commit is contained in:
parent
c3ffcb8fae
commit
0a1a363ab1
1 changed files with 1 additions and 2 deletions
|
@ -286,11 +286,9 @@ class nagios::server inherits nagios::server::manual {
|
|||
|
||||
Nagios::Host <<||>> {
|
||||
confdir => $confdir,
|
||||
notify => Service["nagios"],
|
||||
}
|
||||
Nagios::Service <<||>> {
|
||||
confdir => $confdir,
|
||||
notify => Service["nagios"],
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -550,6 +548,7 @@ define nagios::service($host, $command, $description, $group="NONE",
|
|||
use => "default",
|
||||
target => "${confdir}/service_${name}.cfg",
|
||||
require => Nagios_Host[$host],
|
||||
notify => Service["nagios"],
|
||||
}
|
||||
|
||||
if $group != "NONE" {
|
||||
|
|
Loading…
Add table
Reference in a new issue