Health Rules for Cloud Load Balancer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 11:37 AM
I am sharing the ask to implement as below with user acceptance please help me in complete this request step by step:
Cloud Load Balancer
As a CMDB Manager, I would like to add the health rules for Cloud Load Balancer to view the CMDB Health Dashboard. Below are the requirements for Health rules for Cloud Load Balancer (cmdb_ci_cloud_load_balancer)
Filter condition to include in all rules:
- Condition: installed status = installed
- Discovery Source is SNAssetManagement or ServiceNow
Completeness:
1. Required attributes:
- Name
2. Recommended attributes:
- Object ID
- Support Group
Correctness
- Staleness
- Applies to: cmdb_ci_cloud_load_balancer
- Effective Duration: 45 days
- Orphan
- Applies to: cmdb_ci_cloud_load_balancer
- Relationship – Hosted on: Any relationship to Any Class
Compliance
Filter
Name: PEP_Filter_SupportGroup_CloudLBalancer
Install status is installed
Template: PEP_Validate_SG_CloudLB
- Support group.manager.active is TRUE
- Support group.Active is TRUE
Audit
- Name: PEP_Validate_SupportGroup_CloudLB
- Create task – TRUE
- Run- Monthly (1st day of Month)
- Short Description: Validate Support Group and Manager for Cloud Load Balancer.
- Task description: Remediate the task created for Cloud Load Balancer with inactive Support Group or Manager
Health inclusion rule: - Table: Cloud Load Balancer [cmdb_ci_cloud_load_balancer]
- Condition: installed status = installed
Task assignment group:- Tasks should be assigned to configuration.management.cLOUD LOAD BALANCER
Health Preferences:
Completeness - Required: 20
- Recommended:80
Correctness - Duplicate: 40
- Orphan: 40
- Stale:20
and Acceptance Criteria is
- This story is completed when following has been achieved:
- The health results for the IP Switch are to be visible from CMDB view of Health Dashboard by selecting Network Gear Class.
- All the health results including Completeness, Correctness, and Compliance are displayed, and the results for Operational Network devices.
- Tasks should be assigned to Hardware Asset Management If created by field is “system” and “Discovery Source” is SNAssetManagement, otherwise assigned to configuration.management.network.gear only for Completeness rule
- Tasks should be assigned to configuration.management.network.gear for correctness and compliance rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 07:55 AM
Hi @ayush_g ,
You have to navigate to configure in CI Class Manager in Health Rule Preferences I've broken it into 7 logical steps, covering setup, configuration, health rules, audit, and assignment.
Step 1: Identify and validate the CI class
* Confirm that you have the cmdb_ci_cloud_load_balancer class in CMDB.
* Validate that Discovery / SNAssetManagement is populating this class.
* Ensure CIs have install_status = Installed and correct discovery source.
Step 2: Configure CMDB Health Completeness Rule
Filter conditions (applies to all):
* install_status = installed
* discovery_source IN SNAssetManagement, ServiceNow
Create Completeness Rule:
Table: cmdb_ci_cloud_load_balancer
Name: PEP_Completeness_CloudLB
Required attributes (Weight: 20):
* Name
Recommended attributes (Weight: 80):
* Object ID
* Support Group
Task assignment:
* If created by = system AND discovery source=SNAssetManagement → assign to Hardware Asset Management
* Otherwise → assign to configuration.management.CLOUD LOAD BALANCER
Step 3: Configure CMDB Health Correctness Rules
a) Staleness Rule:
Table: cmdb_ci_cloud_load_balancer
Effective duration: 45 days
Weight: 20
Task assignment:
→ assign to configuration.management.CLOUD LOAD BALANCER
b) Orphan Rule:
Table: cmdb_ci_cloud_load_balancer
Relationship: Hosted on → Any relationship to Any class
Weight: 40
Task assignment:
→ assign to configuration.management.CLOUD LOAD BALANCER
Step 4: Configure CMDB Health Compliance Rule
Compliance Filter:
Name: PEP_Filter_SupportGroup_CloudLBalancer
Table: cmdb_ci_cloud_load_balancer
Condition: install_status=installed
Compliance Template:
Name: PEP_Validate_SG_CloudLB
* Validate:
* Support Group.manager.active = TRUE
* Support Group.active = TRUE
Weight: 40
Task assignment:
* → assign to configuration.management.CLOUD LOAD BALANCER
Step 5: Configure Audit Rule
Name: PEP_Validate_SupportGroup_CloudLB
* Create Task: TRUE
* Schedule: Monthly (1st day)
* Short Desc: Validate Support Group and Manager for Cloud Load Balancer
* Task Desc: Remediate tasks for inactive Support Group or Manager
Health Inclusion Rule:
* Table: cmdb_ci_cloud_load_balancer
* Condition: install_status=installed
Task assignment: configuration.management.CLOUD LOAD BALANCER
Step 6: Configure Health Preferences
Completeness:
* Required: 20
* Recommended: 80
Correctness:
* Duplicate: 40
* Orphan: 40
* Stale: 20
Step 7: Validate against Acceptance Criteria
✔ Health results visible in CMDB Health Dashboard under Network Gear Class (include cmdb_ci_cloud_load_balancer as child in Network Gear if needed).
✔ Health dashboard displays Completeness, Correctness, Compliance for these CIs.
✔ Tasks assignment logic:
* Completeness: created by system & discovery source=SNAssetManagement → Hardware Asset Management
* Otherwise: configuration.management.Network.gear (or configuration.management.CLOUD LOAD BALANCER as per setup)
* Correctness & Compliance: configuration.management.Network.gear
Step 8: UAT / User Acceptance
* Run CMDB Health dashboard → confirm rules trigger & correct task assignment.
* Verify tasks get created as per logic.
* Confirm health scores reflect expected %.
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thank You
AJ - TechTrek with AJ
LinkedIn:- https://www.linkedin.com/in/ajay-kumar-66a91385/
YouTube:- https://www.youtube.com/@learnitomwithaj
ServiceNow Community MVP 2025