Adding multiple hosts or devices

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
jbajc
Posts: 6
Joined: Fri Apr 21, 2006 3:32 am

Adding multiple hosts or devices

Post by jbajc »

Hello,

I have one question. I'm already using cacti for my network monitornig for switches and cisco cmts on my system. I love cacti, but I would like to use it for cable modems. I need to monitor about 10.000 cable modems and adding hosts to cacti one by one would mean a lot of work and too much time spent.

I already have all the hosts in a seperate mysql database. Do you have any idea how to implement this hosts into cacti mysql.

Thank you fo your answers.

lp,
Janko
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Post by AndyStewart »

I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
jbajc
Posts: 6
Joined: Fri Apr 21, 2006 3:32 am

Post by jbajc »

Thank you very much.

I noticed that this guy has also written add_graphs.php but I can't find this script anywhere. Have any ideas where to get it?

Kind regards

Janko
jbajc
Posts: 6
Joined: Fri Apr 21, 2006 3:32 am

Post by jbajc »

Hello again,

Now I created 13405 hosts for cacti and now I have a problem with rrds. If I create graph per host rrds are not created. When I had 300 hosts it worked properly. Have any Ideas?

Kind regards

Janko
User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Post by Instigater »

Might be performance issue. 13k is a hell of a lot hosts. I have 100hosts, 2670 data sources, 1 minute polling interval. Encountered performance issues somewhere around 1500 data sources, SCSI 10k RPM HDD could not manage update rate of those RRD files. Added 4gigs of memory just for disk cache so only RRD updates are written.
Attachments
Disk activity before and after memory upgrade
Disk activity before and after memory upgrade
disk_activity.jpg (32.33 KiB) Viewed 2582 times
jbajc
Posts: 6
Joined: Fri Apr 21, 2006 3:32 am

Post by jbajc »

Tnx,

I droped the cacti database and added 400 users. Now I have problem with script add_graphs.php. It adds graphs I can see it under graph managment, but poller doesn't create any rrds so I created it manualy but poller doesn't update rrds not even if I clear poller cache. I can see this rrds in poller cache so I don't have any ideas why it doesn't update them.

Kind regards,
Janko
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests