From: Tarus B. <ta...@op...> - 2006-01-03 14:10:18
|
On Jan 3, 2006, at 3:55 AM, Andrea Russos wrote: > Hi Luca, first of all i'm huppy to see another italian dealing with > this great tool !! I just wanted to point out that Antonio Russo in Napoli is doing a lot of work with OpenNMS. Perhaps we need an OpenNMS Users Group in Italy? (grin) > As far as regards your problem you'll get info for mac-addresses > querying the ifTable of the device and, in particular, the > ifPhysAddress row of that table. We actually do this already. opennms=# \d snmpinterface Table "public.snmpinterface" Column | Type | Modifiers --------------------+------------------------+----------- nodeid | integer | ipaddr | character varying(16) | not null snmpipadentnetmask | character varying(16) | snmpphysaddr | character(12) | snmpifindex | integer | snmpifdescr | character varying(256) | snmpiftype | integer | snmpifname | character varying(32) | snmpifspeed | integer | snmpifadminstatus | integer | snmpifoperstatus | integer | snmpifalias | character varying(256) | The snmpphyaddr field in the database contains the MAC address (or should). -T ----- Tarus Balog The OpenNMS Group, Inc. Main : +1 919 545 2553 Fax: +1 503-961-7746 Direct: +1 919 647 4749 Skype: tarusb Key Fingerprint: 8945 8521 9771 FEC9 5481 512B FECA 11D2 FD82 B45C |