Docs » Splunk On-Call integrations » HP SiteScope integration for Splunk On-Call

HP SiteScope integration for Splunk On-Call πŸ”—

SiteScope monitors more than 100 different target types for critical health and performance characteristics. You can also extend your monitoring environment by creating your own monitor types and customizing existing monitors. The following guide walks you through this integration.

Requirements πŸ”—

This integration is compatible with the following versions of Splunk On-Call:

  • Starter

  • Growth

  • Enterprise

Splunk On-Call configuration πŸ”—

From the Splunk On-Call web portal, select Integrations. From the resulting list of integration options, select HP SiteScope.

Copy the Service Email to the clipboard. Make sure to replace the $routing_key section with the routing key you want to use. See Create Routing Keys in Splunk On-Call.

HP SiteScope configuration πŸ”—

On the SiteScope server, add 3 files with the following names and contents in the templates.mail directory.

Filename: Splunk On-Call_CRITICAL

[Subject: <siteScopeHost>/<groupID>/<name>/<alert::name> CRITICAL]

This alert is from SiteScope at <newSiteScopeURL>

Monitor: <groupID>:<name>
Tags: <tag>
Group: <group>
Status: <state>
Sample #: <sample>

Time: <time>

---------------------- Detail ----------------------

<mainParameters>

<mainStateProperties>

Filename: Splunk On-Call_WARNING

[Subject: <siteScopeHost>/<groupID>/<name>/<alert::name> WARNING]

This alert is from SiteScope at <newSiteScopeURL>

Monitor: <groupID>:<name>
Tags: <tag>
Group: <group>
Status: <state>
Sample #: <sample>

Time: <time>

---------------------- Detail ----------------------

<mainParameters>

<mainStateProperties>

Filename: Splunk On-Call_RECOVERY

[Subject: <siteScopeHost>/<groupID>/<name>/<alert::name> RECOVERY]

This alert is from SiteScope at <newSiteScopeURL>

Monitor: <groupID>:<name>
Tags: <tag>
Group: <group>
Status: <state>
Sample #: <sample>

Time: <time>

---------------------- Detail ----------------------

<mainParameters>

<mainStateProperties>

Configure alert action πŸ”—

From the HP SiteScope web interface, right-click on the context tree, then select New, Alert.

New alert

Enter Splunk On-Call in the Name field and Splunk On-Call Alerts in the Alert description field.

Check SiteScope in the guilabel:Alert Targets section. In the Alert Actions section, select New Alert Action.

Configure new alert

Select Email in the Action Type list.

Select email

Enter Error Action in the Action name field. Paste the email address into the Addresses field.

Select Splunk On-Call_CRITICAL from the template menu and Error in the status trigger section, then select OK.

Configure status trigger

Configure warning action πŸ”—

In the Alert Actions section, select New Alert Action.

New alert

Select Email in the Action Type list.

Select email

Enter Warning Action in the Action name field. Paste the email address into the Addresses field.

Select Splunk On-Call_WARNING from the template menu and Warning in the Status Trigger section, then select OK.

Configure warning action

Configure recovery action πŸ”—

In the Alert Actions section, select New Alert Action.

New action

Select Email in the Action Type list.

Select action type

Enter Recovery Action in the Action name field. Paste the email address into the Addresses field.

Select Splunk On-Call_RECOVERY from the template menu, then check Mark this action to close alert.

Select Good in the Status Trigger section, then select OK.

Configure recovery action

Select OK.

Confirm settings

Test the integration πŸ”—

Select Splunk On-Call from the alert list, then select Test.

Test the integration

Select OK.

Test execution

You should see a confirmation that the email alerts were successfully sent to your Splunk On-Call email address. Select OK to confirm.

Confirm test results

Alerts now appear in your Splunk On-Call timeline.

This page was last updated on Apr 29, 2024.