|
View previous topic :: View next topic |
Author |
Message |
genasea
Joined: 25 Sep 2002 Posts: 27
|
Posted: Wed Jun 16, 2004 2:19 pm Post subject: snmp will not return a mac address |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Jun 18, 2004 3:12 pm Post subject: |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Sun Jun 20, 2004 9:37 pm Post subject: |
|
|
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 |
|
|
|
|
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
|