doug_schulze
ServiceNow Employee
ServiceNow Employee

Hot on the heels of the simple SNMP classifier video I did '8' years ago 🙂 (don't hate, sometimes sequels take a while..heh). I just put together building another simple SNMP classifier video this time using patterns.

In this episode, I not only set up the initial classification using the same process as before but also extend the discovery loading custom (private) MIBs when discovering a Riverbed WAN Accelerator, wrapping all the work in a pattern.

First and foremost, proper credit goes to @ryan.zulli as the genesis of the original probe and sensor setup that many of us use today in discovering these devices and @patrick.decarlo whos (pattern-based) update set I used as a guide in building this video. They've done the good work, I just get to do the video and I learned a lot through the process. And having a (developer) Manager like @Tamir Livneh to lean on for help didn't hurt either.

Expect to go through some trial and error, digging through logs and relying on the docs site and most importantly USE existing patterns as your guide. If you get stuck, look to a pattern that works! Meaning, as I've always done when building my own probes and sensors there was always one OOB that did something similar that I wanted to accomplish in extending discovery.  Do the same here. I used the OOB router pattern for a lot of guidance in understanding where the steps needed to take place in the work here to make it my own.

As it was before, full disclosure I am not video expert and apologize in advance for the quality and novice 'editing' but hey, I'm just a discovery guy trying to make his way and help his friends out there use new features that are available to us in the tool. This is basic, lots of ways to make it more elegant but it 'works' and sometimes that's all we need... 

I'd recommend watching the first one again to get a sense of how it was and watch the second to see ...

 

Enjoy...

 

Related must-reads:

Switching from probes to sensors, something to think about

 

Here again, is the link to an actual "professionally built" update set  to discover the same type of riverbed devices. @Patrick Decarlo is the author and does a lot of extra steps and checks that I cut out to save time on the video but its the kind of good work we all love to share in, thank you Patrick! One difference is he took the script include route to match Mfg/Mod, I used an existing pre post processing script. Both ways work, can't go wrong..

 

 

 

Comments
Notorious BFG
ServiceNow Employee
ServiceNow Employee

Doug - thanks so much for posting this!  Like most of your content I am fully planning on stealing it and using it in a classroom at some point...

Also, now that you've broken the 8-10 year sequel barrier, you're on the hook to finish as a trilogy a la Back to the Future.  I can see it now...

RYAN "MARTY MCFLY" ZULI: "Doug, don't you have to write a bunch more probes to handle this discovery?"

DOUG "DOC BROWN" SHULZLE: "Probes?" flips sun glasses down "Where we're going we do need... probes."

aleck_lin
ServiceNow Employee
ServiceNow Employee

Doug, why do you always rock so hard? 

Andrew Westerv4
Mega Guru

Why Doug why? Why are you so good?!

I actually built all 3 Riverbed (Steelhead, CMC, and Inteceptor) probes/sensors a few years ago after learning from your first tutorial. Now I'm coming full circle with this in pattern form? You know I'm going to have to redo all my SNMP enhancements this way 😄

 

krishsenthil
Tera Contributor

Hi Doug,

Could you help me on the Oracle Exadata Discovery . I think OOB Pattern not support the Exadata discovery . Any material regarding hexadata discovery .please share link .

 

Thanks,

Senthil

doug_schulze
ServiceNow Employee
ServiceNow Employee

Sorry, I dont have anything around Exadata.. and you are correct we do not discover these types of systems OOB , you'll be creating it from scratch.

krishsenthil
Tera Contributor

Thanks @Doug.schulze Let me try to create pattern from scratch  🙂

 

bryceclodfelter
Giga Contributor

Ahh, Exadata. Just an FYI, Oracle licensing does not allow for much penetration into the Exadata system. They are very much against you running code against it. 

Cinthya Reatig4
Tera Contributor

You are my hero, man.

cyked
Mega Guru

@doug.schulze 

@Patrick DeCarlo 

 

is the update set still available?  Missing from Doug's link.  Thanks!

akashfinning
Tera Contributor

I am really thankful to you @doug_schulze for putting everything for us. Your efforts few years back are now still useful for us today. However, I got stuck to a point while creating pattern on steps 2 setName, after debugging I am seeing the debug has been failed. In background I checked Discovery logs and it's same like after SNMP classification Discovery completed. I am not getting the temporary variables as you are getting in video. Can you please help me?
One thing I am wondering if the device is undiscoverable after SNMP classification which I was getting earlier before implementing your idea, how debug mode will bring all those temporary variables.

akashfinning
Tera Contributor

akashfinning_0-1681988524180.png

 

VaranAwesomenow
Mega Sage

We have a requirement to discover cisco WSA Proxy devices running on a vmware VM instance, what options do we have to discover them, options i can think of

1. Go with the custom probe and pattern approach that is suggested in this article

I am looking up to community experts to suggest viable options.

@doug_schulze 

b__RajatC
Tera Contributor

any suggestion on OpenVMS discovery ?

JamesLindsay
Giga Guru

HUUUGE Help, thank you! Some of the other links in post seem to be dead. I had issues with InfoBlox appliances. For some reason a new node was creating a new entry at each discovery. They are being classified as Linux Servers.   It started creating a new entry for each discovery run even though it was writing the serial number to the cmdb_ci_hardware table. Support was not real helpful because it was a customization. After fighting with the Probe/Sensor, I found your post and decided to scrap the whole approach in favor of the pattern. I did create a new pre pattern script to handle the Manufacture and Model. I didn't want to edit any existing scripts for fear I might not get a future update. The new pattern is running, I've got all the attributes I need and no more duplicates that the De-Duplication process could find.

doug_schulze
ServiceNow Employee
ServiceNow Employee

Thats great news, glad it could be of service and apologies for the links, "the community" seems to keep changing things and the links fail, I'll see if I can find updates

omkarsave
Tera Contributor

Hi @JamesLindsay 

Thank you for sharing the information regarding the InfoBlox application. We are currently working on the same application for Service Mapping and would greatly appreciate it if you could share the steps you followed to create the Service Map.

Your insights would be incredibly helpful for us as we navigate this process.

Looking forward to your response!

 

Thanks,

Omkar Save

JamesLindsay
Giga Guru

@omkarsave I was not attempting to service map, just trying to get the appliances discovered as CIs. Sorry I'm not more helpful

njtwite
Tera Contributor

Can anyone please help me understand why the entity MIB set to false?

Version history
Last update:
‎12-19-2024 02:33 PM
Updated by:
Contributors