Definitely not running any IPv6 at all inside our corporate lan.TheWitness wrote:Your IP's appear to be IPv6. Is this correct. I currently do not support IPv6. Please respond.
TheWitness
End Device Tracking Add-On for Cacti
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The reason I ask this is the following:
TheWitness[/b]
Code: Select all
DEBUG: SQL: REPLACE INTO mac_track_ips (site_id,device_id,hostname,description,port_number,mac_address,ip_address,scan_date) VALUES ('1','16','192.168.1.3','CR-01','1','00:00:10:00:00:00','7F:00:00:34','2006-07-12 21:03:13')
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?
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?
Then I am totally at a loss here.TheWitness wrote:The reason I ask this is the following:
TheWitness[/b]Code: Select all
DEBUG: SQL: REPLACE INTO mac_track_ips (site_id,device_id,hostname,description,port_number,mac_address,ip_address,scan_date) VALUES ('1','16','192.168.1.3','CR-01','1','00:00:10:00:00:00','7F:00:00:34','2006-07-12 21:03:13')
One of my coworkers is running the Cacti-EZ cd and it runs mactrack just fine. We're only seeing this issue on a cacti install (0.6.8h with patches) that we did by hand. I'll have to diff it tomorrow when I am back in the office and not running out of battery over VPN.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It may be that your snmp config is returning data with the incorrect mib type. This can be corrected by setting the MIBS environment variable to something simple like "RFC-1215.xxx" where xxx represents your mib extension.
Give that a try.
TheWitness
Give that a try.
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?
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?
TheWitness wrote:Ok, so here's the trick, you need to open a console and run each device in debug mode. Here is the syntax:
So, if the switch in question is a L3 switch, and definately for the router run the command using the "-d" option. Post the results.Code: Select all
>php mactrack_scanner.php -h Network Mac Tracker Version 1.0, Copyright 2005 - Larry Adams usage: mactrack_device.php -id=host_id [-d] [-h] [--help] [-v] [--version] -id=host_id - the mac_track_devices host_id to scan -d - Display verbose output during execution -t - Test mode, don't log a process id and interfere with system -v --version - Display this help message -h --help - display this help message
TheWitness
I actually wrote a perl script, to take care of this, and then setup a cronjob to run it automagically.
my $dbh = DBI->connect("dbi:mysql:<DBNAME>", "<UID>", "<PASS>");
my $sth = $dbh->prepare(<<SQL);
select device_id
from mac_track_devices
SQL
$sth->execute;
while (my @row = $sth->fetchrow_array()) {
my ($device) = @row;
system "php /cacti-0.8.6h/plugins/mactrack/mactrack_scanner.php -id=$device 2>&1 >/dev/null";
}
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, but by doing that, you loose all the other processing that goes on in the poller_mactrack.php function that does all the consolidation and additional detailed reporting.... In addition, mactrack gives you a real good if not poorly written way of monitoring progress of you scanning real time.
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Oh, ok. Np then...
I am thinking that the environment variable MIBS=RFC-1215 will make the output look better.
TheWitness
I am thinking that the environment variable MIBS=RFC-1215 will make the output look better.
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Actually, when I get around to it, I have added a sort module to Cacti 0.8.6i that you should be able to take advantage of once we release it. Won't be soon enough for some, I know.
TheWitness
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?
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?
No difference what so ever.TheWitness wrote:Oh, ok. Np then...
I am thinking that the environment variable MIBS=RFC-1215 will make the output look better.
TheWitness
export MIBS=RFC-1215.txt
then i ran both mactrack_scanner and poller_mactrack on all devices.
I'm completely at a loss as to what is going on.
I am not sure whether it makes any difference, but we have VoIP phones (on seperate vlan and subnet) which our desktop computers plug into, so there will be 2 IP and MAC's off of each desktop switch (DS-#) port.
- Attachments
-
- desktop switch, possible to have 2 IP's/MAC's per port since there are VoIP phones off of this switch and desktops connect into phones which connect into the wall jack.
- ds-22.JPG (134.33 KiB) Viewed 10842 times
-
- server switch, one machine/ip/mac per port.
- ss-01.JPG (130.09 KiB) Viewed 10842 times
objectID's
does anyone have the correct Object ID OID for a cisco 2950 and 3560 switch running IOS? (and a 4500 or 6000 if also)
i'm thinking something might be going on with that, if at all possible.
i'm thinking something might be going on with that, if at all possible.
Who is online
Users browsing this forum: No registered users and 0 guests