- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 09:56 AM
I figured out the trick to this with a little help from SN Utils a few weeks ago.
First of all, get SN Utils. It's just a fantastic browser plugin.
Then you will need to change the Inclusion condition to use Condition builder v2 so that you can paste in the Principal CI javascript.
Now do the following:
1. Navigate to CI class manager > configuration items > health > inclusion rules
2. Create new rules that applies to cmdb_ci with for desired metrics. Save record
- Right click on inclusion condition and select the option to configure the dictionary
- Add this text to the attribute without the quote marks: 'condition_builder=v2'. Save record.
- Return to previously created inclusion rules.
3. Open each rule and complete the following:
-->Double click on inclusion condition to open SN Utils
-->Replace existing text with sys_class_nameINjavascript:new PrincipalClass().getPrincipalClasses()
- This is where SN Utils is useful, it's the only way I know to force the condition operator to be blank.
-->Add other conditions like install status exclusions to fit your needs.