Printer Only Discovery

doug_schulze
ServiceNow Employee
ServiceNow Employee

So I have this friend from the Great White North who wanted to only capture printers in their environment. She had attempted to set up a behavior that used an SNMP/DNS functionality (since of course we gather printer metrics from SNMP). Well the problem was that the range being discovered also contained other SNMP enabled devices that wasn't helpful to her inventory.

The secret lied in the port probes and creating a proper functionality in a behaviour...

Being that we already check for standard printer ports (515/9100) for our credentialess discovery we have a unique way to trigger classifiers when we find ports open. By default when we check the printer ports we don't trigger any additional queries because by default we rely on SNMP to respond and classify accordingly. So we went into the port probe module and simply added 'SNMP Classify' to the triggers probe column for the printer.

Port Probes

This way when we capture these ports/services being available we will then trigger the SNMP query that would pull back the necessary information. Now we had to update the behaviors functionality so that when we scanned the network we ONLY looked for the printer ports...

Functionality

So we called the printer only behavior in the schedule, kicked off the discovery and found only those printers she was looking for while passing over the other network enabled devices that we're not part of the scope.. Success!

I wanted to post this to get our Discovery community to think beyond out of our default box and to help all realize that discovery is near only limited by your imagination, the rest is just a few clicks away...

1 ACCEPTED SOLUTION

Correct, seeing that ports 515/9100 were open was the trigger to talk to the device with SNMP through the classify probe.

View solution in original post

7 REPLIES 7

doug_schulze
ServiceNow Employee
ServiceNow Employee

Since I wrote this post we have changed a couple things so when looking to do this type of discovery be sure to activate the printer ports for a CI's (Configuration item) discovery type... Currently they are only set to active for an IP scan and a quick flip of the bit to 'true' in the 'ci's' column will allow it to work as designed!


Doug, can you re-upload the images to this article please ? I'm trying to config a printer-only Discovery to report on printer supplies 3 times per week and don't want to discover and update more records than I need to. Also worked out that this discovery needs to be done during business hours as the printers go to standy-by mode and will not respond out of hours.



Cheers,


Dale.


Dale, This is what it would have looked like... Add the SNMP Classifier and change the CIs Value to true, then create a printer only behavior applied to your schedule and you should be right.   I apologize, don't have   a printer that I can test against to make sure this functionality hasn't changed in 6 years so let us know how this goes..


Screen Shot 2015-09-17 at 10.40.53 AM.png


Hi Doug,

I tried with printer discovery and tried using snmp classify. My question is printer port is 515/9100 and when we do shazzam probe for printer it is   showing these ports are opened, then we classify with snmp ,does snmp go throgh these printer ports or do we need make sure snmp port 161/162 open?