Netdisco & Cacti

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
ahamino
Posts: 1
Joined: Mon Jul 03, 2006 1:12 pm

Netdisco & Cacti

Post by ahamino »

Hey all, is there a way to intergrate Netdisco In Cacti!

I mean a cacti graph appear for every port in netdisco or the data of netdisco appear with every port on cacti
kenth
Posts: 18
Joined: Tue Sep 21, 2004 8:33 am
Contact:

Re: Netdisco & Cacti

Post by kenth »

ahamino wrote:Hey all, is there a way to intergrate Netdisco In Cacti!

I mean a cacti graph appear for every port in netdisco or the data of netdisco appear with every port on cacti
If you get this working I'd be very interested in it. We currently run both here.

NetDisco only uses Postgres as it's DB backend, and Cacti is MySQL so I'm going to say it would take a serious amount of work.
emerillat
Posts: 17
Joined: Mon Mar 21, 2005 8:44 am

Post by emerillat »

Have you looked at Mactrack yet? It does essentially what Netdisco does and is already here and working.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Netdisco???? Why does that make me feel like dancing! :lol:

Ok, ok, sorry, had to post that.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
kenth
Posts: 18
Joined: Tue Sep 21, 2004 8:33 am
Contact:

Post by kenth »

emerillat wrote:Have you looked at Mactrack yet? It does essentially what Netdisco does and is already here and working.
It does but only for devices already in Cacti, correct? We have over 900 routers/switches/firewalls, and we only have about 300 in Cacti. Netdisco does it for any CDP enabled device, builds the database automatically and draws a fairly usable graph of your network in addition to having all the end device info available. We find it incredibly useful.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Kenth,

Being the author or MacTrack, I had to make certain decisions due to my personal goals. In my environment, I had over 2000 switches, routers and hubs, of which 50% did not support CDP. Therefore, there was not much value in adding that functionality.

What I did focus on instead, was the ability to easily maintain a database of port to IP associations with as much port level detail is permissable.

The devices in MacTrack are separate from Cacti's. I did this more to maintain cacti's original database than anything else. So, there is no cross polination, which some may see as a detractor.

However, you could quite easily export you data from your existing database and import into Cacti's MacTrack. That I do support.

Time permitted, I may add fancy graphing and CDP Autodiscovery, but that is not a priority today.

Regards,

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?
emerillat
Posts: 17
Joined: Mon Mar 21, 2005 8:44 am

Post by emerillat »

[quote="kenthIt does but only for devices already in Cacti, correct? We have over 900 routers/switches/firewalls, and we only have about 300 in Cacti. Netdisco does it for any CDP enabled device, builds the database automatically and draws a fairly usable graph of your network in addition to having all the end device info available. We find it incredibly useful.[/quote]

No Mactrack plugs in to Cacti but devices are actually configured seperately. Just because a device is in Cacti doesn't mean it is in Mactrack. You have to re-add or as TheWitness said export them from the cacti tables to the mactrack tables.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Actually, export from Netdisco and import into MacTrack. You can import into MacTrack using a CSV file.

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?
kenth
Posts: 18
Joined: Tue Sep 21, 2004 8:33 am
Contact:

Post by kenth »

TheWitness wrote:Kenth,

The devices in MacTrack are separate from Cacti's. I did this more to maintain cacti's original database than anything else. So, there is no cross polination, which some may see as a detractor.

However, you could quite easily export you data from your existing database and import into Cacti's MacTrack. That I do support.

Time permitted, I may add fancy graphing and CDP Autodiscovery, but that is not a priority today.

Regards,

TheWitness
Good to know. If you add the CDP Autodiscovery I'd be interested. I just found out I'm going to be adding our other US data centers to Cacti & NetDisco so I'll be at well over 10,000 switches/routers/etc when it's all said and done. Without CDP Autodiscovery I'd be adding things for days.

Anyone ever built a distributed Cacti system? I'm thinking of putting one in each datacenter but I'd like to tie them together in such a way you can look at the info from each in each datacenter. Single Database would most likely work, but I'd like each data center to have it's own....
ashisheth
Posts: 1
Joined: Mon Aug 07, 2006 12:10 am

CSV format

Post by ashisheth »

TheWitness wrote:Actually, export from Netdisco and import into MacTrack. You can import into MacTrack using a CSV file.

TheWitness
Is there any place that has the CSV format required? I have about 1,000 devices i'd like to export/import from NetDisco as well...
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you attempt to import any CSV format, I think the error message provides the syntax. I have to make that better obviously.

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 2 guests