# Trying to SNMP poll ifDescription

**URL:** <https://www.ruby-forum.com/t/trying-to-snmp-poll-ifdescription/128468>\
**Category:** Ruby\
**Created:** [February 7, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/trying-to-snmp-poll-ifdescription/128468 "2008-02-07T22:52:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@jackster](https://www.ruby-forum.com/u/jackster)\
**Post date:** [February 7, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/trying-to-snmp-poll-ifdescription/128468/1 "2008-02-07T22:52:07Z")

</div>

I’m using SNMP::Manager to poll some network devices. I can successfully  
poll ifName, ifDescr but not ifDescription (iso.3.6.1.2.1.31.1.1.1.18)  
for some reason. I believe I have the right oid here…maybe someone can  
correct me if I’m wrong but I am trying to get the interface description  
that was assigned by the administrator on the port of a Cisco switch.  
ifDescr gives me the interface name assigned by Cisco (ex: fastethernet  
0/1) but I need the description which usually contains the server name  
assigned by the administrator of the server plugged into each port.

Any reason why ifDescription won’t work in this situation?

thanks

jackster
