Back to Opsview FAQ

Change the maximum number of login attempts from an IP before it gets locked out

Opsview temporarily prevents logins from IP addresses that repeatedly fail to log in. You can change the threshold at which this happens. Follow these steps to adjust the number of maximum login attempts before an IP address is blocked.

Prerequisites Copied

Process Copied

  1. Log in to the orchestrator as root.
  2. Open your user_vars.yml file (/opt/opsview/deploy/etc/user_vars.yml) in your preferred text editor.

YML editing

Take care to ensure proper formatting when editing YML files, including using only two spaces per level of indentation.

  1. Add or update the below configuration to the opsview_core_web_local_overrides section of your user_vars.yml file:
opsview_core_web_local_overrides:
  Controller::Root:
    login_throttling:
      ip_limit: 5 # replace 5 with your desired number of maximum login attempts

opsview_core_web_local_overrides section does not exist Copied

If the opsview_core_web_local_overrides section does not exist, create it by adding the above configuration to the end of your user_vars.yml file.

  1. Run the orchestrator-install.yml playbook using opsview-deploy to apply the new login attempts limit:
/opt/opsview/deploy/bin/opsview-deploy /opt/opsview/deploy/lib/playbooks/orchestrator-install.yml
["Geneos"] ["FAQ"]

Was this topic helpful?