bundlewrap/bundles/vmhost/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

23 lines
683 B
Python

defaults = {
'apt': {
'packages': {
'libvirt-clients': {},
'libvirt-daemon-system': {},
'qemu-utils': {},
'qemu-system-x86': {},
},
},
'icinga2_api': {
'vmhost': {
'services': {
'LIBVIRT PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C libvirtd -c 1:',
},
'QEMU VM STATUS': {
'command_on_monitored_host': 'sudo /usr/local/share/icinga/plugins/check_vm_status',
'vars.notification.mail': True,
},
},
},
},
}