wip
This commit is contained in:
parent
ad579d79a6
commit
3c0960766c
3 changed files with 3 additions and 10 deletions
|
@ -2,5 +2,5 @@ const PluginDir = "/usr/lib/nagios/plugins"
|
|||
const ManubulonPluginDir = "/usr/lib/nagios/plugins"
|
||||
const PluginContribDir = "/usr/lib/nagios/plugins"
|
||||
const NodeName = "${hostname}"
|
||||
const ZoneName = "${hostname}"
|
||||
const ZoneName = NodeName
|
||||
const TicketSalt = ""
|
||||
|
|
|
@ -3,12 +3,5 @@ object Endpoint NodeName {
|
|||
}
|
||||
|
||||
object Zone ZoneName {
|
||||
endpoints = [ NodeName, "server.home.ckn.li" ]
|
||||
}
|
||||
|
||||
|
||||
|
||||
# WHY?????
|
||||
object Endpoint "server.home.ckn.li" {
|
||||
host = NodeName
|
||||
endpoints = [ NodeName ]
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ files = {
|
|||
'group': 'nagios',
|
||||
'mode': '0640',
|
||||
'context': {
|
||||
'hostname': node.metadata.get('icinga2/hostname')
|
||||
'hostname': node.metadata.get('hostname')
|
||||
},
|
||||
'triggers': [
|
||||
'svc_systemd:icinga2.service:restart',
|
||||
|
|
Loading…
Reference in a new issue