Place Your Feature Requests & Bug Reports Here

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

Hi,

there is an error when I add a MacWatch: "Error: Save Failed: Field Input Error (Check Red Fields)". There is no red field and nothing is added to the db.
Next: I searched the forum but did not find any documentation about the watch and authorizations tool in mactrack. What can I do with the authentication of a mac-address? I assume that the watch tool emails a message if a mac changes the ports. If it is so how could I write an alert if a new mac is found (=a new computer was connected)


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

Post by TheWitness »

This feature is not implemented yet.

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?
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

TheWitness wrote:This feature is not implemented yet.

TheWitness
If it is not yet available which purpose have the 2 new options?

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

Post by TheWitness »

I simply ran out of time and did not get to finish the two features. I'll get back to in in the fourth quarter I hope. Otherwise, things should be pretty stable.

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?
wardrobe
Posts: 17
Joined: Wed May 31, 2006 2:16 pm

device type field length

Post by wardrobe »

is it limited to 21 chars?

we have a 3com switch its system description is
3Com 3Com Switch 5500G-EI SFP 24-Port Software Version 3Com OS V3.01.00s168

when putting in anything over 21 chars it refuses to save

i have had to use
3Com 3Com Switch 550%

not a big problem for me but the limit doesn't really allow for different versions of 5500
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Use this instead
5500G-EI SFP
It looks for any part of the sysDescription. Does not have to be the entire thing.

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?
wardrobe
Posts: 17
Joined: Wed May 31, 2006 2:16 pm

Post by wardrobe »

awesome cheers for the tip!

and thanks for a great plugin, (we primarily setting up your pluggin to hunt down the next time someone comes along a plugs a dhcp server onto our network and this will help us track down the mac and so we can shut down the switch port.
:D
marcosramos
Posts: 21
Joined: Tue Nov 14, 2006 5:04 am

Post by marcosramos »

Wake On Lan integration

I've found a php script that allows me to wake up remotely the machines (don't remember the name of the author) on the internet.
cacti v0.8.7b
cactid v0.8.6i/pa v2.1/php weathermap v0.95b/monitor v0.8.2/(...)
SLES 10
kuma3
Posts: 25
Joined: Tue Oct 02, 2007 1:17 pm

ignore ports question

Post by kuma3 »

TheWitness,

Thanks for the great plugin! I got everything works beautifully except one, ignore ports.

I dig through this post, http://forums.cacti.net/viewtopic.php?p=87599 , that was mentioned on the first page of this thread, even tried the number from the snmpwalk suggestion, but still couldn't get it to ignore those ports.

I have Cisco equipments(2960 and 3560), using IOS scan as scanner. I tried all 'Gi0/1', 'GigabigEthernet0/1' and the number from snmp walk, nothing seems to do it. Could you spare a moment and point me a direction where I can continue troubleshooting?


Thanks,
Mark
helper4cacti
Posts: 9
Joined: Wed Jul 11, 2007 11:11 am

Sorry. I probably post in wrong place...

Post by helper4cacti »

Hi
Here is my version - Device Tracking (mactrack - v1.0)
I have empty Switch name and Vendor name fields in MAC/IP report
and in mac_track_ports table are empty also...

- and one more
Ports to Ignore in Device form does't work as you can see port Fa0/7 at my attachment has some mac addresses.

What can I do to fix it ?
Attachments
pic2.GIF
pic2.GIF (20.51 KiB) Viewed 9591 times
User avatar
adrianmarsh
Cacti User
Posts: 437
Joined: Wed Aug 17, 2005 8:51 am
Location: UK

Post by adrianmarsh »

Adding a bug for the paging if its not already here:

http://forums.cacti.net/viewtopic.php?t=23984
kapa
Posts: 7
Joined: Tue Oct 23, 2007 3:25 am
Location: Moscow

Post by kapa »

Larry, first I want to thank you for the great plugin!

Here are some features that will be very useful for me (about much of them I've read in this or adjacent topics):

1. The ability to delete MAC from the Report View.
Sometimes I make a mistakes in ignore ports and then I must delete the device to delete all useless MACs. Besides sometimes I receive duplicate entries - one with IP and another - without IP. If I can delete entries by hand - it will be much easier.

2. The ability to chose what to authorize - MAC, MAC-IP or IP-MAC-Port.
It's due to those duplicate entries. Or you just can add the ability to alarm only when all 3 components of IP-Mac-Port presents in rogue device entry.

3. The ability to add one device (Router) to several sites.
I have several quarters (sites) plug in to the one router. And I must include this router into all of these sites.

4. In View mode put MAC, port etc...in normal order. Such as 1,2,3,...10,11...
kapa
Posts: 7
Joined: Tue Oct 23, 2007 3:25 am
Location: Moscow

Post by kapa »

kapa wrote: ........
4. In View mode put MAC, port etc...in normal order. Such as 1,2,3,...10,11...
I've made some changes in mactrack_veiw.php and now it sorts ip_address, port_number, vlan_id in numerical form.
Attachments
mactrack_view.php.tar
(11.5 KiB) Downloaded 342 times
llow
Cacti User
Posts: 170
Joined: Fri Oct 05, 2007 5:34 pm

Post by llow »

I'm looking to do some rewrite of the code when I have a chance. Anything in the works currently to better integrate into Cacti.

For example:

1) Get rid of extra devices table, add devices from cacti to the "site".
2) Link device_types directly to host templates.
3) SNMPv3 support

All 3 seem easy to do but probably will require a large amount of the code to change. Let me know what you think.

NOTE: Btw line 329 in the current release has a typo in the select statement.
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Just a simple request for the future versions:

mac_track_device_types.sysDescr_match

Should be a little larger than 20 characters. I'm seeing more and more devices that have a sysDescr that's rather large. I've increased mine up to 80 to take into account for some of my devices.

I'm assuming that you put the % wildcard in there to maybe compensate for larger descriptions, but I've never seen the wildcard work. Whenever I have used it, I've always seen those devices as Error.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests