home.router: let dyndns have ipv6 please
This commit is contained in:
parent
951d254c7a
commit
d999895450
6 changed files with 100 additions and 76 deletions
|
@ -39,24 +39,3 @@ def ignore_interface(metadata):
|
|||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'icinga2_api/pppd/services',
|
||||
)
|
||||
def icinga_dyndns(metadata):
|
||||
if not metadata.get('pppd/dyndns', {}):
|
||||
return {}
|
||||
|
||||
return {
|
||||
'icinga2_api': {
|
||||
'pppd': {
|
||||
'services': {
|
||||
'DYNDNS UPDATE': {
|
||||
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_dyndns_update',
|
||||
'vars.notification.mail': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue