Guest
|
Posted: Wed Oct 13, 2004 1:11 pm Post subject: command line setup script |
|
|
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 |
|