Hi,
In the API alert, all results come with the same severity, 50.
Is there a way to have different values, depending on the alerts ?
Thanks
Nicolas
{
"subject": "Power Supply 1 at ca-test4503e-8",
"subject_url": "/ipdevinfo/ca-test4503e-8.epfl.ch/#!powerfans",
"subject_type": "PowerSupplyOrFan",
"on_maintenance": false,
"acknowledgement": null,
"event_history_url": "/devicehistory/history/?eventtype=e_psuState",
"netbox_history_url": null,
"device_groups": [
"TEST"
],
"alert_type": {
"name": "psuNotOK",
"description": "A PSU has entered a non-OK state"
},
"event_type": {
"id": "psuState",
"description": "Reports state changes in power supply units"
},
"start_time": "2016-11-25T14:05:44.858",
"end_time": "infinity",
"id": 19198,
"source": "powersupplywatch",
"device": 2292,
"netbox": 237,
"subid": "237",
"value": 100,
"severity": 50
},
{
"subject": "ca-test3850",
"subject_url": "/ipdevinfo/ca-test3850.epfl.ch/",
"subject_type": "Netbox",
"on_maintenance": false,
"acknowledgement": null,
"event_history_url": "/devicehistory/history/?eventtype=e_boxState",
"netbox_history_url": "/devicehistory/history/?netbox=1873",
"device_groups": [],
"alert_type": {
"name": "boxDown",
"description": "Box declared down."
},
"event_type": {
"id": "boxState",
"description": "Tells us whether a network-unit is down or up."
},
"start_time": "2016-11-25T11:06:58.413",
"end_time": "infinity",
"id": 19197,
"source": "pping",
"device": null,
"netbox": 1873,
"subid": "",
"value": 1,
"severity": 50
}