[ZBX-12384] Mass update form is ignoring JMX endpoint Created: 2017 Jul 17  Updated: 2024 Apr 10  Resolved: 2017 Aug 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.0alpha1
Fix Version/s: 3.4.0alpha2, 3.4 (plan)

Type: Problem report Priority: Minor
Reporter: Vjaceslavs Bogdanovs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team C
Sprint: Sprint 12
Story Points: 0.5

 Description   

Item mass update form is ignoring JMX endpoint.

Steps to reproduce:

  1. Create an item (any will do, but not JMX agent type)
  2. Open mass update form for this item and try changing item type to JMX agent and JMX endpoint to any string (I used "HEY! ENDPOINT IS HERE!!!" as an example).
  3. Update an item.
  4. Observe that JMX endpoint value is ignored and error message is produced:
    Incorrect value for field "jmx_endpoint": cannot be empty.

Thanks to gcalenko for pointing this out.



 Comments   
Comment by Vjaceslavs Bogdanovs [ 2017 Jul 17 ]

(1) [A] Similar problem is with API:

  1. Create an JMX item
  2. Try to change item type from JMX item to trapper item:
    {  
       "jsonrpc":"2.0",
       "method":"item.update",
       "params":[  
          {  
             "itemid":25372,
             "type":2
          }
       ],
       "id":1,
       "auth":"so-auth-token"
    }

And the error message is:

Incorrect value for field "jmx_endpoint": should be empty.

So I have to put extra field in API call like "jmx_endpoint": "" to make it work.

vjaceslavs RESOLVED in r70251

oleg.egorov CLOSED

Generated at Wed Apr 02 15:43:55 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.