bundlewrap/bundles/vmhost/metadata.py

24 lines
683 B
Python
Raw Normal View History

2020-08-18 13:27:55 +00:00
defaults = {
'apt': {
'packages': {
'libvirt-clients': {},
'libvirt-daemon-system': {},
'qemu-utils': {},
'qemu-system-x86': {},
},
2020-08-18 13:27:55 +00:00
},
'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,
},
},
},
},
2020-08-18 13:27:55 +00:00
}