LogoLogo
API DocsDeveloper PortalSystem StatusTry for Free
  • Quickstart Guide
    • Introduction
    • Get started as an Account Owner
    • Get started as a User
    • Glossary
    • FAQs
  • Manage Users
    • Types of Users
    • Add and Delete Users
    • Import Users
    • User Permissions - Access Controls
    • Manage Your Profile
    • Notification Rules
    • On-Call Reminder Rules
    • Change Account Owner
  • Manage Teams
    • Understanding Teams
    • Role Based Access Control
    • Owner Based Access Control
    • Create and Delete Teams
    • Add and Remove Team Members
    • Squads
    • Stakeholder Groups
  • Services
    • Adding a Service
    • Service Overview
    • Service Graph
    • Maintenance Mode
    • Alert Deduplication Rules
      • Alert Deduplication Rules
      • Incident Status Based Deduplication
      • Service Dependency Based Deduplication
      • Key Based Deduplication
    • Event Tagging
    • Alert Routing
    • Alert Suppression
    • Custom Content Templates
    • Intelligent Alert Grouping (IAG)
    • Auto Pause Transient Alerts (APTA)
    • Delayed Notifications
  • Schedules
    • Schedules (New)
      • Adding a Schedule
      • Schedules Overview
      • Who is On-Call?
      • My On-Call Shifts
      • Overrides
      • Videos: How to set up common use cases?
  • Escalation Policies
    • Create and Manage Escalation Policy
    • Round Robin & Advanced Escalations
    • Reassign an Incident
  • Notifications
    • Understanding Incident Notifications
  • Dashboards
    • Incident Management Dashboard
    • Dashboard Metrics
    • Take Bulk Actions
    • Squadcast Search
  • Incident List
    • Incident List View
    • Incident Priorities
    • Filter Incidents
    • Save Filter View
    • Merge Incidents
    • Snooze Incidents
  • Incidents Page
    • Incidents Details
    • Incident Activity Timeline
    • Communication Channels
    • Create Incident Manually
    • Incident Notes
    • Incident Watchers
    • Past Incidents
    • Additional Responders
    • Incident Summaries
    • Incident Suggestions
  • Runbooks
    • Runbooks
  • Postmortems
    • Postmortem Templates
    • Create Postmortems
    • Accessing Postmortem
  • Status Page
    • Status Page
    • Status Page Overview
    • Components and Groups
    • Issues
    • Subscribers
    • Maintenance
  • SLO Tracker
    • SLO Basics
    • Configure and Monitor your SLOs
  • Webforms
    • Webforms
  • Global Event Rulesets
    • Global Event Rulesets
  • Workflows
    • Workflows
    • Workflows Overview
    • Actions
  • Live Call Routing
    • Live Call Routing
  • Analytics
    • Analytics (New)
    • Organization Level Analytics
    • On Call Hours Per User
    • Weekly Reports
  • Integrations
    • Incident Webhook (Incident Webhook/API)
    • Outgoing Webhooks
    • ServiceNow Extension
    • Extensions
      • Jira Cloud Integration
      • Jira DC (Data Center)
      • CircleCI
      • Google Chat
      • Freshdesk
      • Freshservice
      • Asana
      • ClickUp
      • Trello
      • Zendesk
      • Hubspot
    • Alert Source Integrations (Native)
      • Admin Labs
      • Airbrake
      • Amazon EventBridge
      • Amazon GuardDuty
      • Amazon Opensearch
      • APImetrics
      • AppDynamics
      • AppSignal
      • Auvik
      • AWS CloudTrail Logs
      • AWS CloudTrail via CloudWatch
      • Amazon Cloudwatch (AWS) Integration
      • AWS CloudWatch Event Rules
      • AWS Elastic Beanstalk via CloudWatch
      • Amazon RDS (AWS)
      • Amazon SNS (AWS)
      • Azure Monitor
      • Better Uptime
      • Bitbucket
      • Bitrix 24
      • Blue Matador
      • Bugsnag
      • Buildkite
      • Checkly
      • Checkmk
      • CircleCI Integration
      • Cisco DNAC
      • Cisco Meraki
      • ClickUp Integration
      • CloudAMQP
      • Cloudflare
      • Conviva
      • CopperEgg
      • Coralogix
      • Cronitor
      • Crowdstrike Falcon
      • Datadog
      • Databricks
      • Dead Man's Snitch
      • Domotz
      • Dotcom Monitor
      • Dynatrace
      • ElastAlert
      • Elastic
      • Elecard Boro
      • Email Integration
      • Endtest
      • Errorception
      • Freshdesk Integration
      • Freshping
      • Freshservice
      • Ghost Inspector
      • GitHub Integration
      • GitLab
      • Grafana 8
      • Grafana
      • Graylog v4
      • Graylog
      • HaloPSA
      • Healthchecks
      • Heroku
      • HetrixTools
      • Honeybadger
      • Honeycomb
      • Humio
      • Hund
      • Hydrozen
      • Hyperping
      • Icinga2
      • InsightOps (LogEntries)
      • Instana
      • Intercom
      • Jenkins Integration
      • Jira Cloud Alert Source
      • Jira Server Alert Source
      • Kapacitor
      • Kentik
      • Komodor
      • Kibana
      • LibreNMS
      • Linear
      • Loggly
      • Logstash
      • Logz.io
      • ManageEngine Application Manager
      • ManageEngine Opmanager
      • Mezmo (formerly LogDNA)
      • MongoDB Atlas / Cloud Manager
      • Nagios
      • New Relic
      • Nixstats
      • NodePing
      • Observium
      • Oh Dear
      • Oracle Cloud Infrastructure
      • OSNexus QuantaStor
      • OverOps
      • Papertrail
      • Pingdom
      • Plesk 360
      • Postman
      • Postmark
      • Powercode
      • Progress WhatsUp Gold
      • Prometheus
      • PRTG Network Monitor
      • Rapid7 InsightIDR
      • RapidSpike
      • Redash
      • Redgate SQL Monitor
      • Rollbar
      • Rundeck
      • Runscope
      • Salesforce Cloud
      • Scout APM
      • Sematext
      • Sensu Go
      • Sensu
      • Sentry.io
      • Server Density
      • ServerGuard24
      • ServiceNow Integration
      • Shortcut (Clubhouse)
      • SignalFx
      • SigNoz
      • Site24x7
      • Slack
      • SolarWinds AppOptics
      • SolarWinds Observability SaaS (SWO)
      • SolarWinds Orion
      • Sonar
      • Splunk
      • Sqreen
      • Stackdriver
      • Stackify Retrace
      • StatHat
      • StatusCake
      • ServiceDesk Plus OD
      • Sumo Logic
      • Sysdig Monitor
      • Threat Stack
      • Trello
      • Twilio
      • Uptime
      • Uptime Robot
      • Uptrends
      • Wavefront
      • Zabbix 5.0
      • Zabbix 6.2
      • Zabbix
      • Zendesk Integration
      • Zoho Desk
      • Zoho Desk via Zoho Flow
      • LogicMonitor
  • ChatOps
    • Google Chat
    • Microsoft Teams
    • Slack for Incident Management
      • Using the Integration
  • Single Sign-On (SSO)
    • AWS SSO
    • Azure Active Directory SSO
    • Google SSO
    • Microsoft ADFS SSO
    • Okta SSO Integration
    • SAML 2.0 based SSO
  • Mobile App
    • Using the Mobile App
  • Terraform & API Documentation
    • Terraform Provider
    • Public API - Refresh Token
    • API Documentation
    • Getting Started with Squadcast GraphQL
      • Schedules
        • Create Schedule
        • Update Schedule
        • Delete Schedule
        • Pause Schedule
        • Get Schedules
        • Get Schedule by ID
        • Resume Schedule
        • Clone Schedule
        • Get Gaps
      • Rotations
        • Create Rotation
        • Update Rotation
        • Delete Rotation
        • Get Rotation by ID
        • Get Rotation Events by ID
      • Overrides
        • Create Override
        • Update Override
        • Delete Override
        • Get Override by ID
      • Calendar URLs
      • Who is On-Call
    • Developer Portal
    • Incident Rate Limiting
  • Managing your Squadcast Account
    • Audit Logs
    • Organizations
    • Billing FAQs
    • Deactivate your Squadcast Account
    • Delete your Squadcast Account
Powered by GitBook
On this page

Was this helpful?

  1. Integrations
  2. Alert Source Integrations (Native)

Progress WhatsUp Gold

Send notifications to Squadcast from Progress WhatsUp Gold

PreviousPowercodeNextPrometheus

Last updated 1 year ago

Was this helpful?

provides complete visibility into the status and performance of applications, network devices, and servers in the cloud or on-premises with its network availability and performance monitoring capabilities.

Route detailed events from WhatsUp Gold to the right users in Squadcast.

How to integrate WhatsUp Gold with Squadcast

In Squadcast: Using WhatsUp Gold as an Alert Source

  1. Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.

Important:

When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.

In WhatsUp Gold: Configuring the integration with Squadcast

(1) From the Home Page, select Settings

(2) Select the Actions & Alerts and then, select Actions and Policies

(3a) Under Action Library, click on the + icon to add an Action

(3b) Select Log to Text File

(3c) Fill in the necessary details as below:

  • Name: Trigger Log

  • Description: (Optional) Log to Text File Action

  • Log File: C:\Squadcast\Logs\action_%Device.HostName.log

  • Log file write mode: Select the option Overwrite

  • Log Message: Please paste the following content in the placeholder:

alert_status::open;;
device_active_monitor_down_names::%Device.ActiveMonitorDownNames;;
device_active_monitor_up_names::%Device.ActiveMonitorUpNames;;
device_address::%Device.Address;;
device_database_id::%Device.DatabaseID;;
device_display_name::%Device.DisplayName;;
device_host_name::%Device.HostName;;
device_notes::%Device.Notes;;
device_role::%Device.Role;;
device_role_guid::%Device.RoleGUID;;
device_snmp_oid::%Device.SNMPOid;;
device_state::%Device.State;;
device_status::%Device.Status;;
device_type::%Device.Type;;
system_date::%System.Date;;
system_display_names_down_devices::%System.DisplayNamesDownDevices;;
system_display_names_down_monitors::%System.DisplayNamesDownMonitors;;
system_display_names_up_devices::%System.DisplayNamesUpDevices;;
system_display_names_up_monitors::%System.DisplayNamesUpMonitors;;
system_install_dir::%System.InstallDir;;
system_numberof_down_devices::%System.NumberofDownDevices;;
system_number_of_down_monitors::%System.NumberOfDownMonitors;;
system_numberof_up_devices::%System.NumberofUpDevices;;
system_number_of_up_monitors::%System.NumberOfUpMonitors;;
system_time::%System.Time;;
passive_monitor_display_name::%PassiveMonitor.DisplayName;;
passive_monitor_logged_text::%PassiveMonitor.LoggedText;;
active_monitor_argument::%ActiveMonitor.Argument;;
active_monitor_comment::%ActiveMonitor.Comment;;
active_monitor_name::%ActiveMonitor.Name;;
active_monitor_network_interface_address::%ActiveMonitor.NetworkInterfaceAddress;;
active_monitor_payload::%ActiveMonitor.Payload;;
active_monitor_state::%ActiveMonitor.State;;
  • Click on OK

(4a) Once again, under Action Library, click on the + icon to add another Action

(4b) Select Log to Text File

(4b) Fill in the necessary details as below:

  • Name: Resolve Log

  • Description: (Optional) Log to Text File Action

  • Log File: C:\Squadcast\Logs\action_%Device.HostName.log

  • Log file write mode: Select the option Overwrite

  • Log Message: Please paste the following content in the placeholder:

alert_status::closed;;
device_active_monitor_down_names::%Device.ActiveMonitorDownNames;;
device_active_monitor_up_names::%Device.ActiveMonitorUpNames;;
device_address::%Device.Address;;
device_database_id::%Device.DatabaseID;;
device_display_name::%Device.DisplayName;;
device_host_name::%Device.HostName;;
device_notes::%Device.Notes;;
device_role::%Device.Role;;
device_role_guid::%Device.RoleGUID;;
device_snmp_oid::%Device.SNMPOid;;
device_state::%Device.State;;
device_status::%Device.Status;;
device_type::%Device.Type;;
system_date::%System.Date;;
system_display_names_down_devices::%System.DisplayNamesDownDevices;;
system_display_names_down_monitors::%System.DisplayNamesDownMonitors;;
system_display_names_up_devices::%System.DisplayNamesUpDevices;;
system_display_names_up_monitors::%System.DisplayNamesUpMonitors;;
system_install_dir::%System.InstallDir;;
system_numberof_down_devices::%System.NumberofDownDevices;;
system_number_of_down_monitors::%System.NumberOfDownMonitors;;
system_numberof_up_devices::%System.NumberofUpDevices;;
system_number_of_up_monitors::%System.NumberOfUpMonitors;;
system_time::%System.Time;;
passive_monitor_display_name::%PassiveMonitor.DisplayName;;
passive_monitor_logged_text::%PassiveMonitor.LoggedText;;
active_monitor_argument::%ActiveMonitor.Argument;;
active_monitor_comment::%ActiveMonitor.Comment;;
active_monitor_name::%ActiveMonitor.Name;;
active_monitor_network_interface_address::%ActiveMonitor.NetworkInterfaceAddress;;
active_monitor_payload::%ActiveMonitor.Payload;;
active_monitor_state::%ActiveMonitor.State;;
  • Click on OK

(5a) Now, under Action Library, click on the + icon to add another Action

(5b) Select Active Script Action

(5c) Fill in the necessary details as below:

  • Name: Squadcast Script

  • Description: (Optional) Active script action

  • Timeout (seconds): 10

  • Script type: JScript

  • Script text: Please paste the following content in the placeholder:

var SQUADCAST_URL = <Enter the copied Webhook from Squadcast here>;
var logFileLocation = "C:\\Squadcast\\Logs\\action_%Device.HostName.log";
var fso  = new ActiveXObject("Scripting.FileSystemObject");
var lf = fso.OpenTextFile(logFileLocation, 1, true);
var attrs = lf.ReadAll().split(";;\r\n");
lf.Close();
var data = {};
for (i in attrs) {
	var attr = attrs[i];
	var key = attr.split("::", 1)
	var val = attr.replace(/[a-zA-Z_]*::/, "").replace(/;;$/, "");
	data[key] = val;
}
// formURLEncodedBody is used to form the URL encoded body for the passed JS Object.
function formURLEncodedBody(obj) {		
	var body = [];
	for (i in obj) {
		body.push(escape(i) + "=" + escape(obj[i]));
	}
	return body.join("&");
}
// sendToSquadcast is used to send the alert body to Squadcast
function sendToSquadcast(squadcastURL, body) {
    var strResult = "";
	var returnCode = 0;
    try {
        var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
        WinHttpReq.Open("POST", squadcastURL, false);
		WinHttpReq.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded");
		WinHttpReq.SetRequestHeader("User-Agent", "Squadcast JScript/1.0 (compatible; Win32; WinHttp.WinHttpRequest.5)");
        WinHttpReq.Send(body);
        strResult = WinHttpReq.ResponseText;
		strResult = "Script executed successfully! : " + strResult;
    } catch (objError) {
		strResult += "WinHTTP returned error: " + (objError.number & 0xFFFF).toString() + "\n\n";
        strResult += objError.description;
		strResult = "Script failed: " + strResult.toString();
    }
	if (this.Context) {
		Context.SetResult(returnCode, strResult);
	} else {
		WScript.Echo("WARNING: The Script is not executed with the WhatsUp Gold Context. Please check your installation.");
		WScript.Echo("ReturnCode: " + returnCode.toString());
		WScript.Echo("Result: ", strResult);
	}
}
var reqBody = formURLEncodedBody(data);
sendToSquadcast(SQUADCAST_URL, reqBody);
  • Click on OK

(6a) Next, under Actions & Policies, click on the + icon to add a Policy for Trigger

(6b) In Policy Name, enter a suitable name like Squadcast Action Policy, and click on Add

(6c) Here:

  • Select an action from the Action Library: Select Trigger Log from the dropdown

  • Execute the action on the following state change: Select Down from the dropdown

  • Click on OK

(6d) Click on the + icon to add a Policy for calling the Action Script during Trigger

(6e) Here:

  • Select an action from the Action Library: Select Squadcast script from the dropdown

  • Execute the action on the following state change: Select Down from the dropdown

  • Click on OK

(6f) Click on the + icon to add a Policy for Resolve

(6g) Here:

  • Select an action from the Action Library: Select Resolve Log from the dropdown

  • Execute the action on the following state change: Select Up from the dropdown

  • Only if the following state was reached: You can select whatever is most applicable to your requirement, here we have selected 0 minutes - (Down)

  • Click on OK

(6h) Click on the + icon to add another Policy for calling the Action Script during Resolve

(6i) Here:

  • Select an action from the Action Library: Select Squadcast script from the dropdown

  • Execute the action on the following state change: Select Up from the dropdown Only if the following state was reached: You can select whatever is most applicable to your requirement, here we have selected 0 minutes - (Down)

  • Click on OK

(6j) Finally, click on OK to save all the Action Policies added previously

(7) From the navigation bar on the top, now select My Network

(8) Then, choose the device(s) for which you want to associate this Squadcast integration with and right click on the Device Name. Here, select Device Properties

(9) Select Actions from the options in the left sidebar, then select Actions and Policies on the right

(10) Now, select Squadcast Action Policy from the dropdown

Once that is selected, you will be able to see the previously configured and currently applied list of Actions and Action Policies to the Device.

Repeat the same for all the Devices that you wish to receive alerts for its downtime in Squadcast.

That is it, you are good to go! Everytime there is an alert generated in WhatsUp Gold, an incident for the same will be created in Squadcast!

FAQ:

Q: Does this integration support auto-resolution of incidents in Squadcast?

A: Yes, this integration supports auto-resolution of incidents in Squadcast. Every time an alert gets resolved in WhatsUp Gold, the corresponding incident also gets resolved in Squadcast.

2. Select WhatsUp Gold. Copy the displayed Webhook URL to it within WhatsUp Gold. Finish by clicking Add Alert Source -> Done.

Have any questions? .

Ask the community
configure
Progress WhatsUp Gold