Who Want's A MacTrack 2.0?

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

TheRookie
Posts: 5
Joined: Wed Jan 27, 2010 5:32 am

Post by TheRookie »

Thanks, that link worked like a charm :)
azher
Posts: 6
Joined: Tue Jan 06, 2009 2:16 pm

Mactrack 2.1.1 for cacti 0.8.7e ??

Post by azher »

Mactrack version available in trunk is 2.1.1. I copied this in plugins directory, then from plugin management i installed and enabled it. I can see device tracking tab appeared in settings section, but Mactrack Tab is not appearing next to graphs ?

Any help ?

Thanks
Mikf
Posts: 47
Joined: Fri Aug 13, 2004 11:35 am
Location: Paris, France

Post by Mikf »

check the rights of your account
azher
Posts: 6
Joined: Tue Jan 06, 2009 2:16 pm

Post by azher »

Thanks, Tab works. I have now one site, two devices and each of them show snmp description when i click them. However this is throwing error, any gueess ? I am having Staus=Error under devices in Mactrack Tab.

php mactrack_scanner.php -d -id=1
DEBUG: HOST: 1.1.1.1 is alive, processing has begun.
DEBUG: WARNING: SITE: lab, IP: 1.1.1.1, TYPE: Cisco IOS Software, C3560E Software (C35, Device Type Not Found in Device Type Table.
DEBUG: WARNING: SITE: lab, IP: 1.1.1.1, TYPE: Cisco IOS Software, C3560E Software (C35, Device Type Not Found in Device Type Table.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',device_type_id='0',scan_type = '2',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='xxxxxxxx',snmp_sysName='test.switch',snmp_sysLocation='lab',snmp_sysContact='testing',snmp_sysObjectID='.1.3.6.1.4.1.9.1.794',snmp_sysDescr='Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(46)SE, RELEASE SOFTWARE (fc2) Copyright (c) 1986-2008 by Cisco Systems, Inc. Compiled Thu 21-Aug-08 15:09 by nachen',snmp_sysUptime='3346264167',snmp_status='4',last_runmessage='WARNING: Device Type Not Found in Device Type Table.',last_rundate='2010-01-28 21:02:19',last_runduration='0.0168' WHERE device_id ='1'
Mikf
Posts: 47
Joined: Fri Aug 13, 2004 11:35 am
Location: Paris, France

Post by Mikf »

you have to create a "device type" for each model of device you have.
here you have a cisco C3560

Create a "device Type" named "Cisco 3560"
* Description : Cisco 3560
* Vendor : Cisco
* Device Type : Switch/HUB
* System Description Match : C3560
(this is a text that must be present in sysdescr )
* Vendor snmp Object ID Match : the OID that identifies the model of device
(you see it when you edit your device) and OID like .1.3.6.1.4.1.9.1.xxx for a cisco device
* MAC Address Scanning Function : for cisco with IOS choose get_IOS_dot1dTpFdbEntry_ports
* IP Address Scanning Function : choose get_standard_arp_table
* Serial Number Base OID : .1.3.6.1.4.1.9.3.6.3.0 (for cisco)
* Serial Number Collection Method : snmp get
azher
Posts: 6
Joined: Tue Jan 06, 2009 2:16 pm

Post by azher »

Works now. I left the blank the *Serial Number Base OID : .1.3.6.1.4.1.9.3.6.3.0 (for cisco) * as it was giving problems.
azher
Posts: 6
Joined: Tue Jan 06, 2009 2:16 pm

Post by azher »

Few more questions:

In Mactrack -> Sites or in "IP Ranges", the Site names are in blue, are they links or just the blue color ? If they are link how they get enabled, mine are just blue colored.

The Actions column is empty, should it be ? or am missing some parameter.
maymann
Posts: 13
Joined: Thu Jun 11, 2009 3:28 am

port speed / link / packetloss

Post by maymann »

Hi,

I have been running MacTrack for quite some time now - and am really happy about it as our network is outsourced and I have a readonly SNMP account on our devices :-)

Is the latest version including "port speed", "link", "duplex" and "packetloss" and/or other additional information ?


Thanks in advance,
~Maymann
Last edited by maymann on Fri Feb 26, 2010 3:32 pm, edited 1 time in total.
azher
Posts: 6
Joined: Tue Jan 06, 2009 2:16 pm

Post by azher »

This is what i have in version 2.1.1, see attachment.
Attachments
mactrack
mactrack
cacti-mactrack.png (16.85 KiB) Viewed 18977 times
cacti-mactrack.png
cacti-mactrack.png (16.85 KiB) Viewed 18977 times
maymann
Posts: 13
Joined: Thu Jun 11, 2009 3:28 am

Post by maymann »

Thanks for your quick response !

Can you see if:
- Duplex (half/full)
- Negotiation (auto/fixed)
- Portspeed (10M/100M/1G/10G)
- Others?
are also collected and in DB ?

Is this something that I can choose from a admin-config-page what I would like to see ?
If it is in the DB, it should only be a simple fix to add this to the webinterface :-)


