Roles/Sub Roles New/Edit Wizard
Role Editor Library features a role and sub roles wizard ( menu [
,
]) used to add and edit the model needed to classify device roles and sub roles. Role and sub role assignment determine monitoring and management characteristics for a given device.
: Discovery and refresh scan performance can be slower if you apply many new role definitions with large and complex scan rules.
Within the wizard, you can apply the following rules, settings, and characteristics:
. Name, select an icon, and provide a weight or 'confidence' for this role classification.
- . Role label and customizable icon.
- . Optional description. Describe the purpose for the role.
- . Indicates if role is the same as the built-in role (Default), a variant of the built-in role (Modified), or entirely user defined (Custom).
- . Consider this weight or rank of precedence when deciding the most suitable role choice between two or more role matches.
- . Consider this a device that handles or directs network traffic and add the appropriate performance and interface monitors to it.
. Create rules that delegate device role based on host, system, or management object (MIB) strings, values, and attributes.
Rules tab of the Roles wizard provides building blocks used to build a table of device detection rules. For example, you can combine detection rules to build an expression that excludes and/or checks for specific management objects (SNMP, WMI), system characteristics, or host attribute values.

: As a practical guide for choosing and combining device detection rules, you can browse default rule sets (rules shipped within WhatsUp Gold). You can find more detailed rule sets applied in default sub roles.
Examples
. (Sub Roles Wizard only) Consider these roles as candidates for the current sub role definition.
Select a generalized role class to apply (given the conditions of the Scan Rules expression is satisfied).
- .
Add a monitor from the monitors library to this role definition. - .
Remove a monitor from this list.
Your role inherits default characteristics from this class such as discovery attributes and default monitors you can modify later.
. (Roles Wizard only) Sub role label(s) to apply based on the rules match.
Select a generalized sub role to apply (given your Scan Rules).
- .
Add a monitor from the monitors library to this role definition. - .
Remove a monitor from this list.
. Use system, host, and MIB values as attribute data within WhatsUp Gold.
When you define roles, you can configure your role definition to hold system and host attributes.
- .
Add an attribute using discovery percent variable syntax. - .
Edit an attribute. - .
Remove an attribute from this role definition. - . Reduce attribute list to the default based on the suggested role.
: Host and system attributes can be viewed from device properties and viewed, scheduled, and distributed as Attribute Reports.
Examples
. (Roles Wizard only) Associate web-browsable resources with this device.
Define a custom link and apply it to the discovered device. You can customize for each device using discovery percent variable syntax.
- .
Add a custom link. - .
Edit a selected custom link. - .
Remove the link.
: Custom Links can be tabulated and distributed as Custom Link reports.
Examples
Add link for viewing web role or web service running on current device.
http://%Discovery.Device.Name.example.com:80
Add link to manage vCenter using vSphere web client.
https://%Discovery.Device.Name.example.com:9443/vsphere-client
. Include WhatsUp Gold monitor's to associate with this role and apply when promoting to MY NETWORK.
- .
Add a monitor from the monitors library to this role definition. - .
Remove a monitor from this list. - . Reduce monitor list to the default based on the suggested role.
. (Roles Wizard only) Associate device role with Action Policies to govern reaction to triggered thresholds and observed monitor state changes.
Action Policies bundle Actions and Notifications. Actions and Notifications are typically triggered by a condition or threshold observed by a monitor. You can combine Action and Notification building blocks as a way to implement a policy that governs selected devices and device roles.
In WhatsUp Gold Action Policies typically trigger any of the following:
Examples of site actions bundled to implement action policies might be:
- Notifying application management engineers when production devices transition state (for example from maintenance mode to up)
- Applying approved configuration to a device found out of compliance (a default password is detected, anomalous port opened or traffic detected)
- "Activating" (reconfigure and restart) a backup host device whenever a primary fails
- Restarting "non-responsive" critical services (an FTP or log server, for example)
: You can also create and apply powerful policies which enforce configuration record versioning and device configuration alignment using WhatsUp Gold Configuration Management policies.
Creating Action Policies
Begin by creating a list or matrix of critical state change events, appropriate actions, and the chain of responsible individuals for your site.
Example: Device Recovery Matrix
Policy: Internal Service Level Agreement
Device recovery actions
The following matrix shows the sequence of WhatsUp Gold managed controls (thresholds and states coupled with actions) rolled into an example action policy called "Internal Service Level Agreement."
Event
|
Actions
|
Notification
|
Device crash and reboot or forced reboot after n seconds.
|
Run recovery action scripts.
- Verify network (NIC) connectivity.
- Verify application service connectivity.
- If application service verification fails, trigger failed web service role policy.
|
- Data center team notification.
- On call services engineers notification.
- Notification attachments
- Event log report.
- Follow on with availability reports.
|
Failed web service role policy.
(No response or after n milliseconds to application service active monitors from WhatsUp Gold pollers.)
|
Remove web service role endpoint from the "load balancer" configuration.
Add to WhatsUp Gold maintenance mode.
|
- Data center team notification.
- On call services engineers notification.
- Product owner notification with availability reports.
|
Failed node.
Symptoms: External NIC or management NIC not responding, remote execution failure, remote write failure, kernel panic.
|
Run failed node recovery action.
|
- Data center team notification.
- Notify closest data center engineer.
|
- Create an Action type from the Actions Library.
Example: Test Connectivity/Remote Execution
- Click the new button, then select (for Linux/UNIX, select ).
- Add syntax for remote login to the device in the script text box.
- Create the Action Policy.
Example: Combine with Notification Schedule and Roll Test into Action Policy
- Add a notification action you created according to your site's notification hierarchy.
- Add the PowerShell action you created.