I have a request from our BES application support people.
They have 3 windows services that run in a high availability mode. When the BES server detects a problem, it stops the services on the main server and starts them on the backup server.
Once the services are failed over, the expectation is that the problem on the primary server is manually fixed and then (optionally) the services are failed back to the primary node.
The support people want to be notified on the transition of the service from one node to another. The also want a notification on the failback.
I've done this with other monitoring tools but the task requires some scripting. Here is the pseudo code that would deal with the request:
current-location = location of service at this moment in time.
if ( old-location != current-location) {
generate an alert
old-location = current-location
}
I am struggling with how to keep track of old-location (as an APM component).
Once I have a place to store old-location inside APM, I believe the pseudo code above can be coded as an alert quite simply.
Your thoughts / experiences / suggestions ?
Chris