Ad Widget

Collapse

Zabbix SAML / configure auto-logout default value

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • StormScorpion
    Junior Member
    • Feb 2024
    • 22

    #1

    Zabbix SAML / configure auto-logout default value

    Hi,
    we use Zabbix with SAML (Azure AD / Entra ID) with JIT provisioning, no SCIM. New users are created with auto-logout set to 15m, which leads to "You are not logged in" errors after some time.
    How can I change the default value to something like 8h? I wasnt able to find anything about this in the docs nor Zabbix settings.
  • Answer selected by StormScorpion at 06-03-2024, 09:18.
    StormScorpion
    Junior Member
    • Feb 2024
    • 22

    I changed the setting in the database, it uses the default value from the users table.
    Code:
    alter table users alter column autologout set default '12h';

    Comment

    • Nicholas185Smith
      Junior Member
      • Feb 2024
      • 1

      #2
      Originally posted by StormScorpion
      Hi,
      we use Zabbix with SAML (Azure AD / Entra ID) with JIT provisioning, no SCIM. New users are created with auto-logout set to 15m, which leads to "You are not logged in" errors after some time.
      How can I change the default value to something like 8h? I wasnt able to find anything about this in the docs nor Zabbix settings.
      Certainly! To adjust the default auto-logout value in Zabbix for SAML-authenticated users, follow these steps:

      SAML Configuration:
      Ensure that your SAML identity provider (such as Azure AD or Entra ID) is correctly configured in Zabbix.
      The Assertion Consumer URL should be set to <path_to_zabbix_ui>/index_sso.php?acs.
      The Single Logout URL should be set to <path_to_zabbix_ui>/index_sso.php?sls.
      Auto-Logout Duration:
      By default, new users are created with an auto-logout setting of 15 minutes.
      To change this, you’ll need to modify the configuration.
      Configuration Adjustment:
      Unfortunately, there isn’t a direct setting in the Zabbix documentation for adjusting the auto-logout duration.
      However, you can explore the following options:
      Database Default: The default auto-logout time is set in the database. You might need to check the database settings or consult Zabbix experts to modify this value.
      Customization: Consider implementing a customization by modifying the Zabbix codebase to set a different default value for auto-logout.
      Consult the Community:
      Visit the Zabbix Forums where other users may have encountered similar issues and found solutions.
      You can post your question there to seek advice from experienced Zabbix users.
      Remember to back up your Zabbix configuration before making any changes, and proceed with caution. Good luck with adjusting the auto-logout duration to better suit your needs!

      Comment

      • StormScorpion
        Junior Member
        • Feb 2024
        • 22

        #3
        I changed the setting in the database, it uses the default value from the users table.
        Code:
        alter table users alter column autologout set default '12h';

        Comment

        Working...