You can monitor the Presentation Server environment, so that you are alerted when a service becomes unavailable.
Alerts are generated in the form of automated email or events, or both. Use the following table to understand the types of alerts generated for the monitored services:
|Atrium Single Sign-On server|
|Database (PostgreSQL) service|
|Index (Elasticsearch) server|
|Failover of high-availability installations|
Components registered with the Presentation Server
(Only when disconnects)
The monitored services are checked every 10 seconds for availability and an email is generated after five unsuccessful retries.
By default, self-monitoring email alerts are not configured. You can configure self-monitoring email from the command line.
Run the following commands to set up the email alerts:
|tssh properties set mailer.enabled||true to enable email alerts; false to disable email alerts.||tssh properties set mailer.enabled true|
|tssh properties set mail.to.addresses||The email address or a comma separated list of email addresses to send the alerts to.||tssh properties set mail.to.addresses email@example.com|
|tssh properties set mail.from.address||The "From" email address that you want to be displayed in the email alerts.||tssh properties set mail.from.address firstname.lastname@example.org|
|tssh properties set mail.server.hostname||The email server host name.||tssh properties set mail.server.hostname mail.xyz.com|
Run the following command to apply the properties:
tssh properties reload
tssh properties list
After you receive a self-monitoring email alert, restart the entire Presentation Server services and not just the affected service.
Go to the <Presentation Server installation directory>\TrueSightPServer\truesightpserver\bin directory and run the following commands:
tssh server stop
tssh server start
The Events page of the TrueSight console displays self-monitoring events for the following conditions:
Self-monitoring events are indicated by theicon. The event severity determines the color of the icon.
Click an event timestamp to view details about the event.
The text Self-Monitoring is prefixed to self-monitoring events. On the Events page, enter Self-Monitoring in the search box to display only self-monitoring events.