Hello,
zabbix server is a fresh installation
zabbix_agent2 v6.4.12 has been installed and configured like this :
On frontend 6.4,
My problem is that myhostname does not appear
zabbix_agent2.log
2024/03/13 14:56:32.167310 Plugin communication protocol version is 6.4.0
2024/03/13 14:56:33.000741 Zabbix Agent2 hostname: [myhostname]
2024/03/13 14:56:34.022454 [101] no active checks on server [192.168.21.236:10051]: host [myhostname] not found
2024/03/13 14:56:40.014336 [101] no active checks on server [192.168.21.236:10051]: host [myhostname] not found
zabbix_server.log
183636:20240313:145529.048 cannot send list of active checks to "192.168.160.126": host [myhostname] not found
183635:20240313:145535.008 cannot send list of active checks to "192.168.160.126": host [myhostname] not found
If i manually add host, like this, it works well
Could you help me please to auto register host when agent is started on it ?
Thanks in advance.
zabbix server is a fresh installation
zabbix_agent2 v6.4.12 has been installed and configured like this :
dpkg -i zabbix-agent2_6.4.12-1+debian12_amd64.deb
Server=192.168.21.236
ListenPort=10050
ServerActive=192.168.21.236
#Hostname=
HostnameItem=system.hostname
HostMetadataItem=system.uname
Timeout=30
Include=./zabbix_agent2.d/plugins.d/*.conf
systemctl start zabbix-agent2.service
Server=192.168.21.236
ListenPort=10050
ServerActive=192.168.21.236
#Hostname=
HostnameItem=system.hostname
HostMetadataItem=system.uname
Timeout=30
Include=./zabbix_agent2.d/plugins.d/*.conf
systemctl start zabbix-agent2.service
On frontend 6.4,
| Linux_server | Métadonnées de l'hôte contient linux | Ajouter hôte Ajouter aux groupes d'hôtes: Discovered hosts, Linux servers Lier aux modèles: Linux by Zabbix agent |
Activé | |
| Windows_server | Métadonnées de l'hôte contient windows | Ajouter hôte Ajouter aux groupes d'hôtes: Discovered hosts, Windows servers Lier aux modèles: Windows by Zabbix agent |
Activé |
| Auto discovery. Linux servers. | Valeur reçue contient Linux État de la découverte égal Fonctionne Type de service égal agent Zabbix |
Ajouter aux groupes d'hôtes: Linux servers Lier aux modèles: Linux by Zabbix agent |
Activé |
zabbix_agent2.log
2024/03/13 14:56:32.167310 Plugin communication protocol version is 6.4.0
2024/03/13 14:56:33.000741 Zabbix Agent2 hostname: [myhostname]
2024/03/13 14:56:34.022454 [101] no active checks on server [192.168.21.236:10051]: host [myhostname] not found
2024/03/13 14:56:40.014336 [101] no active checks on server [192.168.21.236:10051]: host [myhostname] not found
zabbix_server.log
183636:20240313:145529.048 cannot send list of active checks to "192.168.160.126": host [myhostname] not found
183635:20240313:145535.008 cannot send list of active checks to "192.168.160.126": host [myhostname] not found
If i manually add host, like this, it works well
hostname : myhostname
modeles : linux by zabbix agent
groupe d'hotes : linux serveurs
interfaces : Agent / 192.168.160.126 / myhostname / IP / 10050
proxy : none
activé : yes
modeles : linux by zabbix agent
groupe d'hotes : linux serveurs
interfaces : Agent / 192.168.160.126 / myhostname / IP / 10050
proxy : none
activé : yes
Could you help me please to auto register host when agent is started on it ?
Thanks in advance.
Comment