[ZBX-19923] Incorrect audit after context name change in host prototype Created: 2021 Sep 07  Updated: 2024 Apr 10  Resolved: 2021 Sep 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 6.0.0alpha2, 6.0.0alpha3
Fix Version/s: 6.0.0alpha3, 6.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Sergejs Maklakovs Assignee: Andrejs Kozlovs
Resolution: Fixed Votes: 0
Labels: audit, discoveryrule, hostprototypes, snmp, snmp_interface
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_999(326).png    
Team: Team C
Sprint: Sprint 80 (Sep 2021)
Story Points: 0.2

 Description   

Steps to reproduce:

  1. Create host with discovery rule. 
  2. Discovery rule should have correct key (we need discovered host).
  3. Add host prototype with SNMPv3.
  4. Fill context name with value - i_am_context
  5. wait till host is discovered and created. 
  6. Update host prototype, changed context name to - now_changed_context.
  7. Check audit.

Result:

host.interfaces[16].details.contextname: now_changed_context => now_changed_context
Expected:
host.interfaces[16].details.contextname: i_am_context => now_changed_context



 Comments   
Comment by Andrejs Kozlovs [ 2021 Sep 17 ]

Available in versions:

Generated at Fri Apr 18 22:46:58 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.