Heuristic Packages
Service Health uses Heuristic Packages as the core logic to monitor and report the health of services. Heuristic Packages define a list of rules, configuration profiles, supported subservices, and associated metrics for each service type.
To access the Heuristic Packages, select from the Main Menu.
The Heuristic Packages page has two tabs: System and Custom. The default set of Heuristic Packages provided with Service Health is called system packages. These packages are available in the System tab and cannot be modified. To modify a system package, export it, make your changes, and import it as a custom package that matches your preferences.
You can view the custom packages in the Custom tab.
Expand each section on this screen to see more details on monitored services and the thresholds used to generate alerts. For finer details and definitions, hover your mouse over the information i icon.
-
Rules: Rules are used to structure services and the dependent subservices and metrics within a specific service type. Dependencies within these rules help define the subservices and the metrics that are required to generate the data used to assess the health of the service. A service can depend on an individual subservice, a list of subservices of the same type, or subservices of different types.
For a list of rules supported in Service Health, see Basic and advanced monitoring rules, subservices, and metrics.
-
Configuration Profiles: Configuration Profiles define threshold values that act as benchmarks for assessing the health of the service. By setting specific threshold values, Configuration Profiles establish the criteria for determining when a monitored parameter is within an acceptable range or deviates from the norm.
The system heuristics package in Service Health includes two configuration profiles—Silver and Gold—for each service type (L2VPN and L3VPN). You can choose a profile option that aligns with your specific monitoring requirements. A Silver profile has more lenient thresholds than a Gold profile. You can create custom configuration profiles as needed.
-
Sub Services: Sub services are characterized by a list of metrics to fetch and a list of computations to apply to these metrics in order to produce a health status and associated symptoms for the service.
For example, the subservice subservice.evpn.health monitors EVPN health. It is dependent on the metric metric.l2vpn.xconnect.pw.state. It evaluates an expression to check if evpn_state is Up. If the state is degraded, it raises a symptom.
For list of subservices supported in Service Health, see Supported VPN services with associated subservices.
-
Metrics : Metrics define the operational data that should be fetched from different device types. Service Health uses a metric engine to map device-independent metrics to device-specific implementations, supporting multiple combinations of platforms and operating systems.
For example, fetching the metricresource.cpu depends on the device type. For Cisco IOS XR devices, it uses Model-Driven Telemetry (MDT), while for Cisco IOS XE devices, it relies on CLI scraping using the command
show platform resources.
Rules, Configuration Profiles, Sub services, and Metrics have a hierarchical relationship. Each Rule is mapped to a service type and depends on several subservices to compute service health. Subservices use metrics, and configuration profiles set threshold values for the metrics. Service Health assesses the health of the service using these values and then builds the Assurance Graph.

The service and subservice dependency example illustrates the hierarchical relationship between Rules, Sub services, and Metrics.
Customize the Heuristic Packages
The Heuristic Package bundled with Service Health functions as an assurance model for monitoring L2VPN and L3VPN services. However, the configurations of underlay and overlay networking services may vary across deployments. The Heuristic Package can adapt automatically to certain configuration variations, but other variations cannot be seamlessly absorbed. These variations include changes in the service function pack model, introducing a new device type in VPN service deployment, or adding new network features that require monitoring. In these scenarios, you may need to customize configuration profiles, rules, metrics, or subservice class definitions.
Refer to the section Create the custom Heuristic Package for a basic example of how to create a custom package by customizing the configuration profile for a service. For details or help building a custom package based on rules, metrics, or subservices, contact the Cisco Customer Experience (CX) team or your Cisco account team.

Feedback