Hello Javier,
  I have had to make some changes to the snmp_interfaces discovery
plugin for Alteon interfaces.

The ifTable has two types of interfaces. The first is like the switch
controller (sc0) in the old Catalysts. They are logical interfaces with
IP addresses.  The second sent are the physical ports.  As an added
bonus, the physical ports have the same ifDescr.

By default the table would look like this
ifIndex | ifDescr               | Description | Actual Port
  1     | net0                  |             | Logical IP interface
  257   | utp ethernet (10/100) |             | Physical port #1
  258   | utp ethernet (10/100) |             | Physical port #2
  259   | utp ethernet (10/100) |             | Physical port #3
  (etc)

I now check for a webos device and if found a function is called to fill
in the ifDescr and ifAlias arrays, with
  list ($ifDescr, $ifAlias) = webos_info(....);
It checks that the index is below the maxIPInt snmp value
and if so modifies ifDescr to be "Port " $index-maxIPInt
There is also a private ifDescr which is where the ifAlias gets
its info

The table looks like
ifIndex | ifDescr               | Description | Actual Port
  1     | net0                  |             | Logical IP interface
  257   | Port 1                | Link to bb  | Physical port #1
  258   | Port 2                |             | Physical port #2
  259   | Port 3                |             | Physical port #3
  (etc)
If this is ok, ill send you the patch.

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to