

Reference Information › Command Line Shell Reference Guide › Shell Commands › Dashboard Message Management › message create
message create
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:
- severity message severity, may be 'info' or 'alert'; default is 'info'
- text- printf-style message format string
- t_arg1...t_arg10 - insertion strings for 'text' format string
- append printf-style message format string to be appended to text or appended to existing text
- a_arg1...a_arg10- Insertion strings for 'append' format string
- --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
Note:
- The format string specified for the 'text' and 'append' arguments may only specify '%s' and '%t' formats where '%s' is a string and '%t' represents a timestamp (seconds since epoch) that is to be converted to a date/time string and '%%' represents a '%' character.
Copyright © 2013 CA Technologies.
All rights reserved.
 
|
|