Opsview Knowledge Center

Cloud - Salesforce Service Cloud

An overview of the Salesforce Service Cloud Opspack for Opsview Monitor

Since Opsview Monitor 4.6.3, out of the box monitoring of Service Cloud by Salesforce has been available. This feature is implemented using a Host Template named 'Cloud - ServiceCloud' which should be applied to a dummy host, or a host with the address of Salesforce (www.salesforce.com) which uses the check_http host check command.

Add the host template:

Configure the host:

The Opspack uses three Variables:

  • SALESFORCE_AUTH - Add this Variable to the Host and expand to see the overrides. Within this Variable you will need to provide a valid Salesforce.com Token, Client key and Client secret. If you do not have these available, please contact your Salesforce.com administrator.
  • SALESFORCE_LOGIN: Add this Variable to the Host and expand to see the overrides. Within this Variable you will need to provide a valid Salesforce.com username and password.
  • SALESFORCE_SC_QUERY: This Variable is the actual command that is being checked. Add one OR MORE Variables of this type. For example, if you wish to monitor for 'S1 - Unhandled' and 'S3 - Escalated', simply add 2 Variables and configure accordingly. The 'Value' field of this Variable is simply the friendly name you will see within Opsview. The actual command that is run lives at 'Override SOQL query'. Within this field, simply enter your SOQL (Salesforce Object Query Language) query, using the Developer Documentation as a reference.

In our example, we are monitoring for 'S1 - Severely Impacted' (i.e. priority 1, urgent, etc) cases that are new, and also monitoring for cases that have been assigned to Engineering for review. We have therefore added two Variables with this SOQL:

SELECT count() FROM Case WHERE STATUS = 'Engineering Review'
SELECT count() FROM Case WHERE Priority = 'S1 - Severely Impacted' AND (STATUS = 'New' OR STATUS = 'Escalated')

Reload and monitor for new cases:

Cloud - Salesforce Service Cloud

An overview of the Salesforce Service Cloud Opspack for Opsview Monitor