Automatic Maintenance (Sorry) Page triggered via monitor
All,
I see there are tons of different ways to automatically display a VIP maintenance page when all members of a pool are down. What I'm looking for is a way to automatically display a maintenance page if the response status of a monitor changes for one or all of the members of a pool.
What I'm thinking is that I would attach a monitor that would look for a file say: /status.html
When everything is normal the file output would be: NORMAL
When I want the maintenance page enabled someone would change the file to read: MAINTENANCE
Then when the monitor would check it would know to put up the maintenance page, when they change the back to: NORMAL it would take it down.
Something to that effect, I just have no idea how I would implement it since I do not have iRule skills! :)
Any help is greatly appreciated!