Difference between revisions of "Server monitoring"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 1: Line 1:
== Monitoring options  ==
The builtin status page will display important server metrics
  <serverstatus>
  <flag name="Source version">4081</flag>
  <flag name="Unused storage">23%</flag>
  <flag name="Unused PermGen">58%</flag>
  <flag name="Database motor">OK</flag>
  <flag name="Authentication">OK</flag>
  <flag name="Daemon running">NO</flag>
  <flag name="Server healthy">HEALTHY</flag>
  <flag name="Is user online">NO</flag>
  <flag name="Session length">30</flag>
  <flag name="DB schema LIVE">tslive</flag>
  <flag name="DB schema TEST">tstest</flag>
  <flag name="Last view data">2017-02-10 11:22:53</flag>
  <flag name="Last exception">2017-02-02 09:51:26</flag>
  </serverstatus>
If everything is OK (storage, memory and database) the "Server healthy" node will contain the value "HEALTHY".


== Using site 24x7 for monitoring your server ==
== Using site 24x7 for monitoring your server ==

Revision as of 14:37, 10 February 2017

Monitoring options

The builtin status page will display important server metrics

 <serverstatus>
 <flag name="Source version">4081</flag>
 <flag name="Unused storage">23%</flag>
 <flag name="Unused PermGen">58%</flag>
 <flag name="Database motor">OK</flag>
 <flag name="Authentication">OK</flag>
 <flag name="Daemon running">NO</flag>
 <flag name="Server healthy">HEALTHY</flag>
 <flag name="Is user online">NO</flag>
 <flag name="Session length">30</flag>
 <flag name="DB schema LIVE">tslive</flag>
 <flag name="DB schema TEST">tstest</flag>
 <flag name="Last view data">2017-02-10 11:22:53</flag>
 <flag name="Last exception">2017-02-02 09:51:26</flag>
 </serverstatus>

If everything is OK (storage, memory and database) the "Server healthy" node will contain the value "HEALTHY".


Using site 24x7 for monitoring your server

First create an account at https://www.site24x7.com/

Setup the website monitor

URL example

   http://www.acme.com/TempusServa/service?OkToday

Should contain string

  HEALTHY

Should not contain string

  <flag name='Daemon running'>NO</flag>

Note that quotes (") have been replaced by opings (')