Ad Widget

Collapse

The session is not authenticated

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kirin2
    Junior Member
    • Jul 2018
    • 28

    #1

    The session is not authenticated

    I've faced a problem while I'm trying to monitor ESXi 6.0. After configuration I don't get any information.
    In server logs I get:

    Code:
     30679:20180807:071812.747 item "HV1:vmware.eventlog[{$URL}]" became not supported: The session is not authenticated.
     30680:20180807:080308.755 item "HV1:vmware.cluster.discovery[{$URL}]" became not supported: The session is not authenticated.
     30680:20180807:080308.755 item "HV1:vmware.hv.discovery[{$URL}]" became not supported: The session is not authenticated.
     30682:20180807:080309.749 item "HV1:vmware.vm.discovery[{$URL}]" became not supported: The session is not authenticated.
     30681:20180807:080312.756 item "HV1:vmware.fullname[{$URL}]" became not supported: The session is not authenticated.
     30682:20180807:080313.756 item "HV1:vmware.version[{$URL}]" became not supported: The session is not authenticated.
    The same info I have if I move cursor on Discovery rules -> Info(below).
    Click image for larger version  Name:	session is not authentic.png Views:	2 Size:	36.0 KB ID:	363902

    My configuraton looks like:

    ESXi:
    Created user with ReadOnly permissions( I've successfully logged in with params to ESXi)
    SNMP is enabled(SNMP Community configued too) and running on ESXi
    Firewall on ESXi for SNMP opened for zabbix server

    snmpwalk from zabbix server to ESXi: snmpwalk -v1 -c community ip_host successfully run

    Zabbix conf:

    On my ESXi host I have 12 machines, so parameter:
    StartVMwareCollectors=13

    Hostname: HV1
    Templates: Template VM VMware

    Macros:
    {$URL} = http://ip_host/sdk
    {$USERNAME} = user
    {$PASSWORD} = pass
    {$UUID} =
    value after command "vim-cmd hostsvc/hostsummary | grep uuid"(but also I've tried to configure without this param)



    May be somebody had the same problem or have any mind, I'd be grateful
    Attached Files
    Last edited by Kirin2; 07-08-2018, 12:07.
  • Kirin2
    Junior Member
    • Jul 2018
    • 28

    #2
    Trouble was in URL. I've written http instead of https . Thank you

    Comment

    Working...