Adding a large number of device
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Fri Nov 26, 2004 4:18 pm
Adding a large number of device
I would like to monitoring around 1000 devices that are all the same. Is there a easy way to add these devices into cacti and setup associated graphs. I think I can add the hosts directly to the host table in the DB with a script, but I don't think creating the graphs is going to be that simply. Any suggestions?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Not yet. It's on our list, but we have not gotten any one to write it for us yet.
TheWitness
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?
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?
A big step forward here would be changing the graph/host drop-down blocks in the tree editor to multi-select boxes. If you could select multiple graphs to add at the same time to a tree node adding devices like switches would be MUCH more effecient.TheWitness wrote:Not yet. It's on our list, but we have not gotten any one to write it for us yet.
TheWitness
Same issue here.. A few hundred hosts to add and having to add them manually would be a bit of a pain..
If one would know all the information that gets added to the SQL database, would it not be possible to figure something out to mass-input a large number of new hosts?
Is this information available somewhere, or would I have to make a dump of the database, add a new host, make a new dump and then compare?
Thanks!
ps. Does cacti, by any chance, have an irc channel somewhere?
If one would know all the information that gets added to the SQL database, would it not be possible to figure something out to mass-input a large number of new hosts?
Is this information available somewhere, or would I have to make a dump of the database, add a new host, make a new dump and then compare?
Thanks!
ps. Does cacti, by any chance, have an irc channel somewhere?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Well, it's complex....
I'm a developer and I would have to dump and compare... But, also, that is no my focus area.
What I would suggest is looking at writing a php script that you can run from the command line to add graphs. But, take a look at the existing php files so that you may include the correct includes and run the functions that already exist.
Also, major changes to the templating and graphing are happening in the next version of cacti.
I'm a developer and I would have to dump and compare... But, also, that is no my focus area.
What I would suggest is looking at writing a php script that you can run from the command line to add graphs. But, take a look at the existing php files so that you may include the correct includes and run the functions that already exist.
Also, major changes to the templating and graphing are happening in the next version of cacti.
[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]
[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]
Thanks for the reply Tony.
Any somewhat "tentative" release date/schedule for this next version of cacti? These major changes are making me curious. Maybe I'll try and test it out on some test box. (Had just read your post in announce a bit earlier).
To wait or not to wait before implementing, hohum.
Any somewhat "tentative" release date/schedule for this next version of cacti? These major changes are making me curious. Maybe I'll try and test it out on some test box. (Had just read your post in announce a bit earlier).
To wait or not to wait before implementing, hohum.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
TheWitness and I are in a holding pattern, working on other stuff, until Ian finalizes the templates stuff. So, I don't know when the changes are coming, all I know is they are.
At this time, we don't even have a tenative date, and I care not to give one, as this is a labor of love and not a job.
At this time, we don't even have a tenative date, and I care not to give one, as this is a labor of love and not a job.
[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]
[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]
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
So elequently put!
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?
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?
Who is online
Users browsing this forum: No registered users and 7 guests