Hello guys,
my zabbix server is not able to get datas from my zabbix active agent configuration
here is my setup
i have my zabbix 6.4 server with some proxies.
then i have integrated my vcenter to zabbix server using ProxyA
let say also i have customize my zabbix vmware template as bellow on host_prototypes
the main change is about the host value. for our concern here i made zabbix to see my VMs name as it host id instead of #VM.UUID (the vm id from vmware) as it is on the default configuration
then, when zabbix is discovering my hosts, it setup the real hostname of my vms as zabbix host id
the discovery has gone verry well, and everything is ok. the VMs came with ProxyA as assigned proxy, which is also good for me
now i want to connect the active agent configured on the VM to my zabbix throug the ProxyA
i made my zabbix configuration as bellow
this configuration ensure that the host will contact zabbix using it own hostname which is already known by zabbix as already discovered whith vmware
no change on my proxy configuration
but no data is repported by zabbix
i have configured an auto registration for activeagent machine which run well for VMs as the VMs joined autoregister machine groupe.
but i still not able to get system level data from that agent
on the agent log file, i have bellow error
on the proxy log, i have this as error:
Can anyone help pls.
Sorry to be so long
my zabbix server is not able to get datas from my zabbix active agent configuration
here is my setup
i have my zabbix 6.4 server with some proxies.
then i have integrated my vcenter to zabbix server using ProxyA
let say also i have customize my zabbix vmware template as bellow on host_prototypes
Code:
#Zabbix template for vmware customization
host_prototypes:
-
uuid: 051a1469d4d045cbbf818fcc843a352e
[B]host: '{#HV.NAME}'[/B]
name: '{#HV.NAME}'
group_links:
-
group:
name: Applications
group_prototypes:
-
name: '{#CLUSTER.NAME}'
-
name: '{#DATACENTER.NAME}'
templates:
-
name: 'VMware Hypervisor'
macros:
-
macro: '{$VMWARE.HV.UUID}'
value: '{#HV.UUID}'
description: 'UUID of hypervisor.'
custom_interfaces: 'YES'
interfaces:
-
ip: '{#HV.IP}'
-
uuid: 9fd559f4e88c4677a1b874634dd686f5
name: 'Discover VMware VMs'
type: SIMPLE
key: 'vmware.vm.discovery[{$VMWARE.URL}]'
delay: 1h
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Discovery of guest virtual machines.'
host_prototypes:
-
uuid: 23b9ae9d6f33414880db1cb107115810
[B]host: '{#VM.NAME}'[/B]
name: '{#VM.NAME}'
group_links:
-
group:
name: Applications
group_prototypes:
-
name: '{#CLUSTER.NAME} (vm)'
-
name: '{#DATACENTER.NAME}/{#VM.FOLDER} (vm)'
-
name: '{#HV.NAME}'
templates:
-
name: 'VMware Guest'
macros:
-
macro: '{$VMWARE.VM.UUID}'
value: '{#VM.UUID}'
description: 'UUID of guest virtual machine.'
custom_interfaces: 'YES'
interfaces:
-
ip: '{#VM.IP}'
then, when zabbix is discovering my hosts, it setup the real hostname of my vms as zabbix host id
the discovery has gone verry well, and everything is ok. the VMs came with ProxyA as assigned proxy, which is also good for me
now i want to connect the active agent configured on the VM to my zabbix throug the ProxyA
i made my zabbix configuration as bellow
Code:
#ActiveAgent config file Server=ProxyA,Zabbix-Server ServerActive=ProxyA,Zabbix-Server #Hostname=
no change on my proxy configuration
but no data is repported by zabbix
i have configured an auto registration for activeagent machine which run well for VMs as the VMs joined autoregister machine groupe.
but i still not able to get system level data from that agent
on the agent log file, i have bellow error
Code:
[101] no active checks on server [ProxyA:10051]: host [HMSNSPSUP254154AP] not found [101] no active checks on server [ProxyA:10051]: host [HMSNSPSUP254154AP] not found [101] no active checks on server [ProxyA:10051]: host [HMSNSPSUP254154AP] not found [101] no active checks on server [ProxyA:10051]: host [HMSNSPSUP254154AP] not found
Code:
cannot send list of active checks to "172.16.254.154": host [HMSNSPSUP254154AP] not found cannot send list of active checks to "172.16.254.154": host [HMSNSPSUP254154AP] not found cannot send list of active checks to "172.16.254.154": host [HMSNSPSUP254154AP] not found
Sorry to be so long