[ZBX-3895] Unable to remove 'Interface' of type JMX from host in failed state without linked jmx items. Created: 2011 Jun 17  Updated: 2017 Dec 18  Resolved: 2011 Oct 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.5 (alpha)
Fix Version/s: 2.0.0

Type: Incident report Priority: Blocker
Reporter: Eli Stair Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: jmx, multipleinterfaces
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

zabbix-pre-1.9.5-20086


Attachments: HTML File page.html    

 Description   

Created host with interfaces for both Agent and JMX.
Link template including JMX items.
<Monitor.>
Disable JMX on monitored system.
<JMX connector state fails, items fail>
Unlink + clear JMX template + save.
...
The JMX interface (interfaceid:10019) can now no longer be removed from the host, the 'Remove' link is greyed out and no longer has a mouseover function.
The JMX 'Availability' state is still stuck in 'Red', with the error state.

The server does not any longer appear to be attempting to query or update the JMX state since no items are linked, however it is stuck in this condition, failed and unable to be removed.



 Comments   
Comment by Alexander Vladishev [ 2011 Oct 20 ]

Similar issue ZBX-3753

Comment by Oleksii Zagorskyi [ 2011 Oct 21 ]

I cannot reproduce exactly as Eli did, but after emulation the JMX error, I cannot reproduce this bug in the latest trunk rev 22573 (Zabbix 1.9.7)

Comment by Alexey Fukalov [ 2011 Oct 21 ]

I cannot reproduce it too. Are you sure you don't have any items that use that interface?

Comment by Eli Stair [ 2011 Oct 21 ]

IF you guys can't reproduce on the current builds, I think it was probably a SQL issue that's been fixed, I've seen three cases (including this one, the others are Web checks targeting the wrong host for check) where on this build queries are returning the improper results related to items/hosts. I need to get the server onto the 1.9.6 beta (or newer).

Let's close this item, and if it recurs on a more-recent build I'll revisit.

Thanks,

/eli

Comment by Alexey Fukalov [ 2011 Oct 24 ]

Then i close this issue, please reopen it if you have any additional info.

Comment by Alexey Fukalov [ 2011 Oct 24 ]

reopen to change resolution

Comment by Tifenn LE GOFF [ 2017 Dec 18 ]

Hi, I had the same issue, I couldn't remove jmx interface, the remove link looks like disable (in grey). I investigated in database and I saw that interfaceid of jmx interface was in table items but no jmx or tomcat template was linked with this host.

I think that I removed template JMX in the past without click on "Unlink and clear" in host interface.

To resolve this, I just added jmx template to host, click on Update button, return on host configuration, remove jmx template with click on "Unlink and clear" link and click on Update button. After that, the link to remove jmx interface was enable and I could remove this interface.

I hope that can help you.

(sorry for the mistake, I'm french)
Tifenn LE GOFF

Generated at Sun Mar 16 02:08:51 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.