Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


End Device Tracking Add-On for Cacti
Goto page Previous  1, 2, 3 ... 23, 24, 25 ... 44, 45, 46  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Jan 17, 2006 11:45 am    Post subject: Reply with quote

Do I have to download it out of SVN (one file at a time) or do you have it packaged somewhere (mactrack plugin I mean)?
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 931
Location: B/CS Texas

PostPosted: Tue Jan 17, 2006 12:17 pm    Post subject: Reply with quote

knobdy wrote:
Do I have to download it out of SVN (one file at a time) or do you have it packaged somewhere (mactrack plugin I mean)?


The packaged version I had wasn't actually suppose to be there, I was using my file download script to transfer the files from home to work, and forgot to disable it after transferring.

I will attach the latest SVN version until we can get anonymous SVN access kicking for this.
\
EDIT: Attachment removed since its out of date.


Last edited by cigamit on Fri Jan 27, 2006 10:59 am; edited 1 time in total
Back to top
vedd99



Joined: 11 Jan 2006
Posts: 32

PostPosted: Tue Jan 17, 2006 12:18 pm    Post subject: Reply with quote

cigamit wrote:
Yes, the plugin is up-to-date, so you should be able to pull it from SVN and have everything working. (but yes, you do have to use the snmp.php from the add-on version)


We need to place the newer snmp.php file in the /lib directory off the root of cacti rather than the /lib off the root of the plugin correct?
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Jan 17, 2006 12:19 pm    Post subject: Reply with quote

cigamit wrote:
I will attach the latest SVN version until we can get anonymous SVN access kicking for this.


I appreciate this, if I have to download it from the web I either have to VNC into the box or do it at my workstation and ftp it....not much fun!
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Jan 17, 2006 1:04 pm    Post subject: Reply with quote

I've reinstalled the plugin architecture and the updated mactrack plugin. I the searched the poller.php file again for a mention of mactrack, but still didn't find anything.

A diff between the one I unzipped and the one that is installed shows no differences. I must still be confused...

Also of note, with the new mactrack code I'm getting data back from the 4006s again, but on the one I'm still only getting back one blade - and still nothing from the 4000 or switches hanging off of those 4006s.
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 931
Location: B/CS Texas

PostPosted: Tue Jan 17, 2006 1:57 pm    Post subject: Reply with quote

vedd99 wrote:
cigamit wrote:
Yes, the plugin is up-to-date, so you should be able to pull it from SVN and have everything working. (but yes, you do have to use the snmp.php from the add-on version)


We need to place the newer snmp.php file in the /lib directory off the root of cacti rather than the /lib off the root of the plugin correct?


Correct.
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 931
Location: B/CS Texas

PostPosted: Tue Jan 17, 2006 2:02 pm    Post subject: Reply with quote

knobdy wrote:
I've reinstalled the plugin architecture and the updated mactrack plugin. I the searched the poller.php file again for a mention of mactrack, but still didn't find anything.

A diff between the one I unzipped and the one that is installed shows no differences. I must still be confused...


You will not see any meantion of mactrack, search for
Code:
do_hook("poller_bottom");
as that is the hook that calls it. The plugin architecture doesn't point to any specific plugin, it allows plugins to register with it in real time.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Jan 17, 2006 2:20 pm    Post subject: Reply with quote

TheWitness wrote:
What happens when you manually run "php poller_mactrack.php -d"? Also, please check <cacti>/poller.php for the "poller_mactrack.php" exec_background call.

TheWitness


Okay, well this is what was throwing me off - because I didn't see that in any of the versions I had. It's 1:20 now and I have it set to run at 2...we'll see.

I've also gone back and configured all of the devices for v2 - maybe that'll help, if not, I'll move them all to 1 and see what happens....tomorrow.

{UPDATE} It ran! WIth v2 the 4006s definately do not want to give anything up, but I did manage to get a couple of MACs from the other side of them. For the next run I'll just change them to v1 and see what happens.


I must say I like the different views. Unfortunate that the attached one doesn't reflect our need for ports.



site_report.JPG
 Description:
 Filesize:  85.03 KB
 Viewed:  2569 Time(s)

site_report.JPG


Back to top
pepj
Cacti User


Joined: 29 Sep 2005
Posts: 288
Location: switzerland

PostPosted: Wed Jan 18, 2006 9:24 am    Post subject: mactrac_view / Bug with Mac Track Results Filtering Reply with quote

Hello

In mactrac_view "Mac Track Results Filtering" the filter doesn't function perfectly:
+ I 've tried "IP Begin with". As you can see in the picture 1 it is the function "contains"
+ I 've tried "Contains". As you can see in the picture 2 it is empty.
+ but "contains" with a whole IP address gives a result like "matches" see picture3

I am using mactrac with plugin from 17/01/2006


Problem has been solved in the next released ...
I have to remove the picture because I have reached the limitation for the post...


Last edited by pepj on Mon Dec 11, 2006 5:17 pm; edited 1 time in total
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Jan 18, 2006 9:48 am    Post subject: Reply with quote

TheWitness,

Here is the output of mactrack_scanner for one of my 4006 switches. It is currently only showing MACs for one blade. The output begs the question, what makes an active "user port"?


DEBUG: HOST: _1s1..com is alive, processing has begun.
DEBUG: Scanning function is 'get_catalyst_dot1dTpFdbEntry_ports'
DEBUG: VLAN data collected. There are 7 VLANS.
DEBUG: ifIndexes data collection complete
DEBUG: ifTypes data collection complete.
DEBUG: ifNames data collection complete.
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs do not exist on this device
DEBUG: ifInterfaces assembly complete.
DEBUG: portNames data collected.
DEBUG: portTrunking data collected.
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 5
DEBUG: VLAN Analysis for VLAN: 2/_mgmt is complete. ACTIVE PORTS: 2
DEBUG: VLAN Analysis for VLAN: 6/voice_fl1_11.111.6.0 is complete. ACTIVE PORTS: 128
DEBUG: VLAN Analysis for VLAN: 10/usr_fl1_11.111.10.0 is complete. ACTIVE PORTS: 241
DEBUG: VLAN Analysis for VLAN: 19/test_fl1_11.111.19.0 is complete. ACTIVE PORTS: 5
DEBUG: VLAN Analysis for VLAN: 40/usr_fl1_11.111.40.0 is complete. ACTIVE PORTS: 3
DEBUG: Processing has begun for VLAN: 1
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 1, VLAN_NAME: default, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 2
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 2, VLAN_NAME: _mgmt, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 6
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 6, VLAN_NAME: voice_fl1_11.111.6.0, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 10
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 10, VLAN_NAME: usr_fl1_11.111.10.0, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 19
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 19, VLAN_NAME: test_fl1_11.111.19.0, ACTIVE PORTS: 0
DEBUG: Processing has begun for VLAN: 40
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 40, VLAN_NAME: usr_fl1_11.111.40.0, ACTIVE PORTS: 0
DEBUG: Final cross check's now being performed.

INFO: HOST: _1s1..com, TYPE: Cisco Systems, Inc. WS-C4006 Cisco Catal, TOTAL PORTS: 0, ACTIVE PORTS: 0DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',vlans_total='242',ports_active='0',ports_trunk='131',macs_active='0',snmp_readstring='02r',snmp_sysName='_1s1',snmp_sysLocation=' Building 1st Floor',snmp_sysContact=' Helpdesk ',snmp_sysObjectID='.1.3.6.1.4.1.9.5.46',snmp_sysDescr='Cisco Systems, Inc. WS-C4006 Cisco Catalyst Operating System Software, Version 6.3(5) Copyright (c) 1995-2002 by Cisco Systems, Inc.',snmp_sysUptime='3369065215',snmp_status='3',last_runmessage='Data collection completed ok',last_rundate='2006-01-18 06:40:26',last_runduration='110.413' WHERE device_id ='1'
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9440
Location: MI, USA

PostPosted: Wed Jan 18, 2006 10:17 am    Post subject: Reply with quote

pepj,

That looks like a codering issue with Mr. Cigamit. It works perfectly on my integrated version. It's likely an issue with the plugin version of the config_arrays.php hook. Cigamit is monitoring this post, he will know what to do.

TheWitness
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9440
Location: MI, USA

PostPosted: Wed Jan 18, 2006 10:28 am    Post subject: Reply with quote

knobdy,

Please run a full snmpbulkwalk of the OID's. Please verify that you have the correct Cisco MIB's loaded.

The command's will be:

Set Environment Variables
set mibs=all
set mibdirs="/your/mib's/directories"

Commands to Run
snmpbulkwalk -v 2c -c <your_com> <your_ip> .1.3.6.1.4.1.9 > outfile_non_numeric_oids.txt
snmpbulkwalk -v 2c -c -On <your_com> <your_ip> .1.3.6.1.4.1.9 > outfile_numeric_oids.txt

If you don't have the Cisco MIBS, goto the following site and get the bulk of them:

http://www.oidview.com/mibs/detail.html

To get the entire suite of Cisco Mibs, use the following:

http://www.oidview.com/mibs/9/asn1-9.zip

I will need both files. Email might be the best medium. I am assuming that the reason you have 131 trunks is because of IP Phones. Is this correct?

TheWitness
Back to top
vedd99



Joined: 11 Jan 2006
Posts: 32

PostPosted: Wed Jan 18, 2006 10:30 am    Post subject: Reply with quote

TheWitness wrote:
pepj,

That looks like a codering issue with Mr. Cigamit. It works perfectly on my integrated version. It's likely an issue with the plugin version of the config_arrays.php hook. Cigamit is monitoring this post, he will know what to do.

TheWitness


I have noticed that same problem. I have been using the "Contains" to find an exact match and "Begins With" to find a partial.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9440
Location: MI, USA

PostPosted: Wed Jan 18, 2006 10:46 am    Post subject: Reply with quote

knobdy,

It also looks as though I am not storing VLAN's correctly into the Devices table.

TheWitness

EDIT: Looks like I have IP addressed where VLAN's should be What do you expect for free...
Back to top
torstentfk
Cacti User


Joined: 05 Apr 2005
Posts: 179
Location: Munich, Germany

PostPosted: Wed Jan 18, 2006 11:17 am    Post subject: Reply with quote

Hi,

is the table mac_track_ips used in the new mactrack? At my installation mac_track_ips has no entries.

Torsten
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track) All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 23, 24, 25 ... 44, 45, 46  Next
Page 24 of 46

 



Powered by phpBB © 2001, 2005 phpBB Group