Example - alert when number of sessions waiting to be indexed grows too large
About this task
When sessions are closed, they are moved from the Short-Term Canister to the Long-Term Canister, where they are queued for indexing. If the session indexer is unable to index the queued sessions fast enough, the queue can grow and grow. This unhealthy situation should be investigated.
In the following example, you can configure a canister alert to issue an alert when the number of queued sessions exceeds 1,000.
Note: For testing purposes, you may want to set
this to a low value that you know is exceeded. Remember to reset the
alert to appropriate threshold values after you tested it.
Procedure
- In the Discover Event Manager, click the Alerts tab.
- Select New Canister Alert.... The Add Alert window is displayed.
- For the Name of the Alert, enter the following:
Alert - Sessions waiting for index > 1000
- Select a group for the alert, as needed. You might create
a group such as the following:
Canister - Spooling
- Select the Active check box.
- Click the Configuration step.
- Click the Notification step.
- Click the Blackout step.
- If Canister maintenance is performed every night, you may want to schedule a blackout during the time of maintenance and for some time afterward, so that sessions that were queued during maintenance can be processed without triggering an alert.
- After you specified the alert, click Save Draft.
- The new alert appears in the Alerts tab in highlighted text.
- To commit the changes to the server, click Save
Changes.
- If you entered test values for the thresholds, remember to change the values to appropriate ones after testing is complete.
- You may also want to revisit the Alert Notification properties.