Xymon Mailing List Archive search

Monitor Salesforce?

6 messages in this thread

list Jason Chambers · Tue, 17 May 2011 15:46:11 +0000 ·
Does anyone know how we could implement a monitor for the Salesforce status site?

It's here http://trust.salesforce.com/status-data/status.jsp     but I was wondering if there was a way to make sure a checkmark existed in the Current Status column for NA1 for example.


Jason Chambers
IT Help Desk Associate

GEOSOFT INC.
freedom to explore
T +X XXX.XXX.XXXX #344
F +X XXX.XXX.XXXX

Visit our user-be8ce7065ec5@xymon.invalid
list Ryan Novosielski · Tue, 17 May 2011 12:25:56 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A content check for the filename of the checkmark GIF would probably
work, but I guess then the question is how to make sure that it's in the
right column. In the content test documentation (or was it elsewhere on
the web -- can't recall), there is some information about testing with
curl and getting the content and looking it over so you can find what
you want to test against.
quoted from Jason Chambers

On 05/17/2011 11:46 AM, Jason Chambers wrote:
Does anyone know how we could implement a monitor for the Salesforce
status site?

 
It?s here http://trust.salesforce.com/status-data/status.jsp     but I
was wondering if there was a way to make sure a checkmark existed in the
Current Status column for NA1 for example.

*Jason Chambers
*IT Help Desk Associate

*GEOSOFT INC.
**freedom to explore
*T +X XXX.XXX.XXXX #344
F +X XXX.XXX.XXXX

Visit our user-be8ce7065ec5@xymon.invalid

 
- -- 
- ---- _  _ _  _ ___  _  _  _

|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3SoZQACgkQmb+gadEcsb7hfQCguUuCG5eFgWuLKq+FywHiIFbC
4IQAmwWW2/yKZveaszt+WZ3kSx2+9jMh
=gxc1
-----END PGP SIGNATURE-----
list Steve Anderson · Tue, 17 May 2011 18:02:56 +0100 ·
You'll want to wrap this up in a shell script, but here's what will get you the current status of the NA1 server. Just refer to $STATUS

STATUS=`curl -s http://trust.salesforce.com/status-data/status.jsp|grep NA1-head -A5|tail -1|cut -f 4 -d"\""|cut -c 8-|cut -f1 -d"."|tr '[:lower:]' '[:upper:]'`


Of course, it depends on salesforce not changing their layout. You could probably work something out with an xml or html parser to get the NA1-head block, then look for the image tag within that, but that's a little more complex.

Steve Anderson.
quoted from Jason Chambers

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Jason Chambers
Sent: 17 May 2011 16:46
To: 'xymon at xymon.com'
Subject: [Xymon] Monitor Salesforce?

Does anyone know how we could implement a monitor for the Salesforce status site?

It's here http://trust.salesforce.com/status-data/status.jsp     but I was wondering if there was a way to make sure a checkmark existed in the Current Status column for NA1 for example.


Jason Chambers
IT Help Desk Associate

GEOSOFT INC.
freedom to explore
T +X XXX.XXX.XXXX #344
F +X XXX.XXX.XXXX

Visit our user-be8ce7065ec5@xymon.invalid<http://www.geosoft.com>;


This email has been scanned by Netintelligence
http://www.netintelligence.com/email

BiP Solutions Limited is a company registered in Scotland with Company
Number SC086146 and VAT number 383030966 and having its registered
office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.

****************************************************************************
This e-mail (and any attachment) is intended only for the attention of
the addressee(s). Its unauthorised use, disclosure, storage or copying
is not permitted. If you are not the intended recipient, please destroy
all copies and inform the sender by return e-mail.
This e-mail (whether you are the sender or the recipient) may be
monitored, recorded and retained by BiP Solutions Ltd.
E-mail monitoring/ blocking software may be used, and e-mail content may
be read at any time.You have a responsibility to ensure laws are not
broken when composing or forwarding e-mails and their contents.
****************************************************************************
list Steve Anderson · Tue, 17 May 2011 18:46:14 +0100 ·
Attached should be a very basic version of a test script. It's not fully tested, but I think it /should/ work.
quoted from Steve Anderson

Steve Anderson.

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Anderson
Sent: 17 May 2011 18:03
To: Jason Chambers; 'xymon at xymon.com'
Subject: Re: [Xymon] Monitor Salesforce?

You'll want to wrap this up in a shell script, but here's what will get you the current status of the NA1 server. Just refer to $STATUS

STATUS=`curl -s http://trust.salesforce.com/status-data/status.jsp|grep NA1-head -A5|tail -1|cut -f 4 -d"\""|cut -c 8-|cut -f1 -d"."|tr '[:lower:]' '[:upper:]'`


Of course, it depends on salesforce not changing their layout. You could probably work something out with an xml or html parser to get the NA1-head block, then look for the image tag within that, but that's a little more complex.

Steve Anderson.

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Jason Chambers
Sent: 17 May 2011 16:46
To: 'xymon at xymon.com'
Subject: [Xymon] Monitor Salesforce?

Does anyone know how we could implement a monitor for the Salesforce status site?

It's here http://trust.salesforce.com/status-data/status.jsp     but I was wondering if there was a way to make sure a checkmark existed in the Current Status column for NA1 for example.


Jason Chambers
IT Help Desk Associate

GEOSOFT INC.
freedom to explore
T +X XXX.XXX.XXXX #344
F +X XXX.XXX.XXXX

Visit our user-be8ce7065ec5@xymon.invalid<http://www.geosoft.com>;


This email has been scanned by Netintelligence
http://www.netintelligence.com/email

BiP Solutions Limited is a company registered in Scotland with Company
Number SC086146 and VAT number 383030966 and having its registered
office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.

****************************************************************************
This e-mail (and any attachment) is intended only for the attention of
the addressee(s). Its unauthorised use, disclosure, storage or copying
is not permitted. If you are not the intended recipient, please destroy
all copies and inform the sender by return e-mail.
This e-mail (whether you are the sender or the recipient) may be
monitored, recorded and retained by BiP Solutions Ltd.
E-mail monitoring/ blocking software may be used, and e-mail content may
be read at any time.You have a responsibility to ensure laws are not
broken when composing or forwarding e-mails and their contents.
****************************************************************************
This email has been scanned by Netintelligence
http://www.netintelligence.com/email

BiP Solutions Limited is a company registered in Scotland with Company
Number SC086146 and VAT number 383030966 and having its registered
office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.

****************************************************************************
This e-mail (and any attachment) is intended only for the attention of
the addressee(s). Its unauthorised use, disclosure, storage or copying
is not permitted. If you are not the intended recipient, please destroy
all copies and inform the sender by return e-mail.
This e-mail (whether you are the sender or the recipient) may be
monitored, recorded and retained by BiP Solutions Ltd.
E-mail monitoring/ blocking software may be used, and e-mail content may
be read at any time.You have a responsibility to ensure laws are not
broken when composing or forwarding e-mails and their contents.
****************************************************************************
Attachments (1)
list Jason Chambers · Tue, 17 May 2011 17:54:47 +0000 ·
Thanks for this.
signature

Jason Chambers
IT Help Desk Associate

GEOSOFT INC.
freedom to explore
T +X XXX.XXX.XXXX #344
F +X XXX.XXX.XXXX

Visit our user-be8ce7065ec5@xymon.invalid

quoted from Steve Anderson
From: Steve Anderson [mailto:user-a1c59649b432@xymon.invalid]
Sent: May-17-11 1:46 PM
To: Jason Chambers; 'xymon at xymon.com'
Subject: RE: Monitor Salesforce?

Attached should be a very basic version of a test script. It's not fully tested, but I think it /should/ work.

Steve Anderson.

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Anderson
Sent: 17 May 2011 18:03
To: Jason Chambers; 'xymon at xymon.com'
Subject: Re: [Xymon] Monitor Salesforce?

You'll want to wrap this up in a shell script, but here's what will get you the current status of the NA1 server. Just refer to $STATUS

STATUS=`curl -s http://trust.salesforce.com/status-data/status.jsp|grep NA1-head -A5|tail -1|cut -f 4 -d"\""|cut -c 8-|cut -f1 -d"."|tr '[:lower:]' '[:upper:]'`


Of course, it depends on salesforce not changing their layout. You could probably work something out with an xml or html parser to get the NA1-head block, then look for the image tag within that, but that's a little more complex.

Steve Anderson.

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Jason Chambers
Sent: 17 May 2011 16:46
To: 'xymon at xymon.com'
Subject: [Xymon] Monitor Salesforce?

Does anyone know how we could implement a monitor for the Salesforce status site?

It's here http://trust.salesforce.com/status-data/status.jsp     but I was wondering if there was a way to make sure a checkmark existed in the Current Status column for NA1 for example.


Jason Chambers
IT Help Desk Associate

GEOSOFT INC.
freedom to explore
T +X XXX.XXX.XXXX #344
F +X XXX.XXX.XXXX

Visit our user-be8ce7065ec5@xymon.invalid<http://www.geosoft.com>;


This email has been scanned by Netintelligence
http://www.netintelligence.com/email

BiP Solutions Limited is a company registered in Scotland with Company
Number SC086146 and VAT number 383030966 and having its registered
office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.

****************************************************************************
This e-mail (and any attachment) is intended only for the attention of
the addressee(s). Its unauthorised use, disclosure, storage or copying
is not permitted. If you are not the intended recipient, please destroy
all copies and inform the sender by return e-mail.
This e-mail (whether you are the sender or the recipient) may be
monitored, recorded and retained by BiP Solutions Ltd.
E-mail monitoring/ blocking software may be used, and e-mail content may
be read at any time.You have a responsibility to ensure laws are not
broken when composing or forwarding e-mails and their contents.
****************************************************************************
This email has been scanned by Netintelligence
http://www.netintelligence.com/email

BiP Solutions Limited is a company registered in Scotland with Company
Number SC086146 and VAT number 383030966 and having its registered
office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.

****************************************************************************
This e-mail (and any attachment) is intended only for the attention of
the addressee(s). Its unauthorised use, disclosure, storage or copying
is not permitted. If you are not the intended recipient, please destroy
all copies and inform the sender by return e-mail.
This e-mail (whether you are the sender or the recipient) may be
monitored, recorded and retained by BiP Solutions Ltd.
E-mail monitoring/ blocking software may be used, and e-mail content may
be read at any time.You have a responsibility to ensure laws are not
broken when composing or forwarding e-mails and their contents.
****************************************************************************
list Kris Springer · Mon, 01 Dec 2014 06:45:03 -0800 ·
I ran across an older post on the message board about a script to monitor the Salesforce system status page at http://trust.salesforce.com/trust/status/ and check a specific instance for the green checkmark.  There was a script that someone made but it wasn't attached.  Does anyone have a functioning version of a sript that will do this?

Here's the older message board post.
http://lists.xymon.com/pipermail/xymon/2011-May/031668.html
Signature - Kris

Thank you.


Kris Springer