Hi everyone.
I need some help with an automation of host adding and monitoring.
The idea is to autoregister hosts via "Configuration->Actions->Autoregistration", link relevant templates to the hosts, add them to groups and start monitoring automatically.
The first part is successfully done. I registered zabbix proxy with zabbix agent installed as a host. The problem is with the second part: items data is not collected with the next error: no active checks on server [10.0.1.155:10051]: host [VZBXPRX01] not found.
I wonder how is it possible that host is not found if it was autoregistered?
I can see the host in proper groups and linked templates with appropriate hostname in the zabbix frontend (everything according to autoregistration action). I have double checked:
Another question is if "ServerActive" parameter is set, can I use passive checks at the same time for the host? What if both "Server" and "ServerActive" are set? Will this configuration work? In case of using proxy should both parameters point to proxy server IP address and could it be 127.0.0.1 in case agent is installed on zabbix proxy server?
Thank you in advance for your help and ideas.
I need some help with an automation of host adding and monitoring.
The idea is to autoregister hosts via "Configuration->Actions->Autoregistration", link relevant templates to the hosts, add them to groups and start monitoring automatically.
The first part is successfully done. I registered zabbix proxy with zabbix agent installed as a host. The problem is with the second part: items data is not collected with the next error: no active checks on server [10.0.1.155:10051]: host [VZBXPRX01] not found.
I wonder how is it possible that host is not found if it was autoregistered?
I can see the host in proper groups and linked templates with appropriate hostname in the zabbix frontend (everything according to autoregistration action). I have double checked:
- "Host name" feild of autoregistred host in zabbix front end - it is correct (VZBXPRX01).
- In the agent config file "HostnameItem=system.hostname" is used.
- Hostname command in the shell returns VZBXPRX01.
Another question is if "ServerActive" parameter is set, can I use passive checks at the same time for the host? What if both "Server" and "ServerActive" are set? Will this configuration work? In case of using proxy should both parameters point to proxy server IP address and could it be 127.0.0.1 in case agent is installed on zabbix proxy server?
Thank you in advance for your help and ideas.
.
Comment