/api/v1.0/system/alert does not contain the key dismissed?

Status
Not open for further replies.

Goran Tornqvist

Dabbler
Joined
Dec 11, 2014
Messages
10
http://api.freenas.org/resources/system.html#get--api-v1.0-system-alert- has an example response with a
"dismissed" key of value "false".

Currently I have a disk space alert for my disk and I unmarked the checkbox in the freenas alertbox so its green and nice but the json still doesnt contain the "dismissed" key.
I could really need this key since I have a nagios plugin that monitors these alerts and I would like to clear ("acknowledge") the alert somehow :)

Code:
{
  "id": "3dba5ae7059c9fd667e01e25b8369106",
  "level": "WARN",
  "message": "The capacity for the volume 'vol1' is currently at 84%, while the recommended value is below 80%."
}


Any idea how the "dismissed" key works?

FreeNAS-9.2.1.8-RELEASE-x64 (e625626)
 
Status
Not open for further replies.

Similar threads

J
Replies
21
Views
12K
Top