How to automate non-analytical tasks using Spotfire Statistica® Monitoring and Alerting Server (MAS)

How to automate non-analytical tasks using Spotfire Statistica® Monitoring and Alerting Server (MAS)

book

Article ID: KB0135549

calendar_today

Updated On:

Products Versions
Spotfire Data Science - Workbench 14.x and higher

Description

Creating and using a Monitoring and Alerting Server Taskset doesn't need to be used with just analysis workflows.  Tasksets can be used for any workspace with Type=SVB Analysis.  Below is the workspace properties for the workspace named  WriteSSToDatabase with Type=SVB Analysis.

Workspace as Type:  SVB Analysis

To automate running a workspace with Type=SVB Analysis, follow the steps below.
 

Environment

OS: Windows

Resolution

Prerequisites:

The example below demonstrates how to schedule a workspace with an email notification upon failure. 

1.  The workspace  is using the two nodes, as below:

Workspace which read and write data

Note:  Any workspace which can be deployed to Enterprise Manager can be used.

2.  Deploy the workspace to Enterprise Manager (do not use the "Save to Enterprise" as this can save the workspace as a General Document instead of an SVB Analysis):

Deploy workspace to Enterprise Manager

3.  Create and configure a Taskset
 
a.  Right-click on "Server Task Set" and select "New Taskset":

Create new taskset

b.  Configure the taskset 

b1.  Add Task by selecting the workspace deployed in step 2 above, select the Permissions desired, create a NULL return code, then click "Commit".   Attach the taskset to a system folder of choice:

 
Configuring a Taskset
 
 
b2.  Schedule the Taskset by selecting Schedule.  Configure the schedule as desired and click "Commit":

Schedule the taskset
 
b3.  Select Options, add an "Admin email address", increase the Maximum time for tasks to run, if necessary, and configure the "Error handling".   Click "Commit".  "Alarms and Rules" do not apply:

Taskset Options

Note:  The "Admin email address" is where the taskset failure notice will be sent.

 
4.  Create an Alarm Dashboard by following the steps in this knowledge base article::   https://support.tibco.com/s/article/How-to-create-a-MAS-dashboard

Taskset  Success:

Dashboard alarm _OK


Taskset Failure:

Alarm Dashboard shows Failed task

Email Notification of taskset failure:

Email notification message


Note:  Emails are sent only for taskset failures.


 





 

Issue/Introduction

This article provides the steps to create a taskset and alarm dashboard to use for non-analytical workspaces.

Additional Information

https://support.tibco.com/s/article/How-to-create-a-Taskset