Ad Widget

Collapse

Duplicate Item with same 'key'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DPT-Sky
    Junior Member
    • Dec 2013
    • 1

    #1

    Duplicate Item with same 'key'

    I am looking for a way for me to setup several items with same key, but different interfaces.

    I have a Tomcat server with several tomcats on it.
    Each have JMX enabled on separate ports.

    I would like to avoid creating several hosts just to monitor each individual tomcat.

    I am getting the following error:

    Item with key "jmx["java.lang:type=Threading",ThreadCount]" already exists on "APP03".

    Any assistance would be very helpful.

    Thanks.
  • tsalle
    Member
    Zabbix Certified Specialist
    • Oct 2012
    • 79

    #2
    Hello,

    I think you can't create items with the same key on the same host, cause the key field is a primary key in the database.
    You should (as you say) create multiple hosts for each tomcat instance..

    Thierry.

    Comment

    • joseperes
      Junior Member
      • Mar 2019
      • 20

      #3
      Originally posted by DPT-Sky
      I am looking for a way for me to setup several items with same key, but different interfaces.

      I have a Tomcat server with several tomcats on it.
      Each have JMX enabled on separate ports.

      I would like to avoid creating several hosts just to monitor each individual tomcat.

      I am getting the following error:

      Item with key "jmx["java.lang:type=Threading",ThreadCount]" already exists on "APP03".

      Any assistance would be very helpful.

      Thanks.
      I have the same issue, did you find a workaround instead of creating multiple hosts?

      Comment

      Working...