I'm moving my existing zabbix agents from passive to active monitoring and installing zabbix 4.0 server from the scratch. I followed the comments on config file as it is and manged to get testing machine and few other machines to work. I used agent active items and discovery rules and network interface auto discovery also works perfectly.
But when I try to config some other VM with the same config file it wont work perfectly. sometime in the latest data pane I can see information but it's not updating correctly. and Zabbix agent active ping always warning that host unreachable for 5 mins. please find my config file below.
##centos_________________________
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
DebugLevel=3
Server=xx.xxx.xx.xx
StartAgents=0
ServerActive=xx.xxx.xx.xx
Hostname=centos_jad11_xen
RefreshActiveChecks=60
Include=/etc/zabbix/zabbix_agentd.d/*.conf
since my zabbix server on different network (cloud) I cannot use simple passive checks. active checks are the only way to configure. I managed to setup my testing debian box even behind the NAT with this same config. but vm's with public IP's getting failed. And there is nothing unusual in agent logs
13205:20181023:110708.748 Zabbix Agent stopped. Zabbix 4.0.0 (revision 85308).
14407:20181023:111049.467 Starting Zabbix Agent [centos_jad11_xen]. Zabbix 4.0.0 (revision 85308).
14407:20181023:111049.468 **** Enabled features ****
14407:20181023:111049.468 IPv6 support: YES
14407:20181023:111049.468 TLS support: YES
14407:20181023:111049.468 **************************
14407:20181023:111049.468 using configuration file: /etc/zabbix/zabbix_agentd.conf
14407:20181023:111049.468 agent #0 started [main process]
14408:20181023:111049.468 agent #1 started [collector]
14410:20181023:111049.469 agent #2 started [active checks #1]
what are the other facts should I check for proper active monitoring ?
But when I try to config some other VM with the same config file it wont work perfectly. sometime in the latest data pane I can see information but it's not updating correctly. and Zabbix agent active ping always warning that host unreachable for 5 mins. please find my config file below.
##centos_________________________
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
DebugLevel=3
Server=xx.xxx.xx.xx
StartAgents=0
ServerActive=xx.xxx.xx.xx
Hostname=centos_jad11_xen
RefreshActiveChecks=60
Include=/etc/zabbix/zabbix_agentd.d/*.conf
since my zabbix server on different network (cloud) I cannot use simple passive checks. active checks are the only way to configure. I managed to setup my testing debian box even behind the NAT with this same config. but vm's with public IP's getting failed. And there is nothing unusual in agent logs
13205:20181023:110708.748 Zabbix Agent stopped. Zabbix 4.0.0 (revision 85308).
14407:20181023:111049.467 Starting Zabbix Agent [centos_jad11_xen]. Zabbix 4.0.0 (revision 85308).
14407:20181023:111049.468 **** Enabled features ****
14407:20181023:111049.468 IPv6 support: YES
14407:20181023:111049.468 TLS support: YES
14407:20181023:111049.468 **************************
14407:20181023:111049.468 using configuration file: /etc/zabbix/zabbix_agentd.conf
14407:20181023:111049.468 agent #0 started [main process]
14408:20181023:111049.468 agent #1 started [collector]
14410:20181023:111049.469 agent #2 started [active checks #1]
what are the other facts should I check for proper active monitoring ?
Comment