Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You may need to change the up.time Uptime Infrastructure Monitor Admin user password as part of a regular password rotation if the password has been forgotten or if the previous administrator has left the company.

...

Note:The MySQL database is the default up.time Uptime Infrastructure Monitor database.

 

Changing the Password in MySQL

  1. At the command prompt, enter the following command to change to the directory in which the database is installed:

    Code Block
    languagetext
    cd <uptime_dir>/mysql/bin

    where <uptime_dir> is the directory in which up.time Uptime Infrastructure Monitor is installed.

     

  2. Enter the following command to connect to the database: 

    Code Block
    languagetext
    mysql -uuptime -puptime -P3308 --protocol=tcp uptime
  3. At the MySQL prompt, enter the following statement to change the admin user's password:

    Code Block
    languagesql
    UPDATE users SET password = SHA1("NEWPASSWORD") WHERE username = "admin";

    where NEWPASSWORD is the updated password for the admin user in upUptime Infrastructure Monitor.time.

  4. Type the following command to log out of MySQL:

    Code Block
    languagesql
    exit;

...

  1. Open the desired db client to connect to the up.time Uptime Infrastructure Monitor database in MS SQL or Oracle.
  2. In the query window, enter the following statements to change the admin user's password to "uptime":

    Code Block
    languagesql
    UPDATE users SET password = '6772c61c438ad4ab8964f628de685f4879c55f55' 
    WHERE username = 'admin'; COMMIT;