Retrieving Printer Hostname via SNMP OID in Discovery Payload

Community Alums
Not applicable

I'm working on discovering printers, which use the out-of-the-box SNMP identify probe that uses the object name "sysName" to retrieve the printer's name. However, instead of the name, it's currently pulling the Model ID of the printer.

I need to get the Hostname of the printer directly within the payload for the OID 1.3.6.1.4.1.367.3.2.1.7.3.5.1.1.3.

To achieve this, I referred to the Ricoh documentation to identify the object names associated with the OID. According to the documentation, the object name for the given OID is 'ricohNetIfSrvCurrentHostName'.

I tried to configure the SNMP classification probe by dot-walking with multiple object names for the specified OID. However, the hostname is still not retrieved in the payload.

 

Could anyone help me find the object name needed to retrieve the hostname of the printers directly in the payload?

 

Thanks!

2 REPLIES 2

amreensulta
Tera Contributor

Hello @Community Alums ,

 

I am too facing similar thing for RICOH printer. Is your issue resolved?

Thanks.

mick12
Tera Contributor

if you have the hostname in dns for each printer you could set the discovery property "SNMP is trusted host name source: If "yes", trust the device name discovered via SNMP. If checked, any device name found via SNMP will be used instead of the name found by a reverse DNS lookup" to No
This will then discover the printer name as what is returned from a dns lookup.

However, setting this may have unwanted results for other snmp discoveries