Thanks in advance !

~Maymann
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Negotiation is currently not. It's going to vary by device type too, I would think.

Can you please provide some OID's. We are nearing a release. So, I am uncertain I can get that part in for 2.2.0.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
maymann
Posts: 13
Joined: Thu Jun 11, 2009 3:28 am

HP ProCurve 5406/12 test switch at your service...:-)

Post by maymann »

Hi The Witness,

Here are the OID's what I was able to dig out of our HP ProCurve 5406/12.
I am setting up a spare switch for you that you can hopefully mess around with for the next couple of week if you wish - I will send you SNMP community string and login information to your email :-)

MIBS:
http://www.procurve.com/customercare/su ... d-sw-c.htm

OID:
RFC1213-MIB:ifTable

MAU-MIB::ifMauAutoNegSupported.87.1 = INTEGER: true(1)
MAU-MIB::ifMauAutoNegAdminStatus.87.1 = INTEGER: enabled(1)
MAU-MIB::ifMauAutoNegRemoteSignaling.87.1 = INTEGER: notdetected(2)

MAU-MIB::ifMauAutoNegConfig.87.1 = INTEGER: disabled(4)
MAU-MIB::ifMauAutoNegCapability.87.1 = INTEGER: 98305
MAU-MIB::ifMauAutoNegCapAdvertised.87.1 = INTEGER: 101377
MAU-MIB::ifMauAutoNegCapReceived.87.1 = INTEGER: 0
MAU-MIB::ifMauAutoNegRestart.87.1 = INTEGER: norestart(2)
MAU-MIB::ifMauAutoNegCapabilityBits.87.1 = BITS: 0C 81 b100baseTX(4)
b100baseTXFD(5) bfdxPause(8) b1000baseTFD(15)
MAU-MIB::ifMauAutoNegCapAdvertisedBits.87.1 = BITS: 6C 01 b10baseT(1)
b10baseTFD(2) b100baseTX(4) b100baseTXFD(5) b1000baseTFD(15)
MAU-MIB::ifMauAutoNegCapReceivedBits.87.1 = BITS: 00 00
MAU-MIB::ifMauAutoNegRemoteFaultAdvertised.87.1 = INTEGER: noError(1)
MAU-MIB::ifMauAutoNegRemoteFaultReceived.87.1 = INTEGER: noError(1)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: HP ProCurve 5406/12 test switch at your service...:-)

Post by TheWitness »

maymann wrote:Hi The Witness,

Here are the OID's what I was able to dig out of our HP ProCurve 5406/12.
I am setting up a spare switch for you that you can hopefully mess around with for the next couple of week if you wish - I will send you SNMP community string and login information to your email :-)

MIBS:
http://www.procurve.com/customercare/su ... d-sw-c.htm

OID:
RFC1213-MIB:ifTable

