`juju set-meter-status`


juju set-meter-status [options] [application or unit] status


Sets the meter status on an application or unit.

Global Options:

--debug  (= false)

Equivalent to --show-log --logging-config==DEBUG

-h, --help  (= false)

Show help on a command or other topic.

--logging-config (= "")

Specify log levels for modules

--quiet  (= false)

Show no informational output

--show-log  (= false)

If set, write the log file to stderr

--verbose  (= false)

Show more verbose output

Command Options:

-B, --no-browser-login  (= false)

Do not use web browser for authentication

--info (= "")

Set the meter status info to this string

-m, --model (= "")

Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>


Set meter status on the given application or unit. This command is used to test the meter-status-changed hook for charms in development.


juju set-meter-status myapp RED
juju set-meter-status myapp/0 AMBER --info "my message"

Last updated 1 year, 3 months ago.