Difference between revisions of "Server monitoring"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
(Created page with " URL example http://www.acme.com/TempusServa/'''service?OkToday''' Should contain string HEALTHY Should not contain string <flag name='Daemon running'>NO</flag...")
 
m (4 revisions imported)
 
(3 intermediate revisions by one other user not shown)
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 ==
First create an account at https://www.site24x7.com/
=== Setup the website monitor ===


URL example  
URL example  
Line 10: Line 39:
Should not contain string
Should not contain string


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


Note that quotes (") have been replaced by opings (')
Note that :
* Quotes (") have been replaced by opings (')
* The whole line is wrapped in quotes

Latest revision as of 11:55, 10 December 2021

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 (')
  • The whole line is wrapped in quotes