Ralf S. Engelschall wrote:
On Sun, Jan 13, 2008, Victor G. Bolshakov wrote:

Ralf S. Engelschall wrote:
On Sun, Jan 13, 2008, Victor G. Bolshakov wrote:

P.S. can you help me with packaging Spine
(http://www.cacti.net/spine_info.php,
http://www.cacti.net/downloads/spine/cacti-spine-0.8.7a.tar.gz) - external
binary poller for Cacti? A'm not so good with RPM.
There is now a "cacti-spine" package. But I guess we have to
pre-configure its spine.conf a little bit and link it into Cacti
(instead of cmd.php), right? Can you tell me details?
Ok.
Cacti config is /openpkg/share/cacti/include/config.php

Significant lines is:
        $database_type = "mysql";
        $database_default = "cacti";
        $database_hostname = "localhost";
        $database_username = "cacti";
        $database_password = "cacti";
        $database_port = "3306";

Spine config is "spine.conf" (near spine binary by default, i think it 
correcteble only in sources for right location)

Significant lines is:
        DB_Host         localhost
        DB_Database     cacti
        DB_User         cacti
        DB_Pass         cacti
        DB_Port         3306

Ok, understood this part. But how does one tell Cacti that Spine is used
instead of cmd.php?

Using Cacti web UI... as i know Cacti store it configuration settings in DB
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to