Hi guys,
I am new to Zabbix ... please forgive if my question is similar to others but I have tired different way but still not solving it..
Here are my setting:
Server 1: zabbix server & zabbix agent
IP: 172.31.11.194
ubuntu@ip-172-31-11-194:~$ hostname
ip-172-31-11-194
Server 1: /usr/share/zabbix/conf/zabbix.conf.php
<?php
// Zabbix GUI configuration file.
global $DB;
$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '0';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = '[username]';
$DB['PASSWORD'] = '[password]';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB['SCHEMA'] = '';
$ZBX_SERVER = '172.31.11.194';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = 'ip-172-31-11-194';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
Server 1: /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBUser=[username]
DBPassword=[password]
Server 1: /etc/zabbix/zabbix_agentd.conf
Server=172.31.11.194
ServerActive=172.31.11.194:10051
Hostname=172.31.11.194
Server 2: zabbix agent
IP: 172.31.6.97
ubuntu@ip-172-31-6-97:~$ hostname
ip-172-31-6-97
Server 2: /etc/zabbix/zabbix_agentd.conf
Server=172.31.11.194
ServerActive=172.31.11.194:10051
Hostname=172.31.11.194
Server 3: zabbix agent
IP: 172.31.12.68
ubuntu@ip-172-31-12-68:~$ hostname
ip-172-31-12-68
Server 3: /etc/zabbix/zabbix_agentd.conf
Server=172.31.11.194
ServerActive=172.31.11.194:10051
Hostname=172.31.11.194
And here are the logs returning..
Server 1: /var/log/zabbix/zabbix_server.log
16574:20180604:032106.488 cannot send list of active checks to "172.31.6.97": host [172.31.11.194] not found
16574:20180604:032121.554 cannot send list of active checks to "172.31.12.68": host [172.31.11.194] not found
16574:20180604:032129.299 cannot send list of active checks to "172.31.11.194": host [172.31.11.194] not found
16574:20180604:032306.637 cannot send list of active checks to "172.31.6.97": host [172.31.11.194] not found
16574:20180604:032321.578 cannot send list of active checks to "172.31.12.68": host [172.31.11.194] not found
16572:20180604:032329.324 cannot send list of active checks to "172.31.11.194": host [172.31.11.194] not found
16574:20180604:032506.660 cannot send list of active checks to "172.31.6.97": host [172.31.11.194] not found
16577:20180604:032521.602 cannot send list of active checks to "172.31.12.68": host [172.31.11.194] not found
16577:20180604:032529.347 cannot send list of active checks to "172.31.11.194": host [172.31.11.194] not found
Server 1: /var/log/zabbix/zabbix_agentd.log
16748:20180604:031929.275 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
16748:20180604:032129.299 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
16748:20180604:032329.324 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
Server 2: /var/log/zabbix/zabbix_agentd.log
17064:20180604:031906.457 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
17064:20180604:032106.481 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
17064:20180604:032306.632 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
Server 3: /var/log/zabbix/zabbix_agentd.log
14006:20180604:031921.516 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
14006:20180604:032121.538 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
14006:20180604:032321.562 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
Basically I have tried also changing the $ZBX_SERVER to OS hostname (i.e. ip-172-31-11-194), and corresponding Hostname parameter in zabbix_agentd.log. After restarting both zabbix server and all agents, the problem is still there...
I think I got lost somewhere setting the hostname in zabbix.. can you guys advise me how to fix it? Thank you very much.
I am new to Zabbix ... please forgive if my question is similar to others but I have tired different way but still not solving it..
Here are my setting:
Server 1: zabbix server & zabbix agent
IP: 172.31.11.194
ubuntu@ip-172-31-11-194:~$ hostname
ip-172-31-11-194
Server 1: /usr/share/zabbix/conf/zabbix.conf.php
<?php
// Zabbix GUI configuration file.
global $DB;
$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '0';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = '[username]';
$DB['PASSWORD'] = '[password]';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB['SCHEMA'] = '';
$ZBX_SERVER = '172.31.11.194';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = 'ip-172-31-11-194';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
Server 1: /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBUser=[username]
DBPassword=[password]
Server 1: /etc/zabbix/zabbix_agentd.conf
Server=172.31.11.194
ServerActive=172.31.11.194:10051
Hostname=172.31.11.194
Server 2: zabbix agent
IP: 172.31.6.97
ubuntu@ip-172-31-6-97:~$ hostname
ip-172-31-6-97
Server 2: /etc/zabbix/zabbix_agentd.conf
Server=172.31.11.194
ServerActive=172.31.11.194:10051
Hostname=172.31.11.194
Server 3: zabbix agent
IP: 172.31.12.68
ubuntu@ip-172-31-12-68:~$ hostname
ip-172-31-12-68
Server 3: /etc/zabbix/zabbix_agentd.conf
Server=172.31.11.194
ServerActive=172.31.11.194:10051
Hostname=172.31.11.194
And here are the logs returning..
Server 1: /var/log/zabbix/zabbix_server.log
16574:20180604:032106.488 cannot send list of active checks to "172.31.6.97": host [172.31.11.194] not found
16574:20180604:032121.554 cannot send list of active checks to "172.31.12.68": host [172.31.11.194] not found
16574:20180604:032129.299 cannot send list of active checks to "172.31.11.194": host [172.31.11.194] not found
16574:20180604:032306.637 cannot send list of active checks to "172.31.6.97": host [172.31.11.194] not found
16574:20180604:032321.578 cannot send list of active checks to "172.31.12.68": host [172.31.11.194] not found
16572:20180604:032329.324 cannot send list of active checks to "172.31.11.194": host [172.31.11.194] not found
16574:20180604:032506.660 cannot send list of active checks to "172.31.6.97": host [172.31.11.194] not found
16577:20180604:032521.602 cannot send list of active checks to "172.31.12.68": host [172.31.11.194] not found
16577:20180604:032529.347 cannot send list of active checks to "172.31.11.194": host [172.31.11.194] not found
Server 1: /var/log/zabbix/zabbix_agentd.log
16748:20180604:031929.275 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
16748:20180604:032129.299 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
16748:20180604:032329.324 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
Server 2: /var/log/zabbix/zabbix_agentd.log
17064:20180604:031906.457 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
17064:20180604:032106.481 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
17064:20180604:032306.632 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
Server 3: /var/log/zabbix/zabbix_agentd.log
14006:20180604:031921.516 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
14006:20180604:032121.538 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
14006:20180604:032321.562 no active checks on server [172.31.11.194:10051]: host [172.31.11.194] not found
Basically I have tried also changing the $ZBX_SERVER to OS hostname (i.e. ip-172-31-11-194), and corresponding Hostname parameter in zabbix_agentd.log. After restarting both zabbix server and all agents, the problem is still there...
I think I got lost somewhere setting the hostname in zabbix.. can you guys advise me how to fix it? Thank you very much.
Comment