how can I import 200 devices to cacti?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cvillega
Posts: 19
Joined: Tue Jun 21, 2005 4:59 pm

how can I import 200 devices to cacti?

Post by cvillega »

exist any script to make a automatic import of multiples cisco devices? to cacti?
p_a_l_o
Posts: 4
Joined: Wed Jun 29, 2005 11:28 am
Contact:

Post by p_a_l_o »

I need to solve similar problem.
I want to import around 2500 radio devices and 100 managed switches for monitoring traffic, latency and quality of signal.

Is it possible to do this easily?
prefetch
Posts: 11
Joined: Thu Sep 01, 2005 5:45 pm

Post by prefetch »

p_a_l_o wrote:I need to solve similar problem.
I want to import around 2500 radio devices and 100 managed switches for monitoring traffic, latency and quality of signal.

Is it possible to do this easily?
i've just started working with cacti this week, and i need to monitor about 30 machines, growing to 90 in the next few months.

seems like a freaking nightmare to point & click, dropdown, point & click over and over and over again...

i don't think cacti scales well in this regard. what i'd like to do is figure some way to hack the cacti db in mysql and be able to write a script to create all my devices, but that looks awful and i can find any docs on it.

at this point, i'm thinking about not using cacti, but instead just writing my own simple web front-end to graphs made with rrdtool.
Exo7
Cacti User
Posts: 136
Joined: Wed Jul 13, 2005 4:50 pm

Post by Exo7 »

Here is a hint :
http://forums.cacti.net/viewtopic.php?t=7683
It can add devices to Cacti from command line.

With some lines of perl, you could use a .csv file or something and call the script to add a lot of device (that's what I have done).

You will still need to add datasources and graphs for each device manually.
rkramer
Cacti User
Posts: 54
Joined: Fri Jun 03, 2005 12:25 pm

Post by rkramer »

I did pretty much what exo7 did, except I didn't use the command line option, i just wrote up a quick perl script to insert into the db. The script I had would also go as far as creating default graphs for all named interfaces in a cisco device. (Notice I said HAD, lost that in a new computer move...)

but, just getting the device in the system is the largest step as far as user input (and also the easiest to automate), so you may want to consider that route...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest