Normal response.
Unauthorized response.
{- "result": {
- "custom": [
- {
- "name": "temperature alert",
- "detail": "It is hot in here: %l C!",
- "frequency": "sec",
- "priority": 7,
- "cond": {
- "lhs": "temp_internal()",
- "op": "<",
- "rhs": "30"
}
}
], - "reporter": {
- "web": {
- "min-priority": 7,
- "service": "",
- "options": "gzip,secure",
- "user": "jsmith",
- "password": "secret!"
}, - "mail": {
- "server": "smtp.mail.com",
- "user": "egaugealert@mail.com",
- "password": "string",
- "from-address": "eGauge1345",
- "to": [
- {
- "format": "string",
- "min-priority": 3,
- "address": "user@site.com"
}
]
}
}, - "sys-prio": [
- 0,
- 0,
- 7,
- 0,
- 7,
- 4,
- 0,
- 0,
- 1,
- 6,
- 0,
- 0,
- 0,
- 5,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
]
}, - "error": "Error message (present if an error occurred)."
}
Array of objects (configAlertCustom) Up to 32 custom alerts. Custom alerts consist of an arbitrary boolean condition that is checked at certain times. When the condition evaluates to true, the alert is triggered. | |
object (configAlertReporter) The alert reporting configuration. Alerts may be reported via a web server or via an email server. | |
sys-prio | Array of integers (configAlertSysPrio) The priority of each system-generated alert. /sys/alert provides a description of these alerts. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
Array of objects (configAlertCustom) Up to 32 custom alerts. Custom alerts consist of an arbitrary boolean condition that is checked at certain times. When the condition evaluates to true, the alert is triggered. | |
object (configAlertReporter) The alert reporting configuration. Alerts may be reported via a web server or via an email server. | |
sys-prio | Array of integers (configAlertSysPrio) The priority of each system-generated alert. /sys/alert provides a description of these alerts. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
Reset to default. See the descriptions of the individual endpoints for their default values. Commonly, arrays and strings are cleared to empty, numbers are cleared to 0, and booleans are cleared to false
.
Normal response.
Unauthorized response.
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}