(Not quite solved)Macktrack is not retriving any data

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

Sorry still no joy i understand not what the problem could be..




the show version output is :

Code: Select all

dvdcnlnc01#sh ver
Cisco Internetwork Operating System Software 
IOS (tm) s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)SXF11, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by cisco Systems, Inc.
Compiled Fri 14-Sep-07 20:58 by kellythw
Image text-base: 0x40101040, data-base: 0x42DC4550

ROM: System Bootstrap, Version 12.2(17r)S2, RELEASE SOFTWARE (fc1)
BOOTLDR: s72033_rp Software (s72033_rp-ADVIPSERVICESK9_WAN-M), Version 12.2(18)SXF11, RELEASE SOFTWARE (fc1)
Attachments
mactrack03.PNG
mactrack03.PNG (7.13 KiB) Viewed 5186 times
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

The reason that i dont see mac addresses could it be becourse this error?

Code: Select all

INFO: HOST: xxx.xxx.xxx.42, TYPE: Cisco Internetwork Operating System Soft, No active end devices on this device.DEBUG: Scanning function is 'get_standard_arp_table'
User avatar
Vins
Cacti User
Posts: 116
Joined: Tue Sep 12, 2006 3:06 am

Post by Vins »

I think you should only define correctly your device:

- Under Device Types define a new device, like "Cisco 7200";
- input the string "s72033_rp-ADVIPSERVICESK9_WAN-M" in the "System Description Match";
- Check that you define it like a "Switch/Router" device;
- in field "Vendor snmp Object ID Match" input ".1.3.6.1.4.1.9";
- Your device runs an IOS, so under "MAC Address Scanning Function" use "get_IOS_dot1dTpFdbEntry_ports";
- Under "IP Address Scanning Function" use "get_standard_arp_table;
- Use "0" (zero) for the fields "Low User Port Number" and "High User Port Number"

If doesn't work, try also with "get_catalyst_dot1dTpFdbEntry_ports" or "get_cabletron_switch_ports" or "get_generic_dot1q_switch_ports"... one of this must work...

:)
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

Hi vins,
I try d all of the options you gave.
The second picture is the configuration one with the most result.
None of these options gave me mac addresses unfortunately :(
The best thing i got is a few options. See first picture below

i have no clue what i'm doing wrong.

maybe any other idee?

Thx in advanced for helping me.
I would be a great feature. and it saves me a lot of seeking systems.
Attachments
The best results with this config
The best results with this config
mactrack04.PNG (24.63 KiB) Viewed 5119 times
The result of the night run
The result of the night run
mactrack05.PNG (8.42 KiB) Viewed 5119 times
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You are using the "WRONG" scanning function. You should also be using snmpv2 as the v1 performance is nasty. Also, you MUST use PHP 5.1 and above for the same reasons.

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?
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

Hi TheWitness,

Your right The 6500 switch is running IOS.
Ik configured it to get_IOS_dot1dTpFdbEntry_ports
the night run has to reveal the result.

We are using version 2 of snmp and is use version 5.1.6 of php.
So that sould be no problem....lets hope that tomorrow we have more luck

Thx in advanced




Cacti Version - 0.8.7b
Plugin Architecture - 2.0
Poller Type - Cactid v
Server Info - Linux 2.6.9-78.0.1.plus.c4smp
Web Server - Apache/2.0.63 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, json, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.66a
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
  • Global Plugin Settings (settings - v0.3)
    Thresholds (thold - v0.3.9)
    Large Site Performane Booster for Cacti (boost - v1.5)
    Device Monitoring (monitor - v0.8.2)
    Network Discovery (discovery - v0.8.4)
    Network Tools (tools - v0.2)
    Syslog Monitoring (syslog - v0.5.2)
    Device Tracking (mactrack - v1.1)
    RRD Cleaner (rrdclean - v1.1)
    Update Checker (update - v0.4)
    FlowView (flowview - v0.4)
    Host Info (hostinfo - v0.2)
    Error Images (errorimage - v0.1)
    PHP Network Weathermap (weathermap - v0.95b)
    Create Aggregate Graphs (aggregate - v0.63)
    Documents (docs - v0.1)
    report it! (report it! - v0.5.0)
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

No joy yet.
The "get_IOS_dot1dTpFdbEntry_ports" is not the problem.
or is this still the wrong scanning function TheWitness?

this is the con fig now

and the result is the same as the last post "Picture mactrack05.PNG"
Attachments
Configuration with IOS
Configuration with IOS
mactrack06.PNG (25.05 KiB) Viewed 5065 times
User avatar
Vins
Cacti User
Posts: 116
Joined: Tue Sep 12, 2006 3:06 am

Post by Vins »

Vins wrote:I think you should only define correctly your device:

- Under Device Types define a new device, like "Cisco 7200";
- input the string "s72033_rp-ADVIPSERVICESK9_WAN-M" in the "System Description Match";
- Check that you define it like a "Switch/Router" device;
- in field "Vendor snmp Object ID Match" input ".1.3.6.1.4.1.9";
- Your device runs an IOS, so under "MAC Address Scanning Function" use "get_IOS_dot1dTpFdbEntry_ports";
- Under "IP Address Scanning Function" use "get_standard_arp_table;
- Use "0" (zero) for the fields "Low User Port Number" and "High User Port Number"

If doesn't work, try also with "get_catalyst_dot1dTpFdbEntry_ports" or "get_cabletron_switch_ports" or "get_generic_dot1q_switch_ports"... one of this must work...

:)
s72033_rp-ADVIPSERVICESK9_WAN-M

not

s72033_rp-ADVIPSERVI
User avatar
Vins
Cacti User
Posts: 116
Joined: Tue Sep 12, 2006 3:06 am

Post by Vins »

Anyway that's not the problem... :(
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

Hi Vins

When i enter the name "s72033_rp-ADVIPSERVICESK9_WAN-M" in the
System Description Match.
when i save the updated configuration.
an open the config again than the name is shorten to s72033_rp-ADVIPSERVI.

so the name is cutoff somehow

I think the problem is somewhere else mayby TheWitness
has a suggestion.
but maybe it is not possible on ours switches.
If that is the case then i remove the switches configuration and let it go.. unfortunately but necessary.

thx for the help Vins.
lotus260
Posts: 1
Joined: Thu Oct 23, 2008 2:18 am

Post by lotus260 »

I have 6509/6513 with Sup-720 running 12.2(18)SXF12a(fc1)

This is what created for "Device Types"

Description= Cisco 6500 SUP720
Vendor = Cisco
Device Type = Switch/Router
System Description Match = IOS (tm) s72033_rp
Vendor snmp Object ID Match = .1.3.6.1.4.1.9
MAC Address Scanning Function = get_IOS_dot1dTpFdbEntry_ports
IP Address Scanning Function = get_standard_arp_table

I can see every device/MAC in every connected port.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest