[ZBX-3776] Agent should report an error and exit on UserParameter configuration entries with same keys Created: 2011 May 03 Updated: 2017 May 30 Resolved: 2011 May 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Server (S) |
Affects Version/s: | 1.8.6, 1.9.4 (alpha) |
Fix Version/s: | 1.8.6, 1.9.4 (alpha) |
Type: | Incident report | Priority: | Minor |
Reporter: | dimir | Assignee: | dimir |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Consider next UserParameters entries in agentd config file: UserParameter=custom.echo[*],echo $1 Let's print available commands: $ sbin/zabbix_agentd -p | grep custom Duplicate Flexible UserParameters are all added as is, Simple UserParameters are replaced. We agreed that for any UserParameter in case of duplicate key an error should be reported and agent exited instantly. |
Comments |
Comment by richlv [ 2011 May 03 ] |
partially covers ZBXNEXT-770 |
Comment by dimir [ 2011 May 03 ] |
Fixed in dev branch |
Comment by dimir [ 2011 May 06 ] |
Fixed in dev branch |
Comment by dimir [ 2011 May 09 ] |
Fixed in version 1.8.6rc1, r19434. |