Adding option Speed/Duplex :OK - autoneg : NOK in Mactrack

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
Sharker
Posts: 3
Joined: Wed Jul 22, 2009 5:19 am

Adding option Speed/Duplex :OK - autoneg : NOK in Mactrack

Post by Sharker »

Hi everybody,

To my job, I need this functionality, so I decided to add it by myself.
Both colomn Speed (100,1000,...) and Duplex (half, full, unknown) are OK, but I got some problems to add the autoneg into the a new column and new varchar(50) of the database

First Cisco 4900 and cisco 2960/3750 have different OID to identify the autoneg.

I add code to "lib/mactrack_functions.php" to populate the database. (device type use snmpwalk)

When trying to get information of a 4948, using the oid .1.3.6.1.2.1.26.5.1.1.1 (ifMauAutoNegAdminStatus ) I got only 1 result.
(I use functions xform_standard_indexed_data(".1.3.6.1.2.1.26.5.1.1.1", $device);)

When I do a snmpwalk on a cisco 2960 with the oid 1.3.6.1.4.1.9.5.1.4.1.1.10.1 I got the neede informations but when I use the oid in the function, my tab is empty
( I use functions $ifAutoNeg = xform_standard_indexed_data("1.3.6.1.4.1.9.5.1.4.1.1.10.1", $device); )

Does anyone have any idea to try to solve the problem ?

Thanks in advance

Best regards

Sharker
Sharker
Posts: 3
Joined: Wed Jul 22, 2009 5:19 am

Re: Adding option Speed/Duplex :OK - autoneg : NOK in Mactra

Post by Sharker »

It's OK, all works fine.

Sharker
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests