Discovery Pattern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 07:20 AM
Hi Experts,
I am using Snmp query to fetch the data from the MIB, When i get the data i am receiving the data in the table form. So i used table instead of scalar to get the data. How can i populate the data in the cmdb_ci_storage_server table in a particular attribute.
Please help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 07:35 AM - edited 07-27-2023 07:38 AM
I belive you are creating an extension to the pattern. (if not then please delete it and create an extension)
Once you are getting the data from the mib you should check how they are inserting (servicenow) inserting data in the table.
I have done a similar thing when I have to populate an alias in the network switch.
1) You need to do the merge option (the value you are getting from mib and the target table) here the target table will be mostly an already created temp table in the discovery section of oob pattern)
2)Transform option between the temp table and target table (CMDB table)
3)Remove duplicate and filter empty record
Ps Check the discovery section (of oob pattern) you will get an idea of how to do it.
Best of luck. Do mark my reply as helpful if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 08:00 AM
Try this way once and see if it sets the specific field you need without overriding the whole table.
In a new step select "Set Parameter Value" option and give "cmdb_ci_storage_server[1].<put CI field name you would push>" [Ex: cmdb_ci_storage_server[1].name like this] in "Name" field and provide the "Value" field with the variable holding it per your logic.