Ad Widget

Collapse

Autoregistration of devices from intune fails to register.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anders
    Junior Member
    • Jan 2019
    • 8

    #1

    Autoregistration of devices from intune fails to register.

    Setup:
    Zabbix cloud
    Intune line of business app with msi installer of agent2 (7.0.5.2400) for windows 11 laptops.

    Parameters intune:
    /qn SERVER=abc.zabbix.cloud SERVERACTIVE=abc.zabbix.cloud TLSPSKIDENTITY=abc TLSPSKVALUE=7***********7 HOSTMETADATA=PersonalWindowsLaptop

    Setup works fine when adding hostname manually, but not with autoregistration.

    logfile on host says:
    2024/11/19 14:23:34.248628 [101] no active checks on server [abc.zabbix.cloud:10051]: host [ODH-5CG4364V77] not found

    Click image for larger version  Name:	image.png Views:	0 Size:	36.2 KB ID:	494531
    Click image for larger version  Name:	image.png Views:	0 Size:	46.2 KB ID:	494532

    Click image for larger version  Name:	image.png Views:	0 Size:	15.8 KB ID:	494533



    Detailed (level 5) log from agent:

    2024/11/19 13:30:49.015553 connecting to abc.zabbix.cloud:10051 [timeout:3s, connection timeout:3s]
    2024/11/19 13:30:49.090962 Calling C function "tls_new_client()"
    2024/11/19 13:30:49.091910 Calling C function "tls_free()"
    2024/11/19 13:30:49.091910 Calling C function "tls_ready()"
    2024/11/19 13:30:49.091910 Calling C function "tls_connected()"
    2024/11/19 13:30:49.092422 Calling C function "tls_connected()"
    2024/11/19 13:30:49.092520 Calling C function "tls_handshake()"
    2024/11/19 13:30:49.092520 Calling C function "tls_recv()"
    2024/11/19 13:30:49.093199 Calling C function "tls_recv()"
    2024/11/19 13:30:49.142919 Calling C function "tls_send()"
    2024/11/19 13:30:49.142919 Calling C function "tls_handshake()"
    2024/11/19 13:30:49.144181 Calling C function "tls_recv()"
    2024/11/19 13:30:49.144724 Calling C function "tls_recv()"
    2024/11/19 13:30:49.145015 Calling C function "tls_description()"
    2024/11/19 13:30:49.145015 Calling C function "free()"
    2024/11/19 13:30:49.145527 connection established using TLSv1.3 TLS_CHACHA20_POLY1305_SHA256
    2024/11/19 13:30:49.145671 Calling C function "free()"
    2024/11/19 13:30:49.145671 Calling C function "free()"
    2024/11/19 13:30:49.145671 Calling C function "free()"
    2024/11/19 13:30:49.146280 sending [{"request":"active checks","host":"ODH-5CG4364V77","version":"7.0.5","variant":2,"session ":"1***0","config_revis ion":0,"host_metadata":"PersonalWindowsLaptop"}] to [abc.zabbix.cloud:10051]
    2024/11/19 13:30:49.146280 Calling C function "tls_connected()"
    2024/11/19 13:30:49.146789 Calling C function "tls_write()"
    2024/11/19 13:30:49.147051 Calling C function "tls_recv()"
    2024/11/19 13:30:49.147051 Calling C function "tls_recv()"
    2024/11/19 13:30:49.147051 receiving data from [abc.zabbix.cloud:10051]
    2024/11/19 13:30:49.147051 Calling C function "tls_connected()"
    2024/11/19 13:30:49.147051 Calling C function "tls_read()"
    2024/11/19 13:30:49.190306 Calling C function "tls_send()"
    2024/11/19 13:30:49.190306 Calling C function "tls_connected()"
    2024/11/19 13:30:49.190896 Calling C function "tls_read()"
    2024/11/19 13:30:49.193553 Calling C function "tls_send()"
    2024/11/19 13:30:49.193553 Calling C function "tls_connected()"
    2024/11/19 13:30:49.193553 Calling C function "tls_read()"
    2024/11/19 13:30:49.194168 received [{"response":"failed","info":"host [ODH-5CG4364V77] not found"}] from [abc.zabbix.cloud:10051]
    2024/11/19 13:30:49.194168 Calling C function "tls_close()"
    2024/11/19 13:30:49.194678 Calling C function "tls_free()"
    2024/11/19 13:30:49.194678 [101] no active checks on server [abc.zabbix.cloud:10051]: host [ODH-5CG4364V77] not found
    2024/11/19 13:30:49.195227 [101] End of refreshActiveChecks() from abc.zabbix.cloud:10051
    2024/11/19 13:30:49.195227 [101] processing update request (0 requests)
    2024/11/19 13:30:49.195227 [101] skipping empty update for unregistered client
    2024/11/19 13:30:51.013264 [101] In sendHeartbeatMsg() from abc.zabbix.cloud:10051


    Anyone have ideas on this? It seems like the autoregistration is not running at all. Did also try the same with no conditions in the action.
    ​How can I get further on debugging this?

    Conf-file on agent attached.
    Last edited by Anders; 19-11-2024, 15:35.
Working...