i created a issue on github a while ago about using tags assigned in Vsphere to VM’s to be able to exclude certain vm’s from being monitored:
it seems that only the custom attributed are being stored in the DB.
currently we are importing only running vm’s to be monitored in icinga:
SELECT o.object_name, vc.guest_ip_address, vc.hardware_numcpu, vc.hardware_memorymb FROM object AS o INNER JOIN virtual_machine AS vc ON o.uuid = vc.uuid WHERE IS_IPV4(vc.guest_ip_address) and vc.guest_state LIKE 'running'
we also want to exclude certain running vm’s from being monitored. we are already using tags for assigning backup policy’s etc so we want to use the same system to exclude VM’s from the monitoring.
does anybody know of a way to do this?
Can someone let me know if the tags are stored in the DB somewhere or if this feature can be added?
using the vspheredb module version 1.1.0