UCMDB and UD Practitioners Forum (Previously CMS)
Showing results for 
Search instead for 
Do you mean 

Force discovered device names to uppercase

Force discovered device names to uppercase

[ Edited ]

Is there a way to make the UCMDB force device names and server host names to uppercase when they are discovered or rediscovered?

 

 

P.S. This thread has been moevd from Application Perf Mgmt (BAC / BSM) Support and News Forum to CMS and Discovery Support and News . - Hp Forum Moderator

6 REPLIES
Honored Contributor

Re: Force discovered device names to uppercase

I suppose you need to change this in discovery pattern rules. Modify the package script to return the name field in upper case.

-Raj

Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.

Re: Force discovered device names to uppercase

Good idea Raj, I'll try that and post my results. Thanks for your time.
Super Advisor

Re: Force discovered device names to uppercase

I can be mistaken, but I will assume that Enrichment rule also can help.

Alexey.
Best regards,
Alexey
Valued Contributor

Re: Force discovered device names to uppercase

Very simple solution, Go the CIType manager choose the attribute "Name" or "Display Label" and select the UpperCase. It will make sure that newly created device has a uppercase.

For the devices which are already discovered you need to make use of enrichment which is one time job.

Regards,
Nagendra Swamy

Re: Force discovered device names to uppercase

@NagendraPaladi
Thanks for your input. I'm not to enrichment rules, so I'm not quite sure how to create such an enrichment rule. Could you possibly provide some more insight please?

Thank you!
Honored Contributor

Re: Force discovered device names to uppercase

I do think that you need to do it a bit differently.
Adding "Uppercase" wouldn't give to much of a relief.
So, you need to do the following:
* Export the CIT definition to the file system (XML)
* Modify it by adding DDM_AUTOUPPERCASE qualifier on the attribute you need
* Import it back to the UCMDB

It will enforce the data to be automatically uppercased when it is sent from discovery to UCMDB.

Regards,
Alex
//Add this to "OnDomLoad" event