How to stop certain models creating CI's?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2016 09:43 AM
Hi,
Please see the below example of some of our model category's. I would like to stop some of these models creating assets when made a CI and visa versa. I am unable to remove the CI class or Asset class due to security restrictions (yes I am have role admin). How am I supposed to break this relationship?
Thanks, Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2016 10:37 AM
Tom,
Select the ones you don't need from the List view and then delete them
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2016 11:27 AM
HI Mani,
what is the effect to to CI's or Assets of these model types? Are they deleted also? I want to keep the model category just not create both CI and asset records for all.
Thanks, Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2016 12:10 PM
Hi Tom,
You would need to make some adjustments to the Business Rules on Asset and CI, I think. Here are the three BRs involved in maintaining sync between Assets and CIs:
- Create CI on insert (from a new Asset record)
- Create Asset on insert (from a new CI record)
- Create asset on model change (from changing the model on a CI)
You could add a flag (true/false) field to your Models table to indicate whether to ignore autocreation of an asset/ci, and then insert some code in each of these three BR's to perform a check for this flag in and abort creating the new item if true.
Also, you would probably need to update these BRs as well that are used to keep the assets/cis in-sync:
- Update CI fields on change ([alm_asset])
- Update Asset fields on change ([cmdb_ci])
Thanks,
-Brian
Edit: In setting up Asset management, we went the route of ONLY creating CI's from new Assets and not the other way around. I just disabled the BR's (Create Asset on insert/Create asset on model change) and edited the BR's that handle syncing between Asset<-->CI to only flow one-way. It has worked without any issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2017 07:57 AM
Brian-
I know this is a dated thread but i was hoping i could pick your brain a bit on how you did your asset mgmt implementation. We only want to generate assets from manual additions and not automatically from CI scanning. I've disabled the BR's but yet our nightly Altiris scan continues to add assets. I was hoping you might have some suggestions.
Thanks!
