Xymon Mailing List Archive search

WordPress Monitoring

3 messages in this thread

list Matthew Gregory · Sun, 28 Apr 2019 21:50:25 +1200 ·
I know this question may not be answered, but I am wondering if Xymon can monitor a WordPress website or 2 on DreamHost. I have a shared service account.

 
Matthew Gregory
IT Manager
Rural Youth & Adult Literacy Trust
www.adultliteracy.ac.nz
m: XXX XXX XXXX
t: 0800 891 339
e: user-ffa8a7401790@xymon.invalid
list Richard L. Hamilton · Sun, 28 Apr 2019 09:08:49 -0400 ·
Depends on the monitoring you have in mind.

All the usual would require running the client-side software on the system or VM being monitored.  But you don't have to do that.  A minimal connectivity test just requires that pings aren't blocked.  A minimal web server test just requires getting through on http or https, with a successful fetch of a specified URL.  I gather you can test a bit more about the sanity of https.  And you could write a server-side test that performed a simple interaction via http or https and inspected the result more deeply than just the success of something (not an HTTP error code) being returned.

But anything to do with the health and sanity of the system or software or data, that can't be determined simply by accessing a public network service on the system or software, may once again require local client software.  I have no idea what your hosting provider allows, although it doesn't look like you get a dedicated VM or the like, so I doubt you'd be allowed to run client-side monitoring software.
quoted from Matthew Gregory

On Apr 28, 2019, at 05:50, Matthew Gregory <user-ffa8a7401790@xymon.invalid> wrote:

I know this question may not be answered, but I am wondering if Xymon can monitor a WordPress website or 2 on DreamHost. I have a shared service account.

 Matthew Gregory
IT Manager
Rural Youth & Adult Literacy Trust

www.adultliteracy.ac.nz <http://www.adultliteracy.ac.nz/>;
m: XXX XXX XXXX <tel:022%20644%209544>
t: 0800 891 339 <tel:XXXX%20891%20339>
e: user-ffa8a7401790@xymon.invalid <mailto:user-ffa8a7401790@xymon.invalid>	
 <https://www.facebook.com/RYATL>;  <https://www.adultliteracy.ac.nz/>;
  
list Adam Thorn · Sun, 28 Apr 2019 18:16:54 +0100 ·
quoted from Richard L. Hamilton
On 28/04/2019 14:08, Richard L. Hamilton wrote:
And you could write a server-side test that performed a simple interaction via http or https and inspected the result more deeply than just the success of something (not an HTTP error code) being returned.
The in-built http(s) test can also check the content of a specific page. For my use case, I check the page contains one of the css classes generated by the CMS, which I interpet as confirmation that not only is there something responding with HTTP 200, but the CMS is generating "sane" HTML. There are some other possibilities for the HTTP test too:

http://xymon.sourceforge.net/xymon/help/manpages/man5/hosts.cfg.5.html#lbAR

and so the relevant lines in my hosts.cfg for what I described above are e.g.

1.2.3.4 www.example.com # cont;https://www.example.com/;"my-css-class";

Adam