[ZBXNEXT-2590] Logging of slow queries just like MySQL do for UserParemeter Created: 2014 Nov 12  Updated: 2014 Nov 12

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G), Server (S)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Paweł Różański Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I noticed that some of my UserParameter values take a long time to be retrived. One example could be checking version of chef software, which was done by trivial:
UserParameter chef.version,chef-client -v
I found it took over 15 seconds on some machines (I use timeout 15).
It would be nice to set a threshold above which execution of parameter (user defined and build in) are logged (just like slow queries on MySQL), but not terminated yet.



 Comments   
Comment by richlv [ 2014 Nov 12 ]

this would be great to have also for snmp items, ipmi items, external checks...

to clarify, usefulness would be to expose slowness before we start losing data

Generated at Fri Mar 29 01:31:51 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.