-
Problem report
-
Resolution: Won't fix
-
Major
-
None
-
6.2.3rc1
-
None
Steps to reproduce:
- Install 6.2
- Configure https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/msteams/media_msteams.yaml?at=release%2F6.2#115
Result:
if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) { throw 'Incorrect "event_source" parameter given: "' + params.event_source + '".\nMust be 0-3.';
Expected:
No errors:
https://www.zabbix.com/documentation/current/en/manual/api/reference/event/object
Possible values:
0 - event created by a trigger;
1 - event created by a discovery rule;
2 - event created by active agent autoregistration;
3 - internal event;
4 - event created on service status update.