Previous Topic: list (Dashboard Message Management)--List MessagesNext Topic: destroy (Dashboard Message Management)--Destroy a Message


create (Dashboard Message Management)--Create a New Message

Create dashboard message

Syntax
   message create <id> [<prop>=<val>*] --fail-existing  
Parameters
<id>

Message ID - must be in the form 'NNN<text>' where <text> is one or more alphanumeric characters, '-' or '_'.

<prop>=<val>

Message parameters. The following parameters may be specified:

--fail-existing

Fail request if there is already a message with the same ID; otherwise, overwrite the message.

Examples
message create 123BMC severity=alert text="Failed to collect metering data"
message create 123MSG severity=info text="Failed to start %s components on %t." t_arg1=2 t_arg2=1289607952 

Notes: