Xymon Mailing List Archive search

webpage content monitoring - Salesforce status

2 messages in this thread

list Kris Springer · Fri, 23 Jan 2015 08:41:43 -0800 ·
Anyone have any method to monitor the Status of a Salesforce instance?  Specifically using this webpage.  http://trust.salesforce.com/trust/status

I attempted to use Xymon content monitoring to check some specific lines of code in the page, but there were too many spaces and special characters in the section I need to reference and I couldn't get it to work right.  I tried many different ways to enter the code in hosts.cfg, but all content checks seem to get cut off at the first > and not use the entire string that I'm entering.  Here's the details.
--------------------------------------
Original section of code from html page I want to monitor.

Subscribe to NA23" src="/images/rss.png">



-----------------------------

How it looks in Xymon hosts.cfg

cont;http://trust.salesforce.com/trust/status;Subscribe[[:space:]]to[[:space:]]NA23\"[[:space:]]src=\"/images/rss.png\"> --------------------------------

Thank you.

------------------------------------------------

Kris Springer

list Jeremy Laidman · Sat, 7 Feb 2015 08:47:37 +1100 ·
On 24 January 2015 at 03:41, Kris Springer <user-c2caa0a7a8d5@xymon.invalid>
quoted from Kris Springer
wrote:
I tried many different ways to enter the code in hosts.cfg, but all
content checks seem to get cut off at the first > and not use the entire
string that I'm entering.

Try using "." instead of "<" and ">".  It's not a precise match, but it's
extremely unlikely to yield false-positives.

Or maybe something really simple like:

NA23.*dotGreen.*NA24

J