Table device type is free

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

zeus952002
Posts: 5
Joined: Mon Mar 01, 2010 3:34 pm

Table device type is free

Post by zeus952002 »

I had create a device.
but device is not detected because table device type is not view.
Why ?

can you explain to force import table device type define by default ?

Thanks
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

I cannot help you, because I am not familiar with MacTrack.
But for speeding up the process of helping you, please give the other users a little bit more information.

-OS
-Used Plugins
-Cacti Version
-Version of MacTrack
-Logs?

Maybe you also should add a screenshot of your problem. The mother tongue of many users here is not english, as I assume, neither it's yours. Pictures are always a better form of communication than words. :)
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
zeus952002
Posts: 5
Joined: Mon Mar 01, 2010 3:34 pm

Post by zeus952002 »

OS : Linux
Cacti 0.8.7e
PIA 2.6
Mactrack 2.6 with last file http://svn.cacti.net/viewvc/mactrack/trunk/
boost 3.0

Thanks
Attachments
screen copy
screen copy
device-type-not-detected.PNG (5.49 KiB) Viewed 6984 times
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

I'm not sure if I understood your question completely, but could you do the following ?

Add a device type with the info you see when going to the device :
SNMP Information
System: Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(25)SEE2, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled Fri 28-Jul-06 12:55 by yenanh
Uptime: 3197801959
Hostname: ZELXC001.europe.bradycorp.net
ObjectID: .1.3.6.1.4.1.9.1.516

Then go to device types, add
Give it a description (type of switch or router for instance)
You can use the objectID to fill in the Vendor snmp Object ID Match
Then in "System Description Match" you'll need to fill in a part of the "system" line so mactrack knows what device it is, for instance C375 in my example.

mac address scanning function, ip address scanning function and device type need to be filled in too.

Next Macktrack poll it will recognise the device.
zeus952002
Posts: 5
Joined: Mon Mar 01, 2010 3:34 pm

Post by zeus952002 »

I executed the procedure

But in old version, device type exited by default

in version 2.6, device doesn't exist

is it normal ?
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

If this is a fresh install then it's normal it's empty.

If it's an upgrade, the old device types should still be there.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Goto the Console-Device Types and press "Rescan". This will import the new device type into the table. You then have to establish the scanning function(s) and trim down the IFDESCR to something reasonable.

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?
zeus952002
Posts: 5
Joined: Mon Mar 01, 2010 3:34 pm

Post by zeus952002 »

No New Device Types Found! after rescan

Can you explain to verify table device_type exist in database ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Post an image of your devices page with the device in question highlighted.
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?
zeus952002
Posts: 5
Joined: Mon Mar 01, 2010 3:34 pm

Post by zeus952002 »

screenshot
Attachments
device_type not found
device_type not found
Device-type-list-default-rescan-no-device-found.PNG (12.66 KiB) Viewed 6943 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

"device", not "device type".

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?
krom_mon
Posts: 1
Joined: Tue May 18, 2010 7:10 am

Post by krom_mon »

You have to access to your Cisco device.
and apply "show version" in command line .

I think it's more than clear now!
prasadpkulkarni
Posts: 12
Joined: Fri May 29, 2009 4:27 am

Unable to edit device_type

Post by prasadpkulkarni »

I too facing similar problem , the scanning function doesn't change even if you select different device_type , what could be issue , I am using macktrack-2.7[/img]

10.3.1.235 is dell switch , which doesn't give Active MACs with get_IOS_dot1dTpFdbEntry_ports port scanner ..please help..

thanks
Attachments
device_type.JPG
device_type.JPG (37.72 KiB) Viewed 6636 times
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

Can you post a screenshot of the device type config ? Also of the config of the 2 devices in mactrack.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Increase snmp timeout too.
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