ITRS Opsview Cloud Documentation

Changing Opsview Monitor passwords

Overview Copied


There will be a short outage to Opsview Monitor while the passwords are changed.
  1. As root on the orchestrator and all collectors, stop all Opsview Monitor daemons:

    /opt/opsview/watchdog/bin/opsview-monit stop all


If you use SSH tunnels initiated by the collector, this command will close them all so ensure you have access to your collectors without using the tunnel first
  1. Edit passwords on the deploy server (usually the orchestrator) in /opt/opsview/deploy/etc/user_secrets.yml


Passwords should avoid characters such as @, ! and $ due to handling by Perl or by the shell
  1. As root on the deploy server, run Opsview Deploy to reconfigure all configuration files. This will restart the Opsview Monitor daemons automatically on the orchestrator and all collectors:

    /opt/opsview/deploy/bin/opsview-deploy /opt/opsview/deploy/lib/playbooks/setup-everything.yml
  2. As root on the orchestrator and all collectors, validate that all of the Opsview Monitor daemons are running correctly:

    /opt/opsview/watchdog/bin/opsview-monit summary

Changing the “admin” User Interface password Copied

To change the “admin” user password (if the current one is known) via the Opsview Monitor Web Interface follow the steps noted below:

  1. Login as the admin user

  2. Click on the name in the top right, then choose My Profile

  3. Enter the new password in the fields provided, and click Submit Changes


Your current UI session will continue, but you will need to use the new password for the next login.

Recovering the “admin” Web User Interface password Copied

In the event that the “admin” password has been lost, the following commands will reset it to the installation default.

mysql -u root -p
mysql> use opsview;
mysql> UPDATE contacts SET encrypted_password='$2a$10$Jjfhbw7SZVDhLx/0ci3xYOMSpOkhCz7jfSlVKTWK0t4oopg.axcyu' WHERE name="admin";

You should now be able to access the Opsview Monitor Web User Interface once again using the username “admin” and the password “initial”.


Be sure to change the password to something other than the default.
["Opsview On-premises"] ["Troubleshooting", "User Guide"]

Was this topic helpful?