Table device type is free

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

prasadpkulkarni
Posts: 12
Joined: Fri May 29, 2009 4:27 am

Unable to edit device_type

Post by prasadpkulkarni »

Attaching screeshot of device config , here even if I set set scan type as switch/hub it doesn't save in database , manually setting device_type_id in mac_track_devices table also doesn't change the scan type. I have set snmp timeout as 1000ms , still no change. I also run database_upgrade.php many times :( !!
Attachments
device_type
device_type
device_type.JPG (35.64 KiB) Viewed 3327 times
device_config_cisco
device_config_cisco
device_config_cisco.JPG (56.62 KiB) Viewed 3327 times
device_config_dell
device_config_dell
device_config_dell.JPG (59.19 KiB) Viewed 3327 times
prasadpkulkarni
Posts: 12
Joined: Fri May 29, 2009 4:27 am

Unable to edit device_type

Post by prasadpkulkarni »

To be more specific on this issue macktrack_scanner.php takes value from 1st row only from the table "mac_track_device_types" for any device , irespective of whatever value you configure for "device_type_id" column in table "mac_track_devices"

If you change the scannig function of 1st device , same will be used for all other devices.

Any clues with above info ??

[root@cacti mactrack]# php mactrack_scanner.php -id=3 -d

DEBUG: HOST: 10.2.125.10 is alive, processing has begun.
DEBUG: Scanning function is 'get_IOS_dot1dTpFdbEntry_ports'
DEBUG: There are -3 VLANS.


Thanks & regards,

Prasad.
prasadpkulkarni
Posts: 12
Joined: Fri May 29, 2009 4:27 am

[Solved] Unable to edit device_type

Post by prasadpkulkarni »

I apologize for not understanding the "Device Scanning Function Options" in "Mactrack device Type" correctly.

The problem got resolved after filling up "Vendor snmp Object ID Match" value correctly for each device type. I mistakenly thought that it is optional field to fill up :( since the word "to help Macktrack" is used here.

Sorry for all confusion ,

Thanks everybody for giving suggestions to resolve the issue.

Regards,

Prasad.
rvkamat
Posts: 8
Joined: Wed Sep 14, 2011 8:02 am

Re: Table device type is free

Post by rvkamat »

I even added snmp vendor oid information but then too i m not able to see teh device type. it stil shows not detected.
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Table device type is free

Post by JorisFRST »

Please check this out first :

http://forums.cacti.net/viewtopic.php?f ... 47#p215547

If that doesn't work run a php /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id="113" -d (change 113 for your device ID)

and post the output.
Joris.
http://www.routerjanitor.com
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Table device type is free

Post by TheWitness »

I should write documentation one day. But if you read my tag line.... It's a challenge. Once you've got it, and have it working, you've paid the entry fee and can then sail away to increased visibility and all the benefits of it.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests