Monitoring the Presentation Server environment


You can monitor the TrueSight 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:

Monitored service

Alerts generated

Events

Automated
emails

Both

Remedy Single Sign-On server

✅️

✅️

✅️

Database (PostgreSQL) service

✅️

✅️

✅️

Index (Elasticsearch) server

❌️

✅️

❌️

Failover of high-availability installations

✅️

✅️

✅️

Components registered with the TrueSight Presentation Server

(Only when disconnects)

✅️

❌️

❌️

Database backup

✅️

❌️

❌️

Self-monitoring email alerts

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.

To configure self-monitoring email alerts

  1. From a command prompt, go to the <Presentation Server installation directory>\TrueSightPServer\truesightpserver\bin directory.
  2. Run the following commands to set up the email alerts:

    Command

    Value

    Example

    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 user@xyz.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 admin@xyz.com

    tssh properties set mail.server.hostname

    The email server host name.

    tssh properties set mail.server.hostname mail.xyz.com

  3. Run the following command to apply the properties:
    tssh properties reload
  4. (Optional) Run the following command to view the properties that are set:
    tssh properties list

Note

After you receive a self-monitoring email alert, restart the entire TrueSight 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

Self-monitoring events

The Events page of the TrueSight console displays self-monitoring events for the following conditions:

  • Unavailability of the Remedy Single Sign-On server
  • Unavailability of the database (PostgreSQL) service
  • Unavailability of components registered with the TrueSight Presentation Server
  • Failover on High Availability enabled installations

Note

  • Only users with the Super Admin role can view self-monitoring events.
  • The self-monitoring events gets closed automatically after the service is restored.

Self-monitoring events are indicated by theSHM_icon_BW.pngicon. The event severity determines the color of the icon.

Click an event timestamp to view details about the event.

Tip

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.

Related topics

TrueSight Operations Management overviewMonitoring and managing events from the TrueSight console

Configuring-and-managing-the-Presentation-Server


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*