Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Monitor / Get Last Alert

Operation Information

Returns the details about the last alert for an Uptrends Monitor.

This is a Premium Integration.

Authentication

This operation requires authentication, the details of which can be securely stored on your instance in a KeySafe Key of type Username + Password.

To create a key of this type:

  • In the Configuration area of your Hornbill instance, navigate to Platform Configuration > Security > KeySafe;
  • Click on the + Create New Key button;
  • On the resulting Create New Key form, choose Username + Password in the Type pick list;
  • Give the Username + Password KeySafe key a Title (this is the name / identifier for the Username + Password account as you will see it when using the cloud automation node in your workflows);
  • Optionally populate the Description field;
  • Populate the following fields accordingly, then click the Create Key button to create your new key:
Name Type Description
Username string Authentication Username
Password string Authentication Password
API Endpoint string Optional API Endpoint

Tip

The API Endpoint field is not required to be populated for this integration - just Username and Password for an Uptrends account with the operation-relevant rights.

Revoking Access

If at any point you wish to revoke access to any of the above accounts from your Hornbill instance, just delete the relevant KeySafe key(s) from the KeySafe list.

Warning

This will revoke the rights of any existing Cloud Automation Node in your Hornbill Workflows that are using the revoked Username + Password account, so you will need to manage these workflows accordingly.

Input Parameters

Display Name ID Type Description Required Supported Values
Monitor GUID monitorGuid string The GUID of the Monitor that you wish to return alert information about Yes None provided
Cursor cursor string A cursor value that should be used for traversing the dataset No None provided
Preset Period presetPeriod string The requested time period Yes CurrentDay, CurrentWeek, CurrentMonth, CurrentQuarter, CurrentYear, PreviousDay, PreviousWeek, PreviousMonth, PreviousQuarter, PreviousYear, Last2Hours, Last6Hours, Last12Hours, Last24Hours, Last48Hours, Last7Days, Last30Days, Last60Days, Last90Days, Last365Days, Last3Months, Last6Months, Last12Months, Last24Months, All

Output Parameters

Display Name ID Type Description
Status status string API Call Status - ok / failed
Error error string API Call Error from Uptrends
Alerts Found alertFound boolean Alerts Found
Alert ID id string None provided
Alert Type type string None provided
Timestamp timestamp string None provided
First Error Timestamp firstError string None provided
Error Description errorDescription string None provided
Error Message errorMessage string None provided
Incident Key incidentKey string None provided
Cursor cursor string A cursor value that should be used for traversing the dataset.
In This Document