Hello guys,
I'm implementing a small project where I use the Raspberry Pi to run Zabbix Server with the SQLite3 database to monitor hosts on IPv6. I do not need scalability, but simply because I have a few hardware resources and will monitor only a few hosts.
PROBLEM: In Step 3 "Set DB connection" configuration via web he can not find the SQLite database that I created when testo connection error "Missing database" appears.
PROCEDURES:
1. I run ./Configure and make install correctly as shown below, did the import schema.sql , images.sql and data.sql for zabbix.db which is located in /var/lib/slite/zabbix.db this folder file are as owner zabbix:zabbix and it's permission is 644 .
2 . Zabbix_server.conf in the database looks like this: DBName=/var/lib/slite/zabbix.db , parameters DBUser and DBPassword are not set.
HELP: I think it's something I'm doing wrong, but I have no idea what it is . I'm newbie to Zabbix and is my second implementation of the tool, as configured with MySQL and it worked perfectly, including IPv6. Does anyone have any idea how to help me?
If you need more details just ask, and if possible suggest me where I can get such detail because they do not know the entire structure of Zabbix.
Thank you and sorry Google translate =)
João L.
I'm implementing a small project where I use the Raspberry Pi to run Zabbix Server with the SQLite3 database to monitor hosts on IPv6. I do not need scalability, but simply because I have a few hardware resources and will monitor only a few hosts.
PROBLEM: In Step 3 "Set DB connection" configuration via web he can not find the SQLite database that I created when testo connection error "Missing database" appears.
PROCEDURES:
1. I run ./Configure and make install correctly as shown below, did the import schema.sql , images.sql and data.sql for zabbix.db which is located in /var/lib/slite/zabbix.db this folder file are as owner zabbix:zabbix and it's permission is 644 .
2 . Zabbix_server.conf in the database looks like this: DBName=/var/lib/slite/zabbix.db , parameters DBUser and DBPassword are not set.
Code:
# ./configure --prefix=/etc/zabbix --enable-server --enable-agent --enable-ipv6 --with-sqlite3 --with-net-snmp=/usr/bin/net-snmp-config --with-jabber --with-libcurl=/usr/bin/curl-config --with-ssh2 --with-openipmi
--omitted--
Configuration:
Detected OS: linux-gnu
Install path: /etc/zabbix
Compilation arch: linux
Compiler: gcc
Compiler flags: -g -O2 -I/usr/include -I/usr/local/include -I/usr/lib/perl/5.14/CORE -I. -I/usr/include -I/usr/include -I/usr/include
Enable server: yes
Server details:
With database: SQLite v3.x
WEB Monitoring: yes
Native Jabber: yes
SNMP: net-snmp
IPMI: openipmi
SSH: yes
ODBC: no
Linker flags: -rdynamic -L/usr/lib -L/usr/lib/i386-linux-gnu -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib
Libraries: -lm -ldl -lrt -lresolv -lsqlite3 -liksemel -lcurl -lnetsnmp -lcrypto -lnetsnmp -lcrypto -lssh2 -lOpenIPMI -lOpenIPMIposix
Enable proxy: no
Enable agent: yes
Agent details:
Linker flags: -rdynamic -L/usr/lib/i386-linux-gnu
Libraries: -lm -ldl -lrt -lresolv -lcurl
Enable Java gateway: no
LDAP support: no
IPv6 support: yes
***********************************************************
* Now run 'make install' *
* *
* Thank you for using Zabbix! *
* <http://www.zabbix.com> *
***********************************************************
HELP: I think it's something I'm doing wrong, but I have no idea what it is . I'm newbie to Zabbix and is my second implementation of the tool, as configured with MySQL and it worked perfectly, including IPv6. Does anyone have any idea how to help me?
If you need more details just ask, and if possible suggest me where I can get such detail because they do not know the entire structure of Zabbix.
Thank you and sorry Google translate =)
João L.
Comment