Hello together, I would like to monitor a setup that exists of two "backend" servers ServerA and ServerB which are hosting virtual machines VM1, VM2, ...
We have two DRBDs disk1 and disk2 where disk1 is primary on ServerA (containing the data for VM1) and disk2 is primary on ServerB (containing the data for VM2). If one server fails, the DRBD is switch to the other server and the VMs are restarted there. I have a few problems for setting up a proper monitoring: 1. I want to check the free disk space of the mounted DRBDs but I do not know on which server the DRBD is currently the primary. 2. I want to monitor VM1 and VM2 and make then dependent on the backends. If ServerA crashes it is obvious that VM1 is away until it is taken over to ServerB so I do not need warnings there. My ideas for solving look like this: I have a service "drbd_disk1_is_primary" for ServerA and ServerB which is OK if the DRBD is primary, warning otherwise. The disk space checker is now dependent on this service to check the free disk space but I have this ugly "drbd_disk1_is_primary"-warning for ServerB and "drbd_disk2_is_primary"-warning for ServerA. Any idea to avoid this? The idea for the VM-dependency is a "virtual" host that has as a check_command the check_cluster combining the results of drbd_disk1_is_primary from both Servers and the VM1 is depending on that virtual host. Is it possible to create a conditional dependency or is this "virtual" host the only way? Thanks for your suggestions! Greets, Dennis ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users