We are trying to implement a simple failover mechanism using Hyperic HQ. We have a several hosts. One of them is designated as primary, others run in backup mode.
All hosts are mirrors of each other. Multiple indicators monitor status of each host. We want to setup an alert action that will perform failover. That is - if primary host triggers an alert, we want to send a signal to one of healthy backup nodes (it will become new primary).
We have no problems defining various custom indicators and failover actions. The only problem is how to connect them:
a) How to pass parameters to actions? For example, how to notify action which alert was triggered?
b) How to query status of indicators for other resources or alert history from action?
All hosts are mirrors of each other. Multiple indicators monitor status of each host. We want to setup an alert action that will perform failover. That is - if primary host triggers an alert, we want to send a signal to one of healthy backup nodes (it will become new primary).
We have no problems defining various custom indicators and failover actions. The only problem is how to connect them:
a) How to pass parameters to actions? For example, how to notify action which alert was triggered?
b) How to query status of indicators for other resources or alert history from action?