[ZBX-24736] Random LLD rules are ignored by task manager Created: 2024 Jun 26 Updated: 2025 Jan 07 |
|
Status: | Open |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 6.4.16 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Aleksandr Khudushin | Assignee: | Zabbix Support Team |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Some random LLD rules appears to be ignored by task manager when pressing "Execute now" button for this rule in web interface. LLD manager doesn't receive them for processing. Affected LLD rules also doesn't work when regular execution time arrives. But after some random number of cycles being passed they are finally executed. Configuration cache reload doesn't help. Zabbix Server restart helps but for a short period (maybe only during startup). I see new corresponding entries in task and task_check_now DB tables when pressing "Execute now" button. But task manager marks new tasks with status 3 (completed) and doesn't pass them to lld manager:
2826397:20240625:185410.492 zbx_setproctitle() title:'task manager [processing tasks]'
2826397:20240625:185410.492 query [txnlev:0] [select taskid,type,clock,ttl,proxy_hostid from task where status in (1,2) order by taskid]
2826397:20240625:185410.498 In tm_process_check_now() tasks_num:1
2826397:20240625:185410.498 query [txnlev:0] [select t.taskid,t.status,t.proxy_hostid,td.itemid from task t left join task_check_now td on t.taskid=td.taskid where t.taskid=9161]
2826397:20240625:185410.506 query without transaction detected
2826397:20240625:185410.506 query [txnlev:0] [update task set status=3 where taskid=9161;
]
2826397:20240625:185410.517 End of tm_process_check_now() processed:1
query without transaction detected message in log confuses me. Steps to reproduce:
Result:
Expected:
|