nagios: Fixed more conflicting names when same command is used for multiple nrpe service targets.
This commit is contained in:
parent
e4a9fd523f
commit
80fdf06830
1 changed files with 2 additions and 2 deletions
|
@ -566,13 +566,13 @@ define nagios::target::nrpe::service($command=undef,
|
|||
"openbsd" => "wheel",
|
||||
default => "root",
|
||||
},
|
||||
content => "command[${binary}]=${nagios::common::libdir}/${command_real}\n",
|
||||
content => "command[${config}]=${nagios::common::libdir}/${command_real}\n",
|
||||
require => File["/etc/nrpe.d"],
|
||||
notify => Service["nrpe"],
|
||||
}
|
||||
|
||||
@@nagios::service { "${::homename}_${config}":
|
||||
command => "check_nrpe!${binary}",
|
||||
command => "check_nrpe!${config}",
|
||||
description => $description,
|
||||
host => $::homename,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue