Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Mar 22, 2019 5:41 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Adding option Speed/Duplex :OK - autoneg : NOK in Mactrack
PostPosted: Tue Aug 21, 2012 9:14 am 
Offline

Joined: Wed Jul 22, 2009 5:19 am
Posts: 3
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


Top
 Profile  
 
 Post subject: Re: Adding option Speed/Duplex :OK - autoneg : NOK in Mactra
PostPosted: Tue Aug 28, 2012 5:36 am 
Offline

Joined: Wed Jul 22, 2009 5:19 am
Posts: 3
It's OK, all works fine.

Sharker


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group