KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

snmp will not return a mac address

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
genasea



Joined: 25 Sep 2002
Posts: 27

PostPosted: Wed Jun 16, 2004 2:19 pm    Post subject: snmp will not return a mac address Reply with quote

When doing an SNMP test, I am unable to get HM to return a mac address value either in the 'Reply' field, or when pressing the 'get current value' button (the returned 'value' field is blank).

An example snmp get that should return a mac address is:

1.3.6.1.2.1.2.2.1.6.x (where x is the value of an interface (NIC) on a server.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Jun 18, 2004 3:12 pm    Post subject: Reply with quote

Problem - SNMP protocol does not have special data type to represent MAC addresses, it uses Octet String type. However MAC address stored not like any other text string...
I can change decoding method for this specific OID but its not universal solution
....

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sun Jun 20, 2004 9:37 pm    Post subject: Reply with quote

Ok. There is solution at www.ks-soft.net/download/hm447d.zip
Now if retrieved OCTET STRING contains some unprintable characters, HostMonitor displays sequences formatted %XX where XX is a hexadecimal code of a character (byte).
E.g. in case of MAC address" 00:40:69:2F:50:08" HostMonitor will show "%00%40%69%2F%50%08"

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index