[ZBX-7730] Add/Delete items on LLD after changing the Regular Expressions Created: 2014 Jan 30 Updated: 2017 May 30 Resolved: 2014 Feb 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S), Templates (T) |
Affects Version/s: | 2.2.1 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | yuusou | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | lld, regexps | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 6.5 x64; Percona XtraDB Cluster 5.6; 32G RAM; 450GB HDD. |
Description |
When editing regular expressions associated to a Low Level Discovery item, items are not create nor deleted with that change. Steps to reproduce.:
I done this test with SNMP, but I believe it's the same with the Agent. |
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Jan 30 ] |
In discovery rule configuration, what value do have "Keep lost resources period (in days)" set to? It is 30 days by default. If you wish to remove discovered items that do not match the filter anymore immediately, you should set the field to 0 days. |
Comment by yuusou [ 2014 Jan 30 ] |
I changed "Keep lost resources" to 0 and it made no difference. Wouldn't Zabbix then mark the items as "Not Supported"? That didn't happen and they're being updated, so I believe they're being kept in. I just done the test with a 7 » Null [Character string not included] regex to remove "Null" interfaces (and consequently "VoIP-Null") but the items remained. I also changed the Update Interval to 60 to speed up this test. |
Comment by Alexander Vladishev [ 2014 Feb 14 ] |
Items, triggers and graphs will recreated only after receiving a new discovery data by Zabbix server. Frontend never make any changes in discovered entities. New named regular expression will work only after refreshing the server configuration cache. I'm closing the issue. |