How to customize pattern for populating firmware version for cisco devices

Ganeshm1
Tera Guru

Hi All,
Hope you are doing good. 

We are in the process of discovering network devices and found that SNMP-Classify sensor was customized to populate the firmware version of Cisco and Fortigate devices with the below piece of code. 

 

Ganeshm1_0-1744728305124.png

Because of this customization, discovery is throwing error. When we reverted it back to OOB version, discovery worked as expected.

Now we want to populate firmware version value from pattern. Can anyone help me what steps we have to configure in pattern to bring this value. 

Please let me know your thought on this. Thank You!

 

Best Regards,
Ganesh

1 ACCEPTED SOLUTION

Ganeshm1
Tera Guru
3 REPLIES 3

Ganeshm1
Tera Guru

Hello @Pratiksha  
Thank you for your reply. I gone through the above article but I didn't get the logic to utilize the same for router or switch in my case. 

Could you please help me by providing some detailed info by looking at the script which I mentioned in second screenshot of my question. I am bit new to the pattern customization, so not sure how to achieve this. 

Ganeshm1
Tera Guru

Found the below kb article and it helped me to solve the issue

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1156537