I am new to Zabbix so installed agent and server on same machine to play with it. all seemed to go well, can logion the we interface but it says
Zabbix server is running :No
server and agent seems to be running
root@sun:~# service zabbix-server start
start: Job is already running: zabbix-server
root@sun:~# service zabbix-agent start
start: Job is already running: zabbix-agent
ps aux | grep zabb gives me
zabbix 1033 0.0 0.0 88656 2048 ? S 20:26 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 1047 0.0 0.0 88656 2164 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
zabbix 1048 0.0 0.0 88656 1824 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
zabbix 1049 0.0 0.0 88656 1824 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
zabbix 1050 0.0 0.0 88656 1824 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
zabbix 1051 0.0 0.0 88656 2212 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
root 1894 0.0 0.0 11756 2148 pts/1 S+ 20:35 0:00 grep --color=auto zabb
In zabbix_agentd.conf I have
Server=127.0.0.1
ServerActive=127.0.0.1
Hostname=sun.prsc.org.uk
(the Hostname is not a internet facing one, just a label for the server)
zabbix.conf.php
<?php
// Zabbix GUI configuration file
global $DB;
$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '0';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = 'mysql_password';
// SCHEMA is relevant only for IBM_DB2 database
$DB['SCHEMA'] = '';
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
~
(mysql_password is the actual password)
zabbix_server.conf
zabbix_server.conf is the same as above.
I installed from the Ubuntu 14.04 repositories.
What have I done wrong.
Ben
Zabbix server is running :No
server and agent seems to be running
root@sun:~# service zabbix-server start
start: Job is already running: zabbix-server
root@sun:~# service zabbix-agent start
start: Job is already running: zabbix-agent
ps aux | grep zabb gives me
zabbix 1033 0.0 0.0 88656 2048 ? S 20:26 0:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix 1047 0.0 0.0 88656 2164 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
zabbix 1048 0.0 0.0 88656 1824 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
zabbix 1049 0.0 0.0 88656 1824 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
zabbix 1050 0.0 0.0 88656 1824 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
zabbix 1051 0.0 0.0 88656 2212 ? S 20:26 0:00 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
root 1894 0.0 0.0 11756 2148 pts/1 S+ 20:35 0:00 grep --color=auto zabb
In zabbix_agentd.conf I have
Server=127.0.0.1
ServerActive=127.0.0.1
Hostname=sun.prsc.org.uk
(the Hostname is not a internet facing one, just a label for the server)
zabbix.conf.php
<?php
// Zabbix GUI configuration file
global $DB;
$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '0';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = 'mysql_password';
// SCHEMA is relevant only for IBM_DB2 database
$DB['SCHEMA'] = '';
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
~
(mysql_password is the actual password)
zabbix_server.conf
zabbix_server.conf is the same as above.
I installed from the Ubuntu 14.04 repositories.
What have I done wrong.
Ben
Comment