[ZBXNEXT-4504] improve "enabling ... agent" log messages Created: 2018 Apr 16  Updated: 2019 Feb 07

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

Type: Change Request Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Andris Zeila
Resolution: Unresolved Votes: 1
Labels: availability, logging, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Log messages when an item check fails look like this :

JMX agent item "jmx["jboss:service=WebService","State",10019]" on host "test" failed: first network error, wait for 15 seconds

When the host is declared available again, they look like this :

enabling JMX agent checks on host "test": host became available

Notice how the item key is not identified in the latter case.
While knowing the failing key is important, it is also often useful to know which key succeeded (for example, if there are multiple jvms on the same host).

Would be good to add the successful item key in this log message as well.


Generated at Thu Apr 25 12:36:15 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.