Xavpaice Grafana

Channel Revision Published Runs on
latest/stable 4 19 Mar 2021
Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
juju deploy xavpaice-grafana
Show information

Platform:

Ubuntu
18.04 16.04 14.04

Learn about actions >

  • change-user-role

    Set the role of the user

    Params
    • login string

      Login of user to change role for

    • new-role string

      New role to use, one of Viewer, Editor, Read Only Editor or Admin

    Required

    login, new-role

  • create-api-key

    Create an api key given a keyname and a keyrole out of Viewer, Editor, Read Only Editor or Admin

    Params
    • keyname string

      Name of key to be created

    • keyrole string

      Role for key, one of Viewer, Editor, Read Only Editor or Admin

    Required

    keyname, keyrole

  • create-user

    Create an user

    Params
    • email string

      Email of user to be created

    • login string

      Login of user to be created

    • name string

      Name of user to be created

    • password string

      Password of user to be created

    • role string

      role of user to be created, one of Viewer, Editor, Read Only Editor or Admin

    Required

    name, email, login, password, role

  • delete-user

    Delete the user

    Params
    • login string

      Login of user to delete

    Required

    login

  • get-admin-password

    Retrieves the admin password, either auto generated or set in config

  • import-dashboard

    Imports dashboards to grafana. The dashboard argument contains base64 encoded json dashboard. The location contains path on disk to a directory or file containing dashboards to be imported. This must exist on the unit runinng the action

    Params
    • dashboard string

      Contains the dashboard to be imported, in base64 encoded json format

    • location string

      Path to a file or directory containing dashboards to import.

  • set-user-password

    Set the password for a user

    Params
    • login string

      Login of user to change password for

    • new-password string

      New password to use

    Required

    login, new-password