Trying to add MAC Address to Network Printer Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2017 02:01 PM
Hello,
I am trying to use Discovery (Helsinki) to discover Network Printers (using SNMP), but am not currently able to update the mac_address field on the cmdb.ci table. I have added the following SNMP field to the "SNMP - Printing" probe and sensor, and the MAC Address is now being retrieved, but is still not being updated in the CMDB! Can someone help?
Thanks
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2017 02:04 AM
Hi Russell,
Not knowing your level of experience with Discovery or SN...We highly suggest that you do not modify OOB probes/sensors directly as this will impact future upgrades. That said you could create a new exploration probe, add the SNMP Field that you have highlighted above and then create the appropriate sensor to parse the payload and set the mac_address attribute.
Or
Most likely the network adapter related list is being populated with IP/Mac already - you could create a Business Rule to copy the MAC from the cmdb_ci_network_adapter table to the main printer form.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2017 07:32 AM
Thanks Ryan! Since I am successfully using a Discovery Identifier based on the MAC Address, I believe you are correct that the MAC Address must already be getting populated in the network adapter related list. I like your idea of simply creating a business rule... I will try that and post back!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2017 10:20 AM
FYI, since the OOB "SNMP - Classify" sensor is already returning the Network Printer MAC Address that I added above to "SNMP Printing", I went ahead and removed that change. I have also already defined a business rule for the cmdb_ci table, which is where our "mac_address" field is stored (as opposed to the cmdb_ci_network_adapter table). Our cmdb_ci_printer table is inheriting this attribute from cmdb_ci. In my business rule script on the CMDB_CI table, I see that all the rest of the attributes I need are available, except for "current.mac_address". When I look at the XML returned from the Discovery "SNMP - Classify" sensor, I see the MAC address I need, but for some reason it isn't getting updated on the CMDB_CI table!
Any ideas?
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2017 06:27 AM
Send me or cut/paste your business rule here....