Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Populating Model ID Information via Patterns

Shantanu1
Tera Guru

Hi Experts!

Need your assistance 🙂 

I have created a custom pattern for the Nasuni Appliances, which are discovered via SNMP Credentials & the records are populated in the Storage Server Class. I am using the SNMP Classifier and the custom pattern is triggered via the same.

I have added the steps in the pattern to populate the Model ID & Manufacturer information to the CI record, but for some reason the manufacturer info is there on the CI  record but not the Model ID. I am avoiding to hard set the information in the OID Classification as the values are dynamic and can change. Please assist 🙂

 

Thanks,

Shantanu

1 ACCEPTED SOLUTION

doug_schulze
ServiceNow Employee
ServiceNow Employee

Are you doing a lookup against the man/mod table and inserting the sysID?  I talk about that here..

View solution in original post

8 REPLIES 8

doug_schulze
ServiceNow Employee
ServiceNow Employee

Are you doing a lookup against the man/mod table and inserting the sysID?  I talk about that here..

Thanks for your response Doug! That was really helpful!, I was missing to step to look up the value and was passing info in strings to a reference field!

Emil J_ Heigren
Tera Contributor

Hi Shantanu 

I am interested in your solution for discovering Nasuni Appliances.

Would you be willing to share the pattern? 

Hi Emil, 

Firstly I apologize for my delay in responding. The solution I implemented was creating a custom pattern mostly build around utilizing the MIB file provided by Nasuni. I populated the CI records in the "Storage Server" Class, again we can change the class as per business requirements

Below are the steps I followed

1).Creating an SNMP v3 credential for the Nasuni Appliances.

2). Loading the MIB File on the table ecc_agent_mib.list

3). Creating an SNMP OID Classification, as per the OID response in the output payload of a discovery scan. (Model & manufacturer is optional, we can update reference fields via the pattern using pre-post processing script. Creating new SNMP Classification ("discovery_classy_snmp" table) to trigger the custom pattern.

4).Creating custom pattern, the pattern works on querying the Nasuni MIB and populating the information.

Steps for name : 

 

operation SNMP query, query the SNMP OID for name in a variable, then set the variable as a parameter value for name.

similar process for serial number, model, manufacturer. etc.

 

Please let me know if the solution works and can provide more assistance.

 

Thanks,

Shantanu