hello,

i do thank you for this clarification, and in that perspective
everything is as it should be except for the frontend depends.

However i do believe that zabbix should be perfectly isolated in it's
components: zabbix-server, mysql/postgresql, httpd+php+frontend. So i
could have a clean client-server architecture.
Therefore you should be able to cleanly install zabbix server on a
machine, mysql on another, and the frontend on yet another.
That did not *require* another user for the frontend, however, i believe
that it would be advisable to have one.

but that's my view of it, i guess it is all about criteria. 

regarding dependencies, i installed the frontend on a machine with
apache, zabbix server and php (but not php-mysql) and got an error
trying to access the zabbix frontend. There was no support for php-mysql
and it was not installed with the frontend.
here is the frontend details:

apt-cache show zabbix-frontend-php
    Package: zabbix-frontend-php
    Priority: optional
    Section: net
    Installed-Size: 3588
    Maintainer: Zabbix Maintainers <[EMAIL PROTECTED]>
    Architecture: all
    Source: zabbix
    Version: 1:1.4.6-1
    Depends: apache2 | httpd, php5 | php5-mysql | php5-pgsql, php5-gd,
ucf, dbconfig-common (>= 1.8.19), debconf (>= 0.5) | debconf-2.0
    Recommends: zabbix-server-mysql | zabbix-server-pgsql, mysql-server
(>= 4.0.16-2) | postgresql-8.1
    Filename: pool/main/z/zabbix/zabbix-frontend-php_1.4.6-1_all.deb

i guess it could be solved with a small change on the dependencies:

Depends: apache2 | httpd, php5, php5-mysql | php5-pgsql, php5-gd, ucf,
dbconfig-common (>= 1.8.19), debconf (>= 0.5) | debconf-2.0

cheers

-----Original Message-----
From: Michael Ablassmeier <[EMAIL PROTECTED]>
Reply-To: Michael Ablassmeier <[EMAIL PROTECTED]>
To: João Carneiro <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: zabbix-frontend-php: install through dbiconfig does not
create mysql user
Date: Mon, 1 Sep 2008 11:16:06 +0200

i just tried to reproduce this and i think you got something wrong here.
Installing the zabbix-frontend-php package however also Installs the
zabbix-server-mysql one, which is in the packages Recommends.

Per default, the Zabbix Username and the Zabbix Password you specify during the
zabbix-server installation, should also be used in the frontends package,
(which will ask you which zabbix database/user/password to use).

Otherwise, if you want to use 2 different users, you have to create one user by
yourself, because the frontend package does not *create* any database users, it
just asks you for the username to use .. (ideally the one you specified during
the zabbix-server-* installation).

The dbconfig common scripts work like expected and create all needed users
and schemas within the DB.
 
bye,
    - michael

hi,

On Fri, Aug 29, 2008 at 04:19:40PM +0100, João Carneiro wrote:
> the configuration through dbiconfig does not create a mysql user for the
> frontend to use. i was using a mysql user for the zabbix server and another
> for the frontend to access the database.

i just tried to reproduce this and i think you got something wrong here.
Installing the zabbix-frontend-php package however also Installs the
zabbix-server-mysql one, which is in the packages Recommends.

Per default, the Zabbix Username and the Zabbix Password you specify during the
zabbix-server installation, should also be used in the frontends package,
(which will ask you which zabbix database/user/password to use).

Otherwise, if you want to use 2 different users, you have to create one user by
yourself, because the frontend package does not *create* any database users, it
just asks you for the username to use .. (ideally the one you specified during
the zabbix-server-* installation).

The dbconfig common scripts work like expected and create all needed users
and schemas within the DB.
 
bye,
    - michael




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to