Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26828

Too many HTTP sessions opened

XMLWordPrintable

    • Icon: Patch request Patch request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.17
    • Templates (T)
    • None
    • Zabbix server version: 7.0.16
      Zabbix proxy version: 7.0.16

      Steps to reproduce:

      1. Load the template [link HPE Synergy by HTTP|https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/server/hpe_synergy_http/template_server_hpe_synergy_http.yaml] into Zabbix
      2. Configure the macros on the Synergy host and assign the template
      3. Monitoring should start

      Result:
      After 24 hours of running this template. The Synergy server are reporting too many sessions. See error below.

      Failed to receive data:
      auth : Auth request failed with status code 400: {"errorCode":"AUTHN_SESSION_CLIENT_LIMIT_CROSSED","message":"Login denied. The client 172.23.57.245 has too many active sessions.","details":"The client 172.23.57.245 has the maximum number of active sessions allowed.","recommendedActions":["Do one of the following: log out of existing sessions. Log in from a different IP address. Contact the administrator to increase the maximum number of sessions per client IP address. Wait 24 hours for idle sessions created by scripts to time out and then retry logging in."],"errorSource":null,"nestedErrors":[],"data":{"clientip":"172.23.57.245"}}

      Expected:
      That the monitoring of the items should also work for more than 24 hours

       

      Workaround:

      We changed the "Get data" item to collect the items only every 5 minutes instead of every 1 minute. 

      Solution: 

      We had to change template with the following changes. This template also includes the changes we reported in the Jira ticket https://support.zabbix.com/browse/ZBX-26767.

      We had to add the Auth header to the logout function of script, so the sessions are being properly deleted/destroyed.

            zabbix.support Zabbix Support Team
            florian.baier Florian Baier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: