Ad Widget

Collapse

[1.3.1]: SQLite backend for zabbix_server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LEM
    Senior Member
    Zabbix Certified Specialist
    • Sep 2004
    • 112

    #1

    [1.3.1]: SQLite backend for zabbix_server

    Hi again,

    on the road to have a SQLite setup operational... I used this params in the zabbix_server.conf :
    Code:
    DBName=/tmp/zabbixdb
    and compiled my zabbix_server with this configure options:
    Code:
    ./configure --enable-server --with-sqlite3
    My server seems to work : fail to start if no DB on the specified (DBName) path, and log 'as usual' when a 'correct' (at least with shema and most of datas... see another post with some issues I face with initial SQLite DB injection) SQLite database exists.

    I suggest to enforce documentation (Manual/Webpages) with:
    *2.4.3, step 4 : indicating the ./configure --enable-server --with-sqlite3 if SQLite is wanted.
    *3.2 paragraph: indicating than, in the case of SQLite, only 'DBName' parameter is relevant, and must be the absolute path to the SQLite database used.

    Additionnaly, I'll suggest to comment in the source/misc/conf/zabbix_server.conf the mention for DBName in case of SQLite (path to the SQLite DB file).

    Cheers,
    --
    LEM
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    The PDF document is slightly out of sync with the online version. There is information about building of SQLite3 enabled server:

    http://www.zabbix.com/manual/v1.4/in...rce_server.php

    I absolutely agree with your notes regarding the documentation and the conf file.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...