Note: There will be a short outage to Opsview Monitor while the passwords are changed.
- As root on the orchestrator and all collectors, stop all Opsview Monitor daemons:
/opt/opsview/watchdog/bin/opsview-monit stop all
Note: 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
- Edit passwords on the deploy server (usually the orchestrator) in
Note: Passwords should avoid characters such as
$ due to handling by Perl or by the shell
- 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:
- As root on the orchestrator and all collectors, validate that all of the Opsview Monitor daemons are running correctly:
To change the "admin" user password (if the current one is known) via the Opsview Monitor Web Interface follow the steps noted below:
Login as the admin user
Click on the name in the top right, then choose My Profile
Enter the new password in the fields provided, and click Submit Changes
Note: Your current UI session will continue, but you will need to use the new password for the next login.
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".
Note: Be sure to change the password to something other than the default!
Updated over 3 years ago