alarm raise

Raises a specified alarm or alarms. Permissions required: fc or a.

Syntax

CLI
maprcli alarm raise
     -alarm <alarm>
    [ -cluster <cluster> ]
    [ -description <description> ] 
    [ -entity <cluster, entity, host, node, or volume> ]
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/alarm/raise?<parameters> 

Parameters

Parameter

Description

alarm (Required) The alarm type to raise. See Alarm Types.
cluster (Optional) The cluster on which to run the command. The default is the cluster on which the command is run,
description (Optional) A brief description.
entity (Optional) The entity on which to raise alarms. To be able to use this option, you must have your cluster configured to run commands remotely on other clusters. Refer to Configuring Secure Clusters for Running Commands Remotely for information on configuring clusters to run commands remotely on other clusters.. The default is the hostname of the host on which the command is run.

Examples

Raise a specific alarm:

CLI
maprcli alarm raise -alarm NODE_ALARM_DEBUG_LOGGING 
REST
NOTE
For REST examples stated below, use the appropriate SSL-related command line option in the following curl command, according to your SSL setup.
curl -X POST -u <username> 'https://r1n1.sj.us:8443/rest/alarm/raise?alarm=NODE_ALARM_DEBUG_LOGGING'
{"timestamp":1666002682984,"timeofday":"2022-10-17 10:31:22.984 GMT+0000 AM","status":"OK","total":0,"data":[]}