Last Updated: November 29, 2018
The Administrator Guide contains topics about the various administrator functions you can perform in Cisco Crosswork Situation Manager.
When you purchase Cisco Crosswork Situation Manager, Cisco provides you with a license key. After you install Cisco Crosswork Situation Manager, you can maintain your license key in the System Settings UI.
Navigate to Settings > System > Licensing to apply a new Cisco Crosswork Situation Manager license or to view details of your current license. You can set up a system notification to alert you within 1 to 120 days of a pending license expiration.
To add a new license key, copy and paste the license text into the Add New License Key text box and click Update License. A green panel confirms “Your new license key has been applied" when you enter a valid license.
You can take advantage of Cisco Crosswork Situation Manager Insights to analyze trends in operational performance. You can use the default dashboard or you can use Grafana to create a custom dashboard.
Insights is built on the Stats API that exposes time-series data so you can report on:
■ Active Situations, the teams they're assigned to, and the services they impact
■ Reoccurring Situations that could indicate deeper systemic issues
■ Key performance indicators like Mean Time To Resolution
You can use the reporting tool of your choice to take advantage of the Stats API. Otherwise, check out the Cisco Crosswork Situation Manager app for Grafana to view and modify the default dashboard. See Grafana Dashboards for more information.
Insights exposes a variety of statistics and metrics to help you understand your operations. For example, consider the valuable data in the default dashboard:
You can see how your teams are managing active Situations:
■ View the number of open Situations system-wide and see how many open Situations are unassigned, unacknowledged or that have been reassigned.
■ Identify if the number of open reoccurring Situations which can highlight areas of impact that need increased attention or resource allocation.
You can monitor the distribution of your Situations over time, to see which teams handle the most Situations and which services are most impacted by Situations.
Key Performance Indicator metrics reveal how quickly Cisco Crosswork Situation Manager detects Situations and how quickly teams address open Situations over time:
■ Mean Time To Detect: the mean time to detect a Situation from the first event time
■ Mean Time To Acknowledge: the mean time to acknowledge a Situation from the first event time
■ Mean Time To Resolution: the mean time to resolve a Situation from the first event time.
For details on all the available Insights, see the Stats API reference.
You can view Cisco Crosswork Situation Manager statistics and reports in dashboards using Grafana.
To set this up, you need to install Grafana, install the Cisco Crosswork Situation Manager plugin and install the Grafana integration in Cisco Crosswork Situation Manager.
Before you install the Cisco Crosswork Situation Manager app, ensure you have met the following requirements:
■ You have installed Grafana or you have a hosted instance of Grafana.
■ Enable HTTPS is you are using an on-premises instance of Grafana. See the Grafana docs for how to edit the protocol, cert_file, and cert_key properties in the Grafana configuration .ini file.
Note: Remove the initial semicolon ';' used to comment properties in the Grafana .ini files
You can use the Grafana Setup Tutorial for an example of how to install Grafana on a host running Cisco Crosswork Situation Manager.
The port for Cisco Crosswork Situation Manager is open and accessible from Grafana.
To install the Cisco Crosswork Situation Manager app in Grafana, follow these steps:
1. Install the app.
2. Find it under Apps in your Grafana plugins and enter the following settings:
Field |
Value |
URL |
<Your Cisco Crosswork Situation Manager URL> |
User |
Your Graze username |
Password |
Your Graze password |
3. Enable the app. A "Test Success" message appears if successful.
After you have set up the app, you can configure your dashboards.
The Grafana app includes the following preconfigured default dashboards:
The Ops Insights dashboard is included as part of the Cisco Crosswork Situation Manager app. It provides a broad overview of your Situation statistics, teams insights, and mean times to acknowledge, detect and resolve.
The dashboard's panels display the number of open Situations, unassigned Situations, reassigned Situations and recurring Situations. Other panels include the top 10 teams by open Situations, the top 10 services by open Situations, the number of Situations by status, the number of Situations by severity and a graph view of MTTA, MTTD and MTTR.
To edit the dashboard, click the header of any panel and edit the statistic endpoint or add a query. Alternatively click Add Row at the bottom of the screen.
The Team Ops dashboard displays a broad overview of your team's Situation statistics, team insights and mean time to acknowledge and resolve.
The dashboard's panels display the number of reassigned Situations per team, the number of reoccurring Situations per team, number of Situations impacting each service per team, the number of Situations by status per team and the MTTA/MTTR for the team.
To edit the dashboard, click the header of any panel and edit the statistic endpoint or add a query. Alternatively click Add Row at the bottom of the screen.
The Team Performance dashboard provides an overview of how an individual team is performing in Cisco Crosswork Situation Manager.
The dashboard's panels pull statistical data about the MTTA/MTTR per team, the status of the team's Situations, and the number of comments made by the team.
To edit the dashboard, click the header of any panel and edit the statistic endpoint or add a query. Alternatively click Add Row at the bottom of the screen.
The Noise Reduction dashboard displays an overview of the noise reduction performance of Cisco Crosswork Situation Manager.
This dashboard shows statistics including the number of accumulated events reduced into alerts and Situations over a period of time, the percentage reduction of events to alerts, the percentage reduction of alerts to Situations and the overall reduction.
To edit the dashboard, click the header of any panel and edit the statistic endpoint or add a query. Alternatively click Add Row at the bottom of the screen.
You can add and configure custom dashboards to display different Cisco Crosswork Situation Manager statistics in Grafana. For more information see the Grafana documentation.
To create a dashboard, follow these steps:
1 Log in to your Grafana instance.
2 Click + and Dashboard.
3 Configure the dashboard to meet your requirements. For more information on the available API endpoints and statistics see the Stats API.
Once created, statistics from Cisco Crosswork Situation Manager appear in the dashboard.
Note: Cisco is deprecating support for the legacy built-in Cisco Crosswork Situation Manager Dashboards. Use the Cisco Crosswork Situation Manager Insights feature built on the Stats API. You can get started with the default Insights dashboard built for Grafana.
Dashboards are screens comprising of a series of Portlets which offer overviews and statistics for different aspects of Cisco Crosswork Situation Manager.
This allows you to analyze statistics such as the average number of Alerts per Situation and offers visual diagrams displaying the distribution of open Alerts etc.
Click to open the different 'Dashboards' in the top left corner of the screen. By default these are the Management Dashboard and the Cisco Crosswork Situation Manager Dashboard.
You can toggle the Dashboard between full screen and standard size using the resize arrows in the top right corner of your screen
Portlets are the configurable components of the Dashboard, similar to widgets, which offer different overviews and statistics relating to the Alerts, Situations and other aspects of Cisco Crosswork Situation Manager.
These include: Bar Charts, Numbers, Tables, Self Monitoring etc. For more information see Portlets.
The Cisco Crosswork Situation Manager Dashboard is displayed by default when you open Dashboards.
This Dashboard features the following Portlets: Situation Overview, Open Alerts per Situation, Events per Situation, All Alerts, Impacted Services, Top 10 Situation Operator Actions, Open Alert Distribution (All Alerts), Open Alert Distribution (Alerts not in Situations) and Open Alert Distribution (Noisy Causal Alerts). For more information see Portlets.
The Management Dashboard offers a Manager's perspective and overview of useful Cisco Crosswork Situation Manager statistics.
This Dashboard includes the following Portlets:
Portlet |
Description |
Situation Overview |
This shows if the number of Situations is increasing or decreasing and if they are being assigned and resolved in a timely manner. |
Most active Situation hosts |
This monitors which hosts are experiencing the most operational issues. |
Top Situation operator actions |
This helps you to understand the amount of effort involved in maintaining Situations. |
Top moderators |
This determines which moderators have the highest workload. |
Note: Cisco is deprecating support for the legacy built-in Cisco Crosswork Situation Manager Legacy Dashboards. Use the Cisco Crosswork Situation Manager Insights feature built on the Stats API. You can get started with the default Insights dashboard built for Grafana.
Each Dashboard is customizable so different Portlets can be added and removed as required and the columns in each Dashboard can be resized.
Portlets can also configured to display different statistics and moved around on the Dashboard.
Actions that can be performed by Administrators are listed in the table below:
Icon |
Action |
|
Edit Properties - This allows you to edit the properties of the Dashboard or Portlet |
|
Close Panel - This closes the Portlet panel and removes it from the Dashboard |
|
Add Portlet - This can be used to add a new Portlet to the Dashboard. See Adding Portlets |
To add a new Dashboard, click + Add Dashboard in the top left corner of the screen.
On the 'General' tab you can configure the Dashboard with the following fields:
Field |
Input |
Description |
Name |
String |
A name for the new Dashboard |
Description |
String |
A text description of the new Dashboard |
Background |
None |
Select whether to have no background or an uploaded image as the background |
Uploaded image |
Fill Window |
After uploading an image, select the position of the image in the background |
Portlet Theme |
Minimal Full (default) |
Select a theme: ■ Full to show Portlet borders and title bars ■ Minimal to hide Portlet borders, title bars etc |
Stretch Behavior |
Stretch to Window |
Select the stretch behavior of the Dashboard: ■ Stretch to Window Height means all available space will be filled with the Portlets ■ Stretch to Longest Column will have all Portlets expand to match the longest column in the Dashboard |
On the 'Shared with' tab you can select who the new Dashboard is shared with. The options are either 'Everyone' or 'Specific Teams'.
Click the + Add Portlet... icon to add a new Portlet to the Dashboard that is open. This opens the Add Portlet pop-up window:
Type the name of the Portlet you want to add in the search bar at the top or scroll down and select the required Portlet. Then click Add Portlet to continue.
Depending on the Portlet type, you may need to enter further details to configure the Portlet.
Portlets are the configurable components of the Dashboard, similar to widgets, which offer different overviews and statistics relating to the Alerts, Situations and other aspects of Cisco Crosswork Situation Manager.
Note: Administrators can add, remove and configure different Portlets depending on your requirements. See Dashboard Configuration
There are a number of common actions that can be performed on most Portlets relating to resizing and reordering. These include:
Icon |
Description |
|
Click and hold to move a Portlet to a new location in the Dashboard |
|
Click and drag the edge or column of any Portlet to increase or decrease the column or the Portlet width |
|
Click and drag the edge of a Portlet to increase the height of a Portlet |
|
Click to sort the Portlet rows in alphabetical ascending order |
|
Click to sort the Portlet rows in alphabetical descending order |
|
Click and then check or uncheck the columns you want to be shown or hidden |
There are a different types of Portlets that can be added to your Dashboards. These include:
· Bar Chart Portlet
· Most Active Situation Hosts Portlet
· Number Portlet
· Open Alert Distribution Portlet
· Self Monitoring Portlet
· Services Impacted Portlet
· Situation Overview Portlet
· Table Portlet
· Top Situation Moderators by Assignment Portlet
· Top Situation Operator Actions Portlet
The Bar Chart Portlet is like a standard chart that presents data in horizontal rectangular bars with lengths proportional to their respective values.
The statistics displayed in the Bar Chart Portlet will dynamically update as Alerts and Situations change.
Some examples of the different Bar Chart Portlets are shown below:
Top Situation Moderators by Assignment
Open Alert Distribution/All Alerts
Most Active Situation Hosts/Last Week
Click any of the bars in the Bar Chart Portlets to open a Filter view of that specific value. E.g. Clicking the orange bar in Open Alerts Distribution will open a Filter of all open Alerts with major severity.
Enter a title for the Bar Chart under 'Title'. If you don't manually enter a title, it will automatically adopt the name of the statistic.
Next click the ellipsis next to 'Statistic' to choose which statistics are displayed. These include the following:
Statistic |
Options |
Most Active Situation Host |
Last Day, Last Hour, Last Month, Last Week |
Open Alert Distribution |
Alerts not in Situations, All Alerts, Noisy Causal Alerts, Custom Filter* |
Process Impacted |
All Situations, Open Situations with Impacted Services, Custom Filter* |
Service Impacted |
All Situations, Open Situations with Impacted Services, Custom Filter* |
Top Situation Moderators by Assignment |
- |
Top Situation Operators by Assignment |
Last Day, Last Month, Last Day |
Note: You can click the + icon to add a Custom Filter for these three statistics
Select a 'Value' and then choose whether to hide category labels or not. Finally click Save to continue.
The Number Portlet displays a single numeric statistic as a number or a state and its trend over time.
This Portlet displays dynamically updated data on Events, Alerts and Situations attributes.
Some examples of the default Number Portlets are displayed below:
Open Alerts per Situation
All Alerts
Events per Situation
You can configure the different fields and which statistics are displayed when adding a Number Portlet:
Field |
Input |
Description |
Title |
String |
A title or name for the Portlet. If none is entered, this will be the name of the statistic |
Statistic |
Selection |
For more information see the Available Statistics table below |
Value |
- |
The values available will depend of the statistic selected |
Format |
Integer |
This defines how the number is displayed in the Portlet. E.g. 0.00 will display the number with two decimal places |
Label |
String |
This is a description of the Portlet number. E.g. "Critical Situations" for a Portlet using the pre-defined Situation Filter 'Severity is Critical' |
Primary Text |
Value |
Select whether the large primary text displayed on the Portlet shows the 'Value' or the 'Label'. By default this is set to 'Value'. Select 'Hidden' to have not primary text displayed |
Secondary Text |
Value |
Select whether the smaller text displayed on the Portlet shows the 'Value' or the 'Label'. By default this is set to 'Label'. Select 'Hidden' to have not secondary text displayed |
Tooltip Text |
Value |
Select whether the Portlet number or the 'Label' is displayed on the tooltip |
State Display |
Condition |
Define whether a status icon appears in the Portlet and the threshold values for indicating good, marginal or bad status |
Alignment |
Left |
The alignment of the number, primary and secondary text in the Number Portlet |
Show Trend Over |
Do not show trend |
This shows a line indicating whether the monitored statistic number is rising or falling over the specific time period |
The following statistics can be chosen for the Number Portlet:
Statistic |
Option |
Open Alert Distribution |
Alerts not in Situations, All Alerts, Noisy Causal Alerts, Custom Filter* |
Process Impacted |
All Situations, Open Situations with Impacted Services, Custom Filter* |
Services Impacted |
All Situations, Open Situations with Impacted Services, Custom Filter* |
Situation Filter Summary |
All Situations, Open Situations with Impacted Services, Custom Filter* |
System Summary Statistics |
- |
Top Situation Operator Actions |
Last Day, Last Month, Last Week |
Note: You can click the + icon to add a Custom Filter for these three statistics
The Open Alert Distribution Portlet displays a graphical bar chart showing the open Alert distribution by severity.
When adding this Portlet, it will show all Open Alerts and their distribution by severity by default:
Click any of the bars to open the Situations with that severity in a Situation Filter.
Information: The number in the bottom right corner is the number of Alerts with the severity that represents the largest proportion of the distribution.
Click the gear icon to configure the Portlet. The Configure Open Alert Distribution window will open:
Field |
Input |
Description |
Title |
String |
Edit this to change the name of the Portlet |
Filter |
Alerts not in Situations |
Select whether the Portlet displays either: Alerts not in Situations, All Alerts or Noisy Causal Alerts |
Click the gear icon to configure the Portlet. The Configure Open Alert Distribution window will open:
Field |
Input |
Description |
Filter |
Alerts not in Situations |
Select whether the Portlet displays either: Alerts not in Situations, All Alerts or Noisy Causal Alerts |
Title |
String |
Edit this to change the name of the Portlet |
The Self Monitoring Portlet displays dynamically updating icons that indicate the current health of the Cisco Crosswork Situation Manager processes.
This is useful for monitoring the overall health and status of your Cisco Crosswork Situation Manager system.
The status of each component of Cisco Crosswork Situation Manager listed in the Portlet is indicated by icons on the right of the window:
Icon |
Meaning |
|
At least one unreserved (optional) process not running. These are not all expected to be running |
|
All processes running normally |
|
At least one reserved process has missed some heartbeats. This could indicate a potential problem and ought to be investigated |
|
At least one reserved process either not running or has missed their last heartbeat. The process may have failed or has not been started. This could be a critical error and Cisco Crosswork Situation Manager may not be working properly |
The larger icon on the left is the overall status indicator and its color indicates the health of the least healthy process.
In the example above, High Availability has one or more unreserved process not running, indicated by the grey icon. All other processes are running normally, indicated by the green icons. As not all unreserved processes are expected to be running, the large overall status indicator on the left is green.
Click the gear icon to configure the Portlet. The only configuration that can be done to Self Monitoring is changing the name of the Portlet:
Delete the current Title and change the text as required. Click Save to continue.
The Services Impacted Portlet shows all Services that have been impacted by Situations.
By default, this Portlet will display three columns: the Service name, the number of Situations that are impacting it and the trend.
To change the order in which the columns are displayed or to show or hide different columns, click the drop-down arrow in the top right corner of a column:
You can select whether to order by ascending or descending and select which columns are visible by checking or unchecking them.
Double-click any row to view the Situations as a list in the Situation Filter view.
Click the gear icon to configure the Portlet. The configuration window is the same for the Table Portlet:
Field |
Input |
Description |
Title |
String |
The name of the Portlet |
Statistic |
- |
The statistic you want shown in the Portlet |
Columns |
- |
The columns you want shown in the table. These will depend on the statistic shown. |
Sort By |
Selection |
The values will depend on the statistic that was selected. You can also select whether the results are ordered in ascending or descending order. |
Click Save to continue and create the Portlet.
Click the gear icon to configure the Portlet. This opens the configuration window for the Portlet:
Field |
Input |
Description |
Title |
String |
The name of the Portlet |
Show Trend Over |
Do not show |
The trend you want shown in the Portlet |
Click Save to continue and create the Portlet.
The Situation Overview Portlet displays dynamically updated data on the number of open Situations in the system.
This Portlet also shows the number of unassigned Situations and a Situations trend line. This is useful to see if the number of Situations and their severity is increasing or decreasing and if they are being assigned and resolved in a timely manner.
Note: The number of Situations in this Portlet does not include superseded Situations
You can click different components of the Portlet to display the information in a new window:
The different screens and information that will be opened by clicking the different components of the Situation Overview Portlet are listed below:
Icon |
Description |
|
Click the 'Open Situations' number to open a Situation Filter showing all Open Situations |
|
Click the green arrow or the number alongside it to open a Situation Filter showing all Open Situations trending down |
|
Click the red arrow or the number alongside it to open a Situation Filter showing all Open Situations trending up |
|
Click the unassigned number to open a Situation Filter showing all unassigned Open Situations |
|
The trend line shows the trend from when the Dashboard was opened. Point along the line to see the details of the number of Situations trending up or down, as well as the date and time |
The Table Portlet displays dynamically updated data on Alerts and Situations attributes.
Examples of pre-configured Table Portlets include: Services Impacted Portlet, Top Situation Operator Actions Portlet and Top Situation Moderators by Assignment Portlet.
Table portlets can be configured by an Administrator to stretch vertically, automatically filling the space available.
To change the order in which the columns are displayed or to show or hide different columns, click the drop-down arrow in the top right corner of a column:
You can select whether to order by ascending or descending and select which columns are visible by checking or unchecking them.
Double-click any row to view the Situations as a list a Situation Filter view.
Open Alert Distribution/ All Alerts
Impacted Services
Top 10 Situation Operator Actions/Last Day
The Configure Table window will open when you add a Table Portlet for the first time.
Field |
Input |
Description |
Title |
String |
The name of the Portlet |
Statistic |
- |
The statistic you want shown in the Portlet |
Columns |
- |
The columns you want shown in the table. These will depend on the statistic shown |
Sort By |
Selection |
The values will depend on the statistic that was selected. You can also select whether the results are ordered in ascending or descending order. |
Click Save to continue and create the Portlet.
The Top Situation Moderators by Assignment Portlet is a bar chart which dynamically updates to display the top 25 moderators with the most Situations assigned to them.
This Portlet is useful for determining which moderators have the highest workload.
Hover your mouse cursor over each bar to view the number of Situations each moderator has assigned to them.
Click the bar to open and view the Situations in the Situation Filter.
The Top Situation Operator Actions Portlet displays dynamically updated list of the top 10 actions carried out by Operators on Situations within the last day, week or month.
This information helps understand the amount of manual (user) effort involved in maintaining Situations.
To change the order in which the columns are displayed or to show or hide different columns, click the drop-down arrow in the top right corner of a column:
You can select whether to order by ascending or descending and select which columns are visible by checking or unchecking them.
Double-click any row to view the Situations as a list in the Situation Filter view.
Click the gear icon to configure the Portlet. The configuration window is the same for the Table Portlet:
Field |
Input |
Description |
Title |
String |
The name of the Portlet |
Statistic |
- |
The statistic you want shown in the Portlet |
Columns |
- |
The columns you want shown in the table. These will depend on the statistic shown. |
Sort By |
Selection |
The values will depend on the statistic that was selected. You can also select whether the results are ordered in ascending or descending order. |
Click Save to continue and create the Portlet.
The Most Active Situation Hosts Portlet counts the number of Alerts that are associated with each host, and shows the hosts with the highest number of Alerts that are in Situations.
This is useful for gaining an overview of which hosts, the systems monitored by Cisco Crosswork Situation Manager, are experiencing the most operational issues.
The portlet displays up to the top 10 hosts and includes data from all open and closed Situations, but not superseded Situations.
By default, each host has a row in the table, with the total count of Alerts associated with that host.
See an example of the Most Active Situation Hosts Portlet below:
Double-click any of the hosts to view them in a Filter view.
To configure the Portlet, add it to the Dashboard and then click the gear icon.
You can change the following information displayed in the Portlet:
Field |
Input |
Description |
Title |
String |
The name of the Portlet |
Period |
Last Hour |
The time period: Last Hour, Last Day, Last Week, Last Month |
Columns |
Host AND/OR Count |
Choose whether to display the 'Host' name, the 'Count' or both |
Sort By |
Count OR Host |
Choose whether to sort by 'Host' or 'Count' and by 'Descending' or 'Ascending' order |
Finally click Save to continue.
As an Administrator, you control user access to functions in the Cisco Crosswork Situation Manager UI. This ensures that authorised users can perform required functions and prevents unauthorised users from accessing the system and sensitive operations within it.
Functions you can restrict include the ability to assign alerts, assign Situation owners, mark alerts with Probable Root Cause (PRC) feedback, and access Integrations.
Follow these steps to manage user access:
1. Create roles for specific job functions.
2. Assign the permissions to perform operations to roles.
3. Enable user authentication via SAML or LDAP, or manually create users.
4. Specify a role for authenticating users, or manually assign roles to users.
5. Set up teams (optional).
See the following pages for details:
· Manage Roles
· Manage Users
· Manage Teams
Roles group the permissions users need to perform a set of tasks within Cisco Crosswork Situation Manager. You can create roles for specific job functions and assign them the permissions to perform certain operations. For example, you could create a role named Situation Manager and assign it the permissions to perform certain operations. For example, you could create a role named Situation Manager and assign it the permissions for managing alerts and Situations.
You must assign at least one role to every user. You can do this manually when you create the user or you can map roles to users if you use SAML.
Cisco Crosswork Situation Manager contains a set of predefined roles with a predefined set of permissions. See Role Permissions for details.
To view a list of roles, navigate to Settings > Roles. You can use the search box on the left to filter the list.
Select a role to view and edit its configuration. You can edit the following:
■ Selected permissions. See Role Permissions for a description of each permission.
■ Session timeout. You can use the system timeout of 60 minutes or define a custom timeout period.
■ Landing page. You can choose to inherit the landing page from the system configuration or select an alternative page.
You can also perform the following operations:
■ Click + to create a new role.
■ Click a role name and then - to delete a role.
You cannot delete a role that is assigned to users. Remove the role from all users first.
Cisco Crosswork Situation Manager contains the following predefined roles: Super User, Administrator, Manager, Operator, Customer, and Grazer.
The REST LAM Sender role is designed for use with REST LAM integrations. The role restricts UI functionality, so you should not assign it to UI users.
For information on creating and editing roles see Manage Roles.
Permission |
Description |
Super User |
Administrator |
Manager |
Operator |
Customer |
Grazer |
add_media |
Attach files to the collaborate tab in Situations. Upload a photo to a user avatar. |
X |
X |
X |
X |
X |
X |
alert_assign |
Assign alerts. |
X |
X |
X |
X |
|
X |
alert_close |
Manage alerts including changes to significance and severity. |
X |
X |
X |
X |
|
X |
alert_modify |
View all data. Users without this permission can only view Situation and alert data related to their teams. |
X |
X |
X |
X |
|
X |
all_data |
Create and edit the user's own personal Situation and alert filters. |
X |
X |
X |
X |
X |
X |
filters |
Log into the Graze API. |
X |
X |
X |
X |
X |
X |
graze_login |
Access the Integrations tab. |
|
|
|
|
|
X |
manage_integrations |
Manage maintenance windows. |
X |
|
|
|
|
|
manage_maint |
Access the Cisco Crosswork Situation Manager application on a mobile device. |
X |
X |
X |
X |
|
X |
mobile |
Access the Cisco Crosswork Situation Manager application on a mobile device. |
|
|
|
|
|
|
moderator_assign |
Assign a Situation owner. |
X |
X |
|
X |
|
X |
prc_feedback |
Mark alerts with Probable Root Cause feedback. |
X |
X |
X |
X |
|
X |
sig_close |
Close Situations. |
X |
X |
X |
X |
|
X |
sig_create |
Create Situations manually and from alerts. |
X |
X |
X |
X |
|
X |
sig_modify |
Manage Situations including changes to severity, queues and alerts. |
X |
X |
X |
X |
|
X |
super_privileges |
Super user privileges. Enables access to all system settings and the ability to manage dashboards, alert and Situation filters, templates, users, and roles. |
X |
|
|
|
|
X |
thread_create |
Deprecated permission |
X |
X |
X |
X |
X |
X |
As with most software systems, you use user credentials to provide secure access to Cisco Crosswork Situation Manager for your personnel. You can use the System Settings UI to manage the various attributes that define users and the actions they're allowed to perform inside Cisco Crosswork Situation Manager.
As an alternative to managing users in the UI, you can configure the system to allow Single Sign-On (SSO) via the Security Assertion Markup Language (SAML) protocol. If you have a large number of users, enabling SSO saves you from setting them up individually. It also improves security by requiring users to remember a single complex password instead of multiple credentials for multiple systems.
Within the SAML configuration you can specify a role, primary group and team to assign to users when they authenticate for the first time. See Configure Single Sign-On with SAML for further information. You can also authenticate users with Lightweight Directory Access Protocol (LDAP). See Security Configuration for more details.
To view a list of users, navigate to Settings > Users. Use the search box on the left to filter the list. You can click the person icon to toggle the display of inactive users.
Click + to create a new user or select a user to view and edit their attributes.
You cannot delete users. The system retains a history of all user activity, including collaboration posts and ownership of alerts and Situations. You can set obsolete users to inactive in the Personal tab.
Cisco Crosswork Situation Manager includes the following predefined users:
■ Administrator: Super user role. For information on creating and editing roles see Manage Roles.
■ Graze API user. Grazer role. This user is intended for system integration purposes, it is not a UI user.
■ System Owner: Super user role.
■ Moog. An anonymous system account used for unassigned alerts and Situations.
We recommend that you change the default password for each predefined user. Once you have set up your own users or enabled user authentication you may wish to deactivate the predefined users.
Navigate to the Personal tab to view or edit the following user details:
■ Username with 32 characters maximum. Mandatory.
■ Full name.
■ Password. If you do not enter a password the user is created as an LDAP user.
■ Primary group. Mandatory.
■ Department.
■ Time zone if different to the system time zone.
■ Active status. Inactive users cannot log into the UI. New users are active by default.
■ Timeout. You can use the role timeout of 60 minutes or define a custom timeout period between 60 and 480 minutes (8 hours).
You can view or edit the user's email address or telephone number on the Contact tab.
Roles group the permissions users need to perform a set of tasks within Cisco Crosswork Situation Manager. For information on creating and editing roles see Manage Roles. You must assign at least one role to each user.
You can use competency rankings to indicate the user's level of expertise. Double-click the ranking and use the up and down arrows to adjust the number.
You can optionally group users into teams, to ensure that users working together view the Situations that are relevant to them. You can configure Cisco Crosswork Situation Manager to assign Situations to a particular team if they impact selected services or meet other criteria. See Manage Teams for further information.
You can use the optional Teams feature in Cisco Crosswork Situation Manager to allow users working together to view the Situations that are relevant to them.
You can configure the system to automatically create teams based on certain Situation data, or you can manually create teams.
To view a list of teams, navigate to Settings > Teams. Use the search box on the left to filter the list. You can click the people icon to toggle the display of inactive teams.
■ Click + to create a new team.
■ Click a team name and then the copy icon to duplicate a team.
You cannot delete teams. The system retains a history of all team activity. You can set obsolete teams to inactive in the General tab.
To create a team, you must assign the team a name of maximum 64 characters. You can optionally provide a description of the team.
By default, teams are active. Deselect the Active checkbox to deactivate a team. Inactive teams don't appear in team rooms and cannot have Situations assigned to them.
Navigate to the Users tab to select the users to belong to this team. You can define an alternative landing page for the team members on the Settings tab.
You can configure Cisco Crosswork Situation Manager to create teams based on current Situation data.
Note: Creating automatic teams sets all existing teams to inactive.
You can create teams based on any of the following Situation fields:
■ Description
■ Services Impacted
■ Process Impacted
■ Queue
After Cisco Crosswork Situation Manager creates a team, you can view and edit the team settings and membership.
You can filter data visible to team members according to services, Situations or alerts:
■ Create a Service Filter in General to select services for which the team will view affected Situations. Adding more than 200 services may affect system performance and stability.
■ Create a Situation Filter in General to select the Situations that you can assign to members of your team. If you only want team members to be able to see these Situations, ensure they do not have the 'all_data' permission. See Role Permissions for details.
■ Create an Alert Filter in Settings to select the alerts outside the team's Situation Filter that you want your team members to see.
Permissions are additive. Therefore if you set several filters, Situations and alerts that meet any one of them will be included. For example, you could set up a team's permissions so that the team views critical Situations affecting a database service, a messaging service, and a web service.
The 'all_data' permission in a user role overrides the filters in team settings. Users with the 'all_data' permission can view all Situations and alerts.
If you want users to see only the alerts and Situations that are assigned to their team, configure roles and users as follows:
1. Create a role without the 'all_data' permission.
2. Assign the role to your users.
3. Add the users to the team.
See Manage Roles and Manage Users for more information.
Action States are the different states which Alerts are placed into as they pass from the Alert Builder into the Alert Rules Engine. See Alert Rules Engine for a standard link-up link down example use of action states.
The different states define how long the Alerts are retained in a certain state and whether they are forwarded to any Moolets or Sigalisers.
The default or base state is called 'Ground' and is required for the system to function correctly. This is the state that Alerts are passed into when they enter the Alert Rules Engine.
Click + to create a new Action State. The available fields are as follows:
Field |
Input |
Description |
Name |
String (Mandatory) |
The name of the new Action State (up to a maximum of 64 characters). |
Description |
String |
The description of the new Action State. |
Remember Alerts For |
Integer |
The time in seconds that the system remembers the alerts in this state for. |
Cascade on Expiry |
Boolean |
This tells the system what to do if you have set a time to remember alerts for. E.g The Alert will go into the state and then after the set time of 30 seconds if will be taken out of the state whether you dispose of it manually or return it back to its original state. |
Forward Alerts |
Boolean |
If enabled the Alerts that enter this state will be forwarded to the chain Moolet. |
Close Filter |
Filter |
The close filter defines which Alerts will be closed when they enter the state. |
Entry Action |
String |
The entry function is the MooBot function that will be called when an Alert enters the state. |
Exit Action |
String |
The exit function is the MooBot function that will be called when an Alert exits the state. |
Click Save Changes to continue. Alternatively, click Revert Changes to undo any changes.
The new Action State will appear on the list to the left.
Deleting and Action State
Select the Action State you want to delete from the list on the left.
Note: It is not possible to delete the default 'Ground' state as this is required for the system to function correctly.
Click - to delete the Action State. The pop-up confirmation window will appear.
Click Yes to confirm the deletion.
The Cisco Crosswork Situation Manager Auto Close feature lets you define criteria for automatically closing alerts and Situations.
Auto Close enables you to use filtering rules to organize your data and keep it current so you can focus on the most important active alerts and Situations. You will also see performance improvements because automatically closing old alerts and Situations reduces the amount of data involved in Cisco Crosswork Situation Manager statistic calculations.
Auto Close lets you define the conditions using filters and determine how often Cisco Crosswork Situation Manager checks which alerts and Situations to close. Any alerts and Situations older than a certain time and that meet the defined criteria are closed.
Configure Auto Close for Situations
The Housekeeper Moolet must be configured and running within moogfarmd in order for Auto Close to work. To configure which Situations should never be auto closed, create an exclusion filter as follows:
1. Click Edit Filter to open the filter editor.
2. Clear the filter using Empty Filter and Add Clause. Alternatively, you can manually type in your filter rules. See Filter Search Data for reference.
3. Apply the changes to continue and click Done.
After you add the filter, define the behavior for automatically closing Situations as follows:
■ Close the Situation and all of the alerts it contains
■ Close the Situation and all unique alerts it contains. Unique alerts are any alerts that are not part of any other Situations.
■ Close the Situation only.
You can create tasks to configure:
■ The age when Situations are suitable for Auto Close.
■ The number of Situations to close in each Auto Close run.
■ Situations only close if all associated alerts are closed.
Edit the default task or click Add Task. The available settings are as follows:
Setting |
UI Text |
Input |
Options |
Description |
Situation Age |
When they are older than |
Integer |
Minutes |
Defines the age of the Situation before it can be closed. Must be a number greater than 1. |
All Alerts closed |
And when all alerts in the Situation are closed |
Boolean |
- |
If enabled, only Situations with no open alerts qualify for automatic closure. |
Match filter |
And all Situations match the following filter |
Filter |
- |
Defines the criteria a Situation must meet to qualify for automatic closure |
Batch size |
Every time this task runs, close a maximum of |
Integer |
- |
Defines the maximum number of Situations to auto close in each Auto Close run. 1000 by default. Must be a number greater than 1. |
Once saved, the Auto Close task runs after a set period of time. This time period is between five minutes and four hours depending on the age of the Situation. The older the Situation age, the closer the frequency of the task gets to four hours (see the example below).
There is no limit on the number of tasks, so you can add any as many as you need meet your requirements.
The example below demonstrates how you can configure an Auto Close task to close a maximum of 1000 Situations per run that meet the following criteria:
■ Older than 23 hours
■ All associated alerts are closed
■ Have a clear severity.
To configure which Alerts should never be auto closed, select the Alerts tab and create an exclusion filter as follows:
■ Click Edit Filter to open the filter editor.
■ Clear the filter using Empty Filter and Add Clause. Alternatively, you can manually type in your filter rules. See Filter Search Data for reference.
■ Apply the changes to continue and click Done.
You can create tasks to configure
· The age when Alerts are suitable for Auto Close.
· The number of Alerts to close in each Auto Close run.
Edit the default task or click Add Task. The available settings are as follows:
Setting |
UI Text |
Input |
Options |
Description |
Alert age |
When they are older than |
Integer |
Minutes |
Defines how old the alert must be to be auto closed. Must be a number greater than one. |
Match filter |
And all alerts match the following filter |
Filter |
- |
Defines which alerts to include in the batch being auto closed. |
Batch size |
Every time this task runs, close a maximum of |
Integer |
- |
Defines the maximum number of alerts to auto close in each Auto Close run. |
Once saved, the Auto Close task runs after a set period of time. This time period is between five minutes and four hours depending on the age of the alert. The older the alert age, the closer the frequency of the task gets to four hours.
There is no limit on the number of tasks, so you can add any as many as you need meet your requirements.
The task example below demonstrates how you can configure a task to Auto Close a maximum of 1000 alerts per run that meet the following criteria:
■ Older than 45 minutes
■ Have a clear severity or a minor severity.
Transitions are user-configurable set of conditions that move an alert from one state to another within the Alert Rules Engine (ARE).
To create and configure different transitions go to System Settings.
Create a New Transition
Click + to create a new transition and edit the fields to meet your requirements:
Field |
Input |
Description |
Name |
String |
Name of the transition. This can be up to 64 characters. Mandatory. |
Description |
String |
Description of the transition. |
Priority |
Integer |
Determines the priority of the transition if there are multiple transitions. The higher the value, the higher the priority. |
Active |
Boolean |
Sets the transition to active. |
First Match Only |
Boolean |
Transition only occurs once if an alert meets the trigger conditions. |
Trigger Filter |
Filter |
Filter that triggers the transition if an alert meets the defined trigger filter parameters. Mandatory. |
Inclusion Filter |
Filter |
Filter that passes additional alerts to the end state if they arrive after the initial trigger and meet the defined inclusion filter parameters. |
Start State |
- |
Determines the action state of the alerts in the inclusion filter. The start state and end state must be different. Mandatory. |
End State |
- |
Determines the action state of the alerts if they match the inclusion or trigger filters. The start state and end state must be different. Mandatory. |
When you have configured the transition, click Save to continue.
To delete a transition from the list of available transitions:
1. Select the transition to delete.
2. Click the - to delete the transition.
3. Confirm the deletion to continue.
Cookbook is a deterministic clustering algorithm in Cisco Crosswork Situation Manager that creates Situations defined by the relationships between alerts.
You can configure Cookbook to cluster alerts into Situations if they have specific characteristics such as temporal or topological proximity. Cookbook filters can include characteristics such as the following:
■ Class or type
■ Description
■ Server priority
■ Geographical location
■ Environment classification.
Each Cookbook is a collection of Recipes: sets of configurable filters, triggers, and other calculations such as priority ordering and entropy threshold. A Cookbook can run multiple Recipes concurrently to process the incoming event stream and produce a variety of Situations. A Cisco Crosswork Situation Manager deployment may include multiple instances of moogfarmd, each of which can run multiple Cookbooks.
You can configure a Cookbook and its recipes via the Cisco Crosswork Situation Manager UI. See Configure a Cookbook for details.
To use more advanced features, such as merging and Moobot-controlled Recipes in moogfarmd, see Configure a Cookbook Manually.
Cookbooks configured in the UI and in moogfarmd can run concurrently.
Cookbook is a deterministic clustering algorithm in Cisco Crosswork Situation Manager that creates Situations defined by the relationships between alerts.
Refer to Cookbook Reference to see all available properties. When you add a Cookbook via the UI, you can only configure the visible properties. Cookbook requires at least one active Recipe in order to function and cluster alerts into Situations. See Configure a Cookbook Recipe for more details.
If you want to implement a more complex Cookbook with advanced configuration and additional properties, see Configure a Cookbook Manually.
Before you set up your Cookbook via the UI, ensure you have met the following requirements:
■ You have set up the recipes you want your Cookbook to use. See Configure a Cookbook Recipe for details.
■ Your LAMs or integrations are running and Cisco Crosswork Situation Manager is receiving events.
■ You have configured the Moolet that is the source of the alerts for the Cookbook.
To create a new Cookbook from the Cisco Crosswork Situation Manager UI:
1. Navigate to the Settings tab.
2. Click Cookbooks in the Sigaliser section.
3. Click the + icon to create a new Cookbook. See the Cookbook Reference for a full description of all properties. You cannot configure some properties from the UI.
4. Fill in the properties to name and describe the Cookbook:
— name: Name of the Cookbook (required).
— description: Text description of the Cookbook.
5. Configure the Cookbook's input and clustering behavior:
— process output of: Defines Moolet source of the alerts for the Cookbook (required).
— cluster by: Determines the Cookbook's clustering behavior.
— entropy threshold: Minimum entropy value an alert must have in order for Cookbook to cluster it into a Situation.
— cook for: Period of time that Cookbook clusters alerts for before the recipe resets and determines when to start a new cluster.
— scale by severity: Treat alerts with a high severity value like alerts with a higher entropy value.
6. Configure which recipes that Cookbook uses and when it uses them:
— first recipe match only: Enables a priority order for recipes in the Cookbook.
— selected recipes: Determines the Cookbook's clustering behavior.
7. Click Save Changes to create the Cookbook.
8. To enable the new Cookbook, return to System Settings and click Cookbook Selection.
9. Move the new Cookbook to Active Cookbooks and click Save Changes.
After completing the configuration, you can activate the new Cookbook to run alongside any existing active Cookbooks:
1. Navigate to the Settings tab.
2. Click Cookbook Selection in the Sigaliser section.
3. Move the Cookbook under 'Active Cookbooks' using the arrow icons.
4. Click the Merging tab and choose the merging option you want to use:
— Resultant Situations from active Cookbooks will not be merged together. Default.
— Resultant Situations from active Cookbooks are eligible to be merged together if they share a degree of similarity. The similarity is set using the slider.
5. Click the Advanced tab configure if you want Cisco Crosswork Situation Manager to purge closed and superseded Situations from moogfarmd. Define how often you want the purge to occur in hours and minutes.
6. Save any changes.
Changes to the settings initiate a restart of moogfarmd and all running Cookbooks.
A Cookbook Recipe is a set of configurable filters, triggers, and calculations that defines the type of alerts and the alert relationships that Cookbook detects and clusters into Situations.
Cookbook requires at least one active Recipe in order to function and cluster alerts into Situations. When you add Recipes via the UI, you can only configure the visible properties. Refer to Cookbook and Recipe Reference to see the available properties. You can only configure two recipe types from the UI:
■ CValueRecipeV2: Default Recipe that extracts and analyzes groups of consecutive characters to measure text similarity between alerts.
■ CValueRecipe: First version of the CValue Recipe that uses a string comparison mechanism to determine text similarity between alerts.
See Recipe Types for more details on the different types of recipes available in Cookbook. If you want to implement a more complex Cookbook such as the CBotRecipe that allows you to call Moobot functions, see Configure a Recipe Manually.
Before you set up your Recipe via the UI, ensure you have met the following requirements:
■ Your LAMs or integrations are running and Cisco Crosswork Situation Manager is receiving events.
■ If you want to use Vertex Entropy or hop limit in your Recipes, you have imported your network topology. See Import a Network Topology.
To create a new Cookbook Recipe from the Cisco Crosswork Situation Manager UI:
1. Navigate to the Settings tab.
2. Click Cookbook Recipes in the Sigaliser section.
3. Click the + icon to create a new Recipe. See the Cookbook and Recipe Reference for full descriptions of all properties. Some of these properties cannot be configured from the UI.
4. Fill in the properties to name and describe the Recipe:
— Name: Name of the Recipe (required).
— Description: Text description of the Recipe.
— Situation description: Description that appears in Situations that the Recipe creates.
— Recipe Type: Type of recipe. The only options are Value Recipe and Value Recipe 2.
5. Configure the Recipe behavior and filters that define the alert relationships:
— Trigger Filter: Determines the alerts that Cookbook considers for Situation creation.
— Exclusion Filter: Determines the alerts to exclude from Situation creation.
— Seed Alert Filter: Determines whether to create a Situation from a seed alert.
— Rate Filter: Determines the minimum event rate per minute required for Cookbook to create a Situation.
— Alert Threshold: Maximum number of alerts to cluster before Cookbook creates a Situation.
— Cook For: Time period that Cookbook clusters alerts for before the recipe resets. The Recipe cook_for value overwrites the Cookbook cook_for value.
6. Configure the alert matching properties for the Recipe:
— Cluster By: Defines how Cookbook matches alerts to clusters.
— Hop Limit: Maximum number of hops between the alert source nodes in order for the alerts to qualify for clustering.
7. Navigate to the Clustering tab.
8. Click the + icon to add alerts fields you want Cookbook to factor in when clustering alerts.
9. Use the slider to edit the similarity threshold for each field. The value determines the required percentage similarity for Cookbook to cluster a set of alerts.
10. If you want to use custom info fields, configure the Match List Items option. See Match List Items in Recipes for details.
11. If you are configuring a Value Recipe, check the case_sensitive property if you want the text similarity calculation to factor in case sensitivity.
12. If you are configuring a Value Recipe 2, select whether you want Cookbook to calculate text similarity using shingles or words. If using shingles, select the shingle_size property. The default '3' is the optimal size.
When the configuration is complete, the changes are applied to any active Cookbooks that use the Recipe as soon as you save the changes.
If the Recipe has not been added to an active Cookbook, go to Settings > Cookbook and move the Recipe under Selected Recipes for that Cookbook.
Generic Server Tools in Cisco Crosswork Situation Manager are tools that allow a user to execute a utility on a remote host.
These tools specify a command that is run using the Tool Runner servlet (which is configured to connect to the remote host). The command can be anything you can run on the host in a Linux terminal command line, such as an inbuilt part of the OS (ping, cat etc) or your own script.
Note: In Cisco Crosswork Situation Manager, the Generic Server Tools managed here are only available from Situation Room ChatOps feature. See "Take Additional Actions" in the Operator Guide.
The steps below describe how to create a Generic Server Tool and its command. Any arguments required are defined by the user when the tool is run.
Go to System Settings > Tools and then Generic Server Tools to open the configuration window:
1. Click the + to create a new tool
2. Fill in the available fields to define the tool. These are listed in the table below:
Field |
Input |
Description |
Name |
String (Mandatory) |
The name for the Generic Server Tool (up to 100 characters). This appears in ChatOps when accessing the tool |
Description |
String(Optional) |
The text description of the tool |
Command |
String |
This is the file path of the command |
Run For |
Boolean +String |
Select a duration in with the spin box (minimum of 5 seconds). This sets how long to allow the tool to run for before it is stopped. If no time is set, the tool will run until it completes (or indefinitely) |
3. Click Save Changes to create the tool which will appear in the list on the left.
4. Alternatively, click Revert Changes to discard your changes and confirm when prompted.
1. To edit a Generic Server Tool, click the required tool you want from the list on the left. Alternatively, type in the search box in the top left corner to search for the tool you want to edit.
2. Edit fields as described above.
Note: You cannot edit the tool name. If you need to do this, create a duplicate with the name you want. You can then delete the original.
3. Click Save Changes.
4. If you want to discard your changes, click Revert Changes.
The picture above shows a Generic Server Tool with the command:
This tool runs the script myTests.sh which is located on the remote host at the path /home/moog/bin/, using remote host access information defined in the Tool Runner servlet.
Situation Server Tools in Cisco Crosswork Situation Manager are tools that enable a user to execute a utility on a remote host.
These tools specify a command and arguments that are run using the Tool Runner servlet (which is configured to connect to the remote host).
■ The command can be anything you can run on the host in a Linux terminal command line, such as an inbuilt part of the OS (e.g. ping) or your own script
■ The arguments are extracted from Situation attributes by prefixing the attribute name with '$', such as $description for the Situation description.
Note: In Cisco Crosswork Situation Manager, the Situation Server Tools managed here are only available from ChatOps in the Situation Room. See "Take Additional Actions" in the Operator Guide.
The steps below describe how to create a Situation Server Tool, its availability filter, command and arguments.
You can also create Situation Server Tools via a command prompt.
Go to System Settings > Tools > Situation Server Tools to open the configuration window:
1. Click the + to create a new tool.
2. Fill in the available fields to define the tool. These are listed in the table below:
Field |
Input |
Description |
Name |
String (Mandatory) |
The name for the Situation Server Tool (up to 100 characters). This appears in ChatOps when accessing the tool. |
Description |
String(Optional) |
The text description of the tool. |
Context Filter |
Filter(Optional) |
Click the pencil icon to create a filter for specific criteria which Situations must match for this tool to be available. |
Command |
String(Mandatory) |
This is the file path of the command. |
Arguments |
String |
This is the specific input for the command, which can use Situation attributes. To use Situation attributes, type '$' as a prefix and enter the attribute you want from the drop down list. |
Run For |
Boolean +Integer |
If enabled, you can define the number of seconds the tool will run for. The minimum value for this field is 5 seconds. |
Note: To prevent substitution with potentially malicious commands, arguments are escaped using a backslash
For example:
Command: echo
Argument: $args (where $args is echo_something; rm file.txt)
This results in the following command being executed:
echo echo_something\; rm file.txt
The semi-colon is escaped to prevent the rm command from being run.
3. Click Save Changes to create the new tool. This will appear in the list to the left of the screen.
To discard any changes, click Revert Changes and confirm when prompted.
Note: You can also create Situation Server Tools via a command prompt.
The screenshot below shows a Situation Server Tool called 'LogSitnDetails' with the Command: /home/moog/bin/logger.sh
This tool runs the script logger.sh on the remote host which logs Situation details to a file.
The details logged are the Situation ID, created time, description and total number of Alerts, which are defined with the Arguments:
$sig_id $created_at $description $total_alerts
Each Situation attribute name is prefixed with $. The Context Filter makes this tool available only for Closed Situations.
You can create Situation Server Tools via a command prompt.
This is useful for efficient creation of multiple tools using a scripted process, for example.
1. Open a new Terminal window on the Cisco Crosswork Situation Manager system and type the following:
moog_add_sitn_server_tool
2. Type any flags and arguments for the tool settings. See the examples below.
Important: Cisco Crosswork Situation Manager command line tools are located here:
/usr/share/moogsoft/bin/utils
To display the help information for this tool, type:
moog_add_sitn_server_tool and press Enter.
Use a double-dash prefix "--" to define all following text as arguments. This ensures arguments are not misinterpreted as flags.
For example, "-- -c" to define the argument "-c", which would otherwise be interpreted as the command flag.
3. When you have defined the tool, press Enter.
If successful, Tool was added appears.
■ If there is a mistype, the help information appears.
■ If the tool name already exists, Error: A tool named: [toolname] already exists appears.
If a Run for time of less than 5 seconds is typed, Error: The run_for value is too small. Please provide a value no smaller than 5 seconds appears.
Once the UI is refreshed, newly created tools will appear in the Situation Server Tools configuration window.
■ Name: Sitn ID (--name "Sitn ID"). Quotes are required because there is a space in the name
■ Description: Get the Situation ID (--desc "Get the Situation ID")
■ Context Filter: none
■ Command: echo (--cmd echo)
■ Arguments: display 'Situation ID = ID'
■ (--args "Situation ID = \$sig_id"). The backslash is required to escape the '$' because it is an environment variable
■ Run for: 42 seconds (--run_for 42)
This creates a tool with the following settings:
■ Description: five pings (-d "five pings")
■ Context Filter: ID < 10 (-m "sig_id<10")
■ Command: ping (-c ping)
■ Arguments: ping five times (-- -c 5). The argument starts with -c which is itself a tool flag. Therefore the "--" double-dash prefix is used to interpret -c 5 as an argument, and not a flag
■ Run for: no time set (no -r flag and argument)
■ Name: ping. The name is not defined here (no -n flag and argument) so the Command is used as the name by default
These are the Situation attributes available:
Alert Server Tools are tools that allow a user to execute a utility. The tools available are relevant to the Alert selected. Each tool executes on a remote host, which is defined when it is running.
The arguments passed to the utilities are extracted from the Alert attributes. For example, testing the reachability (ping) of hardware using the source attribute of the Alert.
The configuration steps described below define the Alert Server Tool (its command and argument).
Go to System Settings > Tools > Alert Server Tools to open the configuration window.
To create a new Alert Server Tool:
1. Click the + icon. This will open a clear configuration window.
2. Fill the available fields to define the tool. These are listed in the table:
Field |
Input |
Description |
Name |
String (Mandatory) |
The name for the Alert Server Tool (up to 100 characters) |
Description |
String |
The text description of the Alert Server Tool |
Alert Type filter |
String |
The Alert Types for which the Alert Server Tool will be available |
Filter using Regex |
Boolean |
If enabled, the Alert Type filter will use regular expression |
Command |
String (Mandatory) |
This is the command to carry out using alert information |
Arguments |
String |
This is the specific input for the command |
Run for |
Boolean +Integer |
If enabled, you can define the number of seconds the tool will run for. The minimum value for this field is 5 seconds. |
The screenshot below shows an Alert Server Tool that tests the reachability of the source the Alert and returns the results.
The Command ping is used with Arguments $source and -c5 which specify the source (from the Alert attribute) and the number of times to ping (five).
The Alert Type Filter uses a regular expression '.*' to make the tool available for all Alerts.
Hotkeys are keyboard shortcuts you can use on the Alert View, Situation View and Situation Room screens in Cisco Crosswork Situation Manager. The default hotkey shortcuts are as follows:
Key |
Action |
A |
Assign |
D |
Show Details |
I |
Invite User |
M |
Own |
T |
Open Server Tools |
You can add more custom hotkeys for additional actions to make navigation easier for you and your team.
Click + Create Hotkey in the top left corner of the window to add a new hotkey shortcut.
Under 'Key' select a number between 0-9 or a letter between A-Z, then select an action for it to represent.
The new hotkey will be highlighted with orange markers. Click Save Changes to continue.
Select any unwanted hotkey from the list, default hotkeys included, and click - Remove Hotkey.
The selected hotkey will disappear from the list. Click Save Changes to continue or click Revert Changes to undo the action.
The ChatOps feature enables Cisco Crosswork Situation Manager users to run tools from the Collaborate tab in the Situation Room. For more information, see "Take Additional Actions" in the Operator Guide.
The ChatOps shortcuts can be set up to give your Cisco Crosswork Situation Manager users quick access to the available tools. To do this, go to System Settings > ChatOps Shortcuts:
Any existing shortcuts will be listed under the Tools panel to the right of the window.
Click the + Create Shortcut button to get started
Next enter a name for your new ChatOps shortcut in the Shortcut text box. This is what users will type to run the ChatOps tool.
Note: You can use 0-9, lowercase a-z, dash (-), underscore (_) and period(.) If the name already exists, the name highlights in red in the list on the left and you cannot save until the name is edited to be unique.
Select the checkbox for the tool you want (to search for a tool, type text to the right of the search icon.
Note: Default Alert and Situation workflow tools (such as ping, nslookup) are available.
Repeat the steps above to create as many shortcuts as required.
Click Save changes when you are finished.
Remove a ChatOps shortcut
Select the ChatOps shortcut you want to delete, from the list on the left.
Click the - Remove Shortcut button to remove the shortcut from the list.
If you accidentally remove the wrong shortcut, you can click Revert Changes to undo this. However, remember that this will discard all changes since the last save.
You can create Client Tools in Cisco Crosswork Situation Manager to use Situation and Alert data to execute actions through a specified URL.
Client Tools can be set to return response data; providing a more detailed response in the UI that includes response status and data, which can yield useful and important information. Another example is for the tools to link to an external trouble ticket system (via its URL) which then opens a new ticket using data from the selected Situation.
There are two different types of Client Tools which can be run: Alert Client Tools and Situation Client Tools.
Go to System Settings > Tools and then either Alert Clients Tools or Situation Client Tools to open the configuration window (this is the same for both Alert and Situation Client Tools).
1. Click the + icon to create a new Client Tool.
2. Fill the available fields to define the tool. These are listed in the table below:
Field |
Input |
Description |
Name |
String (Mandatory) |
The name for the Client Tool (up to 100 characters) |
Description |
String |
The text description of the tool |
Context |
Filter(Optional) |
Click the pencil icon to create a filter for specific criteria which the Alerts or Situations must match for this tool to be available |
3. Next select one of the radio button options to choose one of the following options:
— URL Tool - If you want to create a tool that uses a URL.
— Merge Custom Info - If you want to create a tool that uses custom_info fields.
The different fields used to configure a URL Tool are described below:
Field |
Input |
Description |
Show All Response Data |
Boolean |
If enabled, the tool will return more a more detailed response in the UI, including the response status and data. |
HTTP Method |
GETPOST |
Select GET if the tool needs to retrieve information or select POST if the tool needs to send information. |
Open Window |
Boolean |
If enabled, this will open a new browser window when using the GET HTTP Method. |
URL |
String |
This is the URL of the Client Tool. |
URL Encoded Content |
String |
This is the payload data that is to be posted when the tool is run when using the POST HTTP Method. |
Select Merge Custom Info and in the Custom Info box, enter valid JSON for the custom_info you want the tool to add.
The example JSON blob below adds a set of custom_info called "TPS data" that contains a string "From MOOG", the Situation ID and the timestamp for when the Situation was created:
The JSON in the box can include Situation and Alert attributes and prompt variables.
When creating a client tool, entries in the URL, URL Encoded Content or Custom Info boxes can contain Situation or Alert attributes (for example, $description for the contents of the Situation or Alert description field) and prompt variables.
Prompt variables open a message box when the tool is run, prompting the user to type text, a number, or select from a list.
In the URL, URL Encoded Content or Custom Info boxes, enter prompt variables in the following format:
The prompt name cannot be any of the existing Situation or Alert attribute names.
To add a new prompt:
1. When entering text in the URL, URL Encoded Content or Custom Info box, type a prompt variable as described above. The prompt name appears in the Prompts table.
2. To edit the prompt, double-click on it or select it and then click Edit Prompt:
3. Type a Display Name into the box. This is what will appear in the prompt message.
4. Next choose from one of the three prompt options: Text, Number and List.
— Text - this will prompt for string text. The optional text settings are described below:
Setting |
Input |
Description |
Default Value |
String |
This is the default prompt text |
Minimum Length |
String |
This is the minimum length of text which users can enter into the prompt |
Maximum Length |
String |
This is the maximum length of text which users can enter into the prompt |
— Number - this will prompt users for a number. The optional number settings are described below:
Setting |
Input |
Description |
Default Value |
String |
This is the default number value |
Minimum Value |
String |
This is the minimum number which users can enter into the prompt |
Maximum Value |
String |
This is the maximum number which users can enter into the prompt |
Note: Numbers can be integers or floating point; in which case they are truncated to two decimal places.
— List - this will prompt users to select from a list. The list settings are:
Setting |
Input |
Description |
Available Options |
String |
These are the other available options |
Default Value |
String |
The default list value |
Click Add Option to add new options to the Available Options list. In the 'Display' column type what you want to appear for selection. In the 'Value' column, type what data you want to be added to the custom_info when the option is selected from the list. Click Update to add the option to the list.
Finally click OK when you have finished. The new prompt will be added to the Prompts table.
When you have finished, click Save Changes. The new tool will appear in the list on the left.
1. Select the client tool you want to edit. Alternatively, type into the search bar to find the tool.
2. Edit fields as described above.
Note: You cannot edit the tool Name. If you need to do this, create a duplicate with the name you want. You can then delete the original.
3. Click Save Changes.
4. If you want to discard your changes, click Revert Changes.
The Client Tools can be accessed from the following areas:
■ Alert Client Tools - on the Alert Tools Menu, see Alerts Overview (Right-Click menu). Or via "Situation Alerts" in a Situation Room.
■ Situation Client Tools - the Situation Tools Menu, from Tools menu on the Situation Room or via ChatOps in Collaborate.
Information: If you want to run Client Tools using Safari, go to Safari > Preferences > Security and uncheck 'Block pop-up windows' as this is checked by default.
Client tools can also be configured to alter custom_info fields. For example, running a tool to raise a ticket on a third party system can be configured to prompt for entries of pre-defined (custom_info) values to provide more information in the ticket raised in the third party system.
Client Custom_info Tool with a Prompt Variable
To create a Client custom_info tool with a prompt variable, select the Merge Custom Info option:
In this example, the custom_info entered is:
The screenshot below shows how the prompt variable settings can be configured:
To run the tool, go to an Alert, right-click or click Tools > Tools > Set LEVEL data for TPS.
The prompt shown below will appear.
Click OK to continue.
You can change the columns to display on Situation and Alert Views and add new columns based on custom_info fields.
Optionally add link definitions to custom_info columns, for example, to link the custom_info data to a third-party system. See Link Definitions.
Click the Columns drop-down menu in the top right corner to display which columns are displayed by default.
Check or uncheck columns to add or remove them from the default column layout.
Icon |
Description |
|
Click the border of any column and drag left or right to make the column narrower or wider. Double-click to auto-resize the column to the current content |
|
Click and drag any column to another position to change the order the columns appear in |
Click any column and edit the text next to 'Header' to change the column header.
Click Columns > Add Column to add a new custom column to the default layout.
Edit the available fields to configure the column:
Field |
Input |
Description |
Field |
String |
This is where you can type the custom_info field you want to use or show in the column |
Header |
String |
This is the header name of the column |
Type |
Number OR Text |
Select 'Number' if the column content is numeric or 'Text' if the column context is text string |
Link Definition |
Selection |
Select the Link Definition from the list (if required) |
Indexed |
Boolean |
If enabled, the column data will be indexed in the database. |
Adjust the column width as required and change the order by dragging and dropping the new column where you would like it to be.
Click Save Changes to continue and confirm when prompted.
Alternatively, click Revert Changes to discard your changes.
This example walks you through setting up an Alert Column with Custom_info Data from Prompt. The custom_info field 'TPSLEVEL' is added to Alerts using a client tool with a prompt variable: 'Set TPS Level'. See Client Tools for information on how to set up the TPS Level client tool.
1. Right-click and select Tools > Set TPS Level tool or Tools > Tools > Set TPS Level to run the tool on an Alert.
2. Select the TPS level on the prompt window.
3. Right-click on the Alert, select Show Details... and Custom Info...
4. Navigate to System Settings > Columns > Alert Columns to create the custom_info column.
5. Click Columns > Add Column and then configure the column.
6. Click Save Changes to continue.
The Alert Views displays display the TPS Level column display custom_info data in the second column:
You can use filters configure which alerts and Situations you want to access and display from your Cisco Crosswork Situation Manager Workbench. Administrators can create, edit and delete global filters for all users, and team filters for selected teams. If you share a filter with a specific team, only the users in the team can access the filter in the filter list.
Individual users can create personal filters for alerts or Situations. Only the creator can see personal filters.
Navigate to System Settings > Filters and either Alert Filters or Situation Filters to open the configuration window.
1. Click the + icon to create a new filter.
2. Fill the available fields to configure the filter. These are listed in the table below:
Field |
Input |
Description |
Name |
String (Mandatory) |
The name of the new filter (up to a maximum of 100 characters) |
Description |
String |
The text description of the filter |
Show in |
Navigation |
Select whether the filter will be shown in Navigation and/or Dashboards |
3. Click Add Clause to start building the filter.
4. Click the drop-down menu arrow and select a parameter.
5. Click the drop-down menu below this and select an operator.
6. Depending on the parameter selected, enter or select a value in the final box and then click Apply:
7. To add more clauses, click the clause and then click AND, OR or NOT and fill in the boxes as before.
8. Click Save Changes to create the filter.
Cisco Crosswork Situation Manager labs offers a preview of unreleased features. Navigate to Settings > Labs > Configure to view available labs features for the current release.
You can disable and enable the collection of different statistics for Insights.
Available collections that populate the default Grafana dashboards include:
■ Team Room Overview
■ Ops Insights
■ Noise Reduction Insights
■ Team Ops Insights
■ Team Performance Insights
All collections are active by default. Uncheck a collection if you do not want to use that particular dashboard.
You might want to disable collections and their related processes if you are only interested in retrieving a specific set of statistics or you want to keep the load on your system to a minimum.
Customization is where you can configure the functionality and default tabs of Cisco Crosswork Situation Manager for Situation Rooms, Workflow, System Settings and Interface Settings.
The Situation Room tab is where you can select the default tab that will display when any user opens the Situation Room.
By default the tab is Next Steps. You can choose between Next Steps, Alerts and Collaborate.
Click Save Changes to continue.
The Workflow tab is allows you to alter the standard workflow of all Situations.
When enabled this will mirror any actions to the Situation down to its Alerts. Click Enable to continue and then define the scope:
Setting |
Description |
Any unassigned Alerts |
Action will apply to any currently unassigned Alerts in the Situation |
Any unassigned Alerts and any assigned but not acknowledged Alerts |
Action will apply to any unassigned Alerts and any assigned but not acknowledged Alerts |
All Alerts |
Action will apply to all of the Alerts in the Situation |
These settings determine the behavior when closing Situations:
Setting |
Description |
Close Situation and Open Alerts |
This will close the Situation and all open Alerts within it |
Close Situation and Unique Open Alerts |
This will close the Situation and all unique open Alerts |
Close Situation Only (Not recommended for normal operation) |
This will only close the Situation but not its Alerts |
Click Save Changes to continue.
The System Settings tab if where you can set when Cisco Crosswork Situation Manager times out, either with the system default or a custom timeout:
Setting |
Description |
Use System defined timeout |
This is the system default timeout of one hour (60 minutes) |
Custom timeout |
This can be any custom-defined timeout (any time between 60 and 480 minutes) |
Click Save Changes to continue.
The Interface Settings section is where you configure the default time format, landing page and theme for the Cisco Crosswork Situation Manager interface.
Setting |
Input |
Description |
Default time format |
US (hh:mm:ss MM/DD/YYYY) |
The default time format that will apply throughout Cisco Crosswork Situation Manager |
Landing page |
Summary* |
The default landing page that will open when you launch Cisco Crosswork Situation Manager or click the Cisco logo in the top left corner. |
Default theme |
Light* |
The color scheme of Cisco Crosswork Situation Manager (dark or light). |
Allow users to select theme |
Boolean |
Allows users to select their own color scheme. Enabled by default. |
Default time zone |
Use Client Time Zone* |
Defines the default time zone for new users logging in to Cisco Crosswork Situation Manager. The default 'User Client Time Zone' means Cisco Crosswork Situation Manager adopts the local time zone. |
Allow users to select time zone |
Boolean |
Allows users to set their own time zone under the My Account settings. Enabled by default. |
Select Custom Logo |
- |
Upload an image such as a logo so display on the login page and on the top bar of the workbench. |
Note: These are the default settings for Cisco Crosswork Situation Manager
Click Save Changes to continue.
You can upload a custom image such as a company or brand logo to appear on the login page and on the top bar of the workbench.
Click Upload and select the desired image file from your computer. Click Save Changes for the changes to be applied.
Note: Currently only PNG, JPG and GIF files up to 5MB in size are supported
Clicking the image will take you to the default or configured landing page.
Link Definitions is where you can make links available directly in Situation and Alert Views using Situation and Alert data and custom_info.
This is useful for linking directly to a corresponding ticket on a third-party system.
To create a new Link Definition, click the + icon in the bottom left corner.
Fill in the three available fields to define the Link Definition:
Field |
Input |
Description |
Name |
String (Mandatory) |
This is the text name that will appear in Situation/Alert column configuration. |
Link |
String (Mandatory) |
This is the destination of the link including any query terms. There is no limit to the number of characters. |
Display |
String (Optional) |
This is the text that will appear in Situation and Alert Views when the link definition is used. |
Note: The Link value can contain a $ reference to Alert or Situation fields. Display fields only allows $value substitution.
The screenshot below illustrates a link definition to carry out a Google search on the $value query term. When used in a Situation or Alert column, it displays a link "Google <$value>".
Probable root cause (PRC) for Cisco Crosswork Situation Manager is enabled by default. This means that you can mark Situation Alerts as having a root cause or not and Cisco Crosswork Situation Manager will show a root cause estimate in Next Steps in the Situation Room.
Navigate to System Settings > Configure & Retrain to enable or disable PRC.
To configure which users can mark Alerts for PRC, go to Security > Roles. Select the role you want to edit and under Permissions, move 'prc_feedback' to 'Selected' using the direction arrows.
This permission is enabled for Administrator and Super User roles by default.
The PRC Model gives each Alert within a Situation a root cause estimate. Retrain recalculates the estimates with the current data.
You can choose which features your model uses when predicting the root cause of an Alert. The default PRC configuration uses two types of Severity. The other features are listed below:
Feature |
Description |
Agent |
The agent of the Alert represented as an enumeration. Each value of 'agent' is considered to be independent from all other values |
Alert Arrival Order |
Represents the arrival order of the Alert in a Situation |
Alert Time |
Represents the Alert time as the components of the 'time of day' e.g. hours of day, minutes of hour |
Class |
The class of the Alert, represented in a way that identifies naming conventions in the class name |
Description |
Tokenises the description into words and uses those words to identify key words and phrases that may indicate root cause |
Host |
The host of the Alert, represented in a way that identifies naming conventions in the class name |
Manager |
The manager of the Alert represented as an enumeration. Each value of 'manager' is considered to be independent from all other values |
Severity & Arrival Order (default ) |
The severity of the Alert represented as independent values and when the alert arrived for each value of severity. For best results use in conjunction with 'Severity Raw' |
Severity Enum |
The severity of the alert represented as independent values. For best results use in conjunction with 'Severity Raw' |
Severity Raw (default) |
The severity of the alert represented as a continuous value such that 'Warning' < 'Major' < 'Critical'. For best results use in conjunction with 'Severity Enum' or 'Severity & Arrival Order' |
Situation Alert Time |
Represents the Alert time as the components of time e.g. hours of day, minutes of hour but relative the first event in the Situation |
Type |
The type of the Alert, represented in a way that identifies naming conventions |
To clear all feedback from your Cisco Crosswork Situation Manager instance, click the Reset button.
Administrators can use Self Monitoring to view the status, health and processing metrics of the Cisco Crosswork Situation Manager processes. The different tabs show the state of Processing Metrics, Event Processing, Web Services, Event Ingestion and Message Bus.
Heartbeats are one of the key concepts in Self Monitoring. A heartbeat is an internal message sent by a process every 10 seconds to inform Self Monitoring that it is still running.
All data displayed in this screen is live and updates continually.
The table below describes the possible states for a package:
Icon |
Description |
|
The process is running (reserved or unreserved*) |
|
The reserved process has missed some heartbeats. This could indicate a potential problem and should be investigated |
|
The reserved process is either not running or has missed its last heartbeat. This could indicate the process has failed, has not started or that Cisco Crosswork Situation Manager is not working properly |
|
The unreserved process is not running |
|
The process is in passive mode. This is for High Availability deployments only. See High Availability. |
Information: You can set processes reserved or unreserved in the system.conf file ($MOOGSOFT_HOME/config/system.conf). If a package's 'reserved' setting is 'true', the self monitoring reports a warning if the package is not running. Stopped unreserved processes do not generate warnings.
There are a number of controls which appear in Self Monitoring can be used to stop. start and restart moogfarmd and the LAM services. These are as follows:
Button |
Description |
|
Restart |
|
Stop* (see note below) |
|
Start |
These can be configured by users with Super User permissions.
Information: Stop will only work if moogfarmd is started and running as a process rather than a service
The Self Monitoring screen is divided into five tabs. Each section will display the states of the various processes, indicating which are running or which have issues:
This tab, which is open by default when Self Monitoring is launched, displays Event processing times and other metrics.
The icon in the top left corner indicates the overall state of Event processing, this is determined by the Current Maximum Event Processing Time in seconds.
This time is indicated by the position of the gray bar on the colored bullet graph shown below. The Current Maximum Event Processing Time is 1.917s in this example:
The default bullet chart color values are as follows:
GREEN (0 - 10 seconds) Good performance
YELLOW (10 - 15 seconds) Marginal performance
RED (15 - 20 seconds) Poor performance
The time values are configurable in the web.conf file.
To use the Processing Metrics tab, open the LAMs and moog_farmd folders and look for deviations from normal values.
The numeric value itself may not be an absolute measurement of health, so as a general rule, look for unusual or sudden changes in the values or behavior. See the examples below:
■ If a particular LAM becomes a data flow bottleneck, expect to see substantial increases in the values for the Message Queue Size and/or Socket Backlog metrics for that LAM. This leads to an increasing Event Processing Time for the appropriate moog_farmd (which is expecting data from the LAM)
■ If an AlertRulesEngine in a moog_farmd instance becomes a data flow bottleneck, expect to see a substantial increase in the Message Backlog and possibly the Messages Processed decreasing for that AlertRulesEngine. This also leads to an increasing Event Processing Time for the moog_farmd
Both of these result in the bullet chart (at the top) showing increasing Current Maximum Event Processing Time, from green to yellow to red.
This tab contains a process group including moog_farmd (the core Cisco Crosswork Situation Manager application) and the Moolets (AlertBuilder, Alert Rules Engine, Sigalisers etc.)
The icon in the top left corner indicates the overall state (running normally in the example above).
The group and cluster names are displayed in the top right corner. The time and date of the last heartbeat is displayed above the list of Moolet processes.
This tab contains all processes related to Tomcat web applications: moogsvr, moogpoller, toolrunner and Graze.
Each row will display the following information:
Column |
Description |
+ |
Click this button to expand or collapse the row for further information. E.g. 'No reported problems' |
State |
This will show an indicator icon showing whether the process is running as normal or not |
Process |
The name of the Cisco Crosswork Situation Manager component |
*Instance |
The name of the instance (in High Availability there are multiple instances of Cisco Crosswork Situation Manager) |
*Group |
The name of the Process Group the component belongs to |
*Cluster |
The name of the Cluster the component's Process Group belongs to |
Last Heartbeat |
The time of the last received heartbeat. A heartbeat indicates a health component |
· Information: These only apply to High Availability deployments where there are more than one instance of Cisco Crosswork Situation Manager and its component processes.
This tab displays information about the state of all processes relating to the LAMs and the individual processes which process raw data and create events.
The controls in the far right column can be used to stop and restart active LAM processes or to start inactive LAMs.
The final tab provides a link to the Message Bus Console, also known as the MooMs (Cisco Messaging System). This is hosted by message-queueing software RabbitMQ.
Click the link to proceed to the RabbitMQ management console.
Note: The username and password to login are specified and can be configured in $MOOGSOFT_HOME/config/system.conf (under mooms.username and mooms.password in the JSON) & correspondingly in RabbitMQ. For more information see Message Bus.
Once logged in, RabbitMQ will display information about message rates, connections, channels and queued messages etc.
The 'Restart/Stop/Start' feature uses the moogfarmd/LAM service scripts under /etc/init.d (eg: /etc/init.d/moogfarmd and /etc/init.d/logfilelamd) in combination with the apache-tomcat 'toolrunner'.
Note: You will need Super User role permissions to configure this feature of Cisco Crosswork Situation Manager.
A user needs to be present on the system which is in the 'cisco' group and this is the user that must be used by the toolrunner and the services in order to start/stop services via the UI. e.g.:
■ /etc/init.d/moogfarmd - PROCESS_OWNER set to 'controluser'
■ $APPSERVER_HOME/webapps/toolrunner/WEB-INF/web.xml - toolrunneruser set to 'controluser' (toolrunnerpassword needs to be the password for that user)
Information: We would recommend that you do not use the default 'cisco' user because that is a system user and does not allow you to login using password.
Update the /etc/init.d/ service scripts to have the correct:
■ SERVICE_NAME (to make the services unique)
■ PROCESS_OWNER (must be the same user as the toolrunner user)
■ INSTANCE/CLUSTER/GROUP (unless already configured via relevant the LAM/farmd/system.conf config file). These need to be provided to the 'daemon' lines as command line parameters. e.g.: --instance MY_INSTANCE --group MY_GROUP--cluster MY_CLUSTER
Add the name of the service script into the 'service_name' field in $MOOGSOFT_HOME/config/system.conf for that Cisco Crosswork Situation Manager process. To ensure the service appears in the right Self Monitoring tab, the process_type field must be set. See the default system.conf file for examples.
Note: If a moogfarmd service or LAM service is run that does not match a configuration block in system.conf/'processes', then it will still appear within the UI 'Self Monitoring' dialog, but it will not be possible to start/stop/restart the service.
The 'toolrunner' is used to control the services (requires configuring $APPSERVER_HOME/webapps/toolrunner/WEB-INF/web.xml):
■ The 'toolrunneruser' must match the PROCESS_OWNER specified within the relevant service script. This is because only root can run services as a different user
■ The 'toolrunnerpassword' must be the password of the 'toolrunneruser'
■ The 'toolrunnerhost' value must match the host of the machine which contains the moogfarmd/LAM services and the PROCESS_OWNER user
It is more likely that an existing LAM/farmd service will have been run already in upgrade scenarios. If the service is one which needs to be controlled via the UI, then the service log file and PID (if present) need to be 'chowned' to the new service script PROCESS_OWNER/toolrunner user before it will work. e.g.:
See the example of a $MOOGSOFT_HOME/config/system.conf file below:
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
All printed copies and duplicate soft copies are considered un-Controlled copies and the original on-line version should be referred to for latest version.
Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices.
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
All printed copies and duplicate soft copies are considered un-Controlled copies and the original on-line version should be referred to for latest version.
Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
© 2018 Cisco Systems, Inc. All rights reserved.