Details
-
Type:
Incident report
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Fix Version/s: 1.8.2, 1.9.0 (alpha)
-
Component/s: Server (S)
-
Labels:None
Description
Due to bug in trapper/active.c add_regexp_name() server does not send builder regexps to agent.
Therefore agent is not able to do regexp based on expression in form @expression_name
Fix is actually simple:
zabbix_server/trapper/active.c:
- *regexp[*regexp_num++] = strdup(regexp_name);
+ *regexp[(*regexp_num)++] = strdup(regexp_name);
Please fix it in future releases.
Thank you for good piece of code, anyway.