[Pacemaker] Using Pacemaker/Corosync to do status based upon a web page output

Phil Hunt Phil.Hunt at orionhealth.com
Thu May 19 14:39:20 UTC 2011


Hi

 

Our application suite generates a full suite webpage for status.  If it
comes up cleanly, it means things are running and the pieces each report
on the page.

 

Is there anyway to scrape a webpage and get a status that can trigger
failovers, etc?

 

Something like:

 

primitive webCheck ocf:Webscrape \ 
        params checkString = "page status string"
URL="http://w.ab.com/statuspage" \

               name="scrape_v"

 

Check the page listed for string listed.  Return value, like ping does, in
the variable named there

 

 

 

Phil Hunt 
Orion Health
Senior AMS Consultant 

DID: +1 857 488 4749
Cell:  +1 508 654 7371
Skype: philhu0724 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110520/00761dec/attachment.htm>


More information about the Pacemaker mailing list