bundlewrap/bundles/radvd/metadata.py
Franziska Kunsmann 5935aed0db
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/{netdata,pppd,radvd,vmhost,vnstat,wide-dhcp6c}: add monitoring
2020-12-21 09:50:15 +01:00

25 lines
519 B
Python

defaults = {
'apt': {
'packages': {
'radvd': {},
},
},
'icinga2_api': {
'radvd': {
'services': {
'RADVD PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C radvd -c 1:',
},
},
},
},
}
if node.has_bundle('pppd'):
defaults.update({
'pppd': {
'wait-until-stopped': {
'radvd.service',
},
}
})