MAU-MIB::ifMauAutoNegSupported.87.1 = INTEGER: true(1)
MAU-MIB::ifMauAutoNegAdminStatus.87.1 = INTEGER: enabled(1)
MAU-MIB::ifMauAutoNegRemoteSignaling.87.1 = INTEGER: notdetected(2)

MAU-MIB::ifMauAutoNegConfig.87.1 = INTEGER: disabled(4)
MAU-MIB::ifMauAutoNegCapability.87.1 = INTEGER: 98305
MAU-MIB::ifMauAutoNegCapAdvertised.87.1 = INTEGER: 101377
MAU-MIB::ifMauAutoNegCapReceived.87.1 = INTEGER: 0
MAU-MIB::ifMauAutoNegRestart.87.1 = INTEGER: norestart(2)
MAU-MIB::ifMauAutoNegCapabilityBits.87.1 = BITS: 0C 81 b100baseTX(4)
b100baseTXFD(5) bfdxPause(8) b1000baseTFD(15)
MAU-MIB::ifMauAutoNegCapAdvertisedBits.87.1 = BITS: 6C 01 b10baseT(1)
b10baseTFD(2) b100baseTX(4) b100baseTXFD(5) b1000baseTFD(15)
MAU-MIB::ifMauAutoNegCapReceivedBits.87.1 = BITS: 00 00
MAU-MIB::ifMauAutoNegRemoteFaultAdvertised.87.1 = INTEGER: noError(1)
MAU-MIB::ifMauAutoNegRemoteFaultReceived.87.1 = INTEGER: noError(1)
Can you provide me the fully numeric OID's too?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
bipolarkm
Posts: 10
Joined: Wed Jan 20, 2010 4:47 am

Post by bipolarkm »

Hello!
I want to install mactrack-2.x.x but i have not permissions to svn and i can't find mactrack-2.x.x.tar.gz

Give me tarball, please !
maymann
Posts: 13
Joined: Thu Jun 11, 2009 3:28 am

Numeric AutoNeg OID's for HP ProCurve 5406ZL

Post by maymann »

These are for port 87:
.1.3.6.1.2.1.26.2.1.1.12.87.1 MAU-MIB::ifMauAutoNegSupported.87.1
.1.3.6.1.2.1.26.5.1.1.1.87.1 MAU-MIB::ifMauAutoNegAdminStatus.87.1
.1.3.6.1.2.1.26.5.1.1.2.87.1 MAU-MIB::ifMauAutoNegRemoteSignaling.87.1

.1.3.6.1.2.1.26.5.1.1.4.87.1 MAU-MIB::ifMauAutoNegConfig.87.1
.1.3.6.1.2.1.26.5.1.1.5.87.1 MAU-MIB::ifMauAutoNegCapability.87.1
.1.3.6.1.2.1.26.5.1.1.6.87.1 MAU-MIB::ifMauAutoNegCapAdvertised.87.1
.1.3.6.1.2.1.26.5.1.1.7.87.1 MAU-MIB::ifMauAutoNegCapReceived.87.1
.1.3.6.1.2.1.26.5.1.1.8.87.1 MAU-MIB::ifMauAutoNegRestart.87.1
.1.3.6.1.2.1.26.5.1.1.9.87.1 MAU-MIB::ifMauAutoNegCapabilityBits.87.1
.1.3.6.1.2.1.26.5.1.1.10.87.1 MAU-MIB::ifMauAutoNegCapAdvertisedBits.87.1
.1.3.6.1.2.1.26.5.1.1.11.87.1 MAU-MIB::ifMauAutoNegCapReceivedBits.87.1
.1.3.6.1.2.1.26.5.1.1.12.87.1 MAU-MIB::ifMauAutoNegRemoteFaultAdvertised.87.1
.1.3.6.1.2.1.26.5.1.1.13.87.1 MAU-MIB::ifMauAutoNegRemoteFaultReceived.87.1

I have emailed you the IP and community string of our test switch.
Hope this will make it to the next release...


Thanks in advance :-)

~maymann
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests