The CreatorCon Call for Content is officially open! Get started here.

How to Distinguish Core, Distribution, Access Switch in CMDB

FriendlyDude
Tera Contributor

Hi All,

 

In cmdb_ci_ip_switch, we don't have a clear way to distinguish IP Switches aside from the naming convention, but the naming convention won't be enough as it could easily be misread or overlooked. 

 

Is there any way to easily distinguish these IP Switches especially for generating Reports or Queries?

Regards!

5 REPLIES 5

Bhuvan
Mega Patron

@FriendlyDude 

 

You can add additional choice lists for 'device type' as per your requirement rather than creating new class or new field. You can map the CIs to correct device type and use it in query builder or reports/dashboards easily.

Bhuvan_1-1757914476020.png

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Let's say I have implemented this in our instance, I would assume that it would require manual process to update the switches to its correct device type. Is there any way this could be automated?

 

@FriendlyDude 

 

I can think of 2 options, 

 

1. Create an after Business Rule that can uniquely identify device type [manufacturer, description etc.,] and once record is inserted/updated in IP Switch table, update the field 'device type' based on your requirements

 

2. Customize the discovery pattern to populate the device type as per your requirements

 

https://www.servicenow.com/docs/bundle/zurich-it-operations-management/page/product/service-mapping/...

 

This is not recommended option as it creates technical debt and modifies out of box pattern

 

If these options do not work and number of updates are minimal, look at option of manual update. Create a ACL to allow create/update only for admin or specific role so that discovery does not overwrite the value on next discovery.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

@FriendlyDude 

 

Did you get a chance to review this as I believe the information provided should answer your question

 

If my response helped to guide you or answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan