Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


command line setup script

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Guest






PostPosted: Wed Oct 13, 2004 1:11 pm    Post subject: command line setup script Reply with quote

I am looking to create the cacti configuration from the command line. I am looking to implement cacti to monitor approximately 60 hosts. Most of these servers will be the same type requiring the same kind of things to be graphed.

Rather than spend a lot of time creating each host one at a time, I'd like to create (or possibly use one already made) a script that can basically do this:

$ ./addcacti.pl 192.168.1.1 server01 cluster

and it goes and sets up the directories for server01 with the ip of 192.168.1.1 with the templates associated with 'cluster'.

Other than dissecting the current php code, can anyone give me a quick run down on what happens when you setup it up in the web interface?

I assume it creates entries into the database, but any additional insight would be very helpful.

Thanks,
Robert
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group