×
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
- None
Process Copied
- Log in to the orchestrator as
root. - 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.
- Add or update the below configuration to the
opsview_core_web_local_overridessection of youruser_vars.ymlfile:
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.
- Run the
orchestrator-install.ymlplaybook usingopsview-deployto apply the new login attempts limit:
/opt/opsview/deploy/bin/opsview-deploy /opt/opsview/deploy/lib/playbooks/orchestrator-install.yml
["Geneos"]
["FAQ"]