Feature request, bulk add devices

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
snapReality
Posts: 5
Joined: Fri Feb 04, 2005 5:11 pm
Location: Montreal, QC
Contact:

Feature request, bulk add devices

Post by snapReality »

I recently added hundreds of Windows and Netware devices to our Cacti. The basic steps were click Devices, click add, type descrition and hostname/IP, set Host Template, click save. Repeat many, many times.

I would be nice to have some method to "bulk import" from a list. Maybe a CSV file such as:
description, hostname, host_template_to_apply

I think I've read here that some are adding directly to the MySQL dababase.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

This is on the requested feature list, and has been for a while. I do see it being part of cacti, but not in the next release.
[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]
pbulteel
Cacti User
Posts: 150
Joined: Fri Sep 05, 2003 9:20 am
Location: London
Contact:

Post by pbulteel »

The thing about bulk addition is that you then have to create the graphs and select the graphs you want to add.

Example:

HostA, hostname-a, winxp-template
HostB, hostname-b, winxp-template, apache template
HostC, hostname-c, ucd/net-template, apache template, bind-9 template
HostD, hostname-d, winxp-template,

So something else should be done for it... not to mention that maybe you can add the ability to do a network scan and then add the hosts that you can ping or get snmp data from....

Maybe:

Hostname, hostdescription, snmp_ver/community

And then a screen that allows you to do a scan of those and determine what template you COULD apply to it. So you would then select from multiple template for each host.

I'm just throwing in some ideas. =)

-P
uname -a
Makenshi
Posts: 26
Joined: Tue Jun 08, 2004 5:34 am

Post by Makenshi »

Perhaps another way to accomplish this would be to enter a network to scan, and have some method to map the snmp agents detected to the graphs you want to associate with that particular agent.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Lot's of greate ideas. Bandwidth is always a problem. :(

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