Ad Widget

Collapse

tem with the same key is already inherited from template, proc.get[,,,summary]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • omueller
    Junior Member
    • Mar 2023
    • 2

    #1

    tem with the same key is already inherited from template, proc.get[,,,summary]

    Hello,
    I have newest 6.4.0 templates "Apache by HTTP" and "PHP-FPM by Zabbix agent" - I connect a host to first template Apache, then try to add PHP Template -
    this fails with error Cannot inherit item prototype with key "proc.cpu.util[{#NAME}]" of template "PHP-FPM by Zabbix agent" to host "VM011SVL-000937", because an item with the same key is already inherited from template "Apache by Zabbix agent".
    I think the problem is that both template want to use proc.get[,,,summary]
    does anyone have the same problem or a solution?
    Kind regards
    Otto
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Problem is that both templates have a discovery, which has item prototype with a key "proc.cpu.util[{#NAME}]" ... you can get around it by changing that key in one of templates a little bit.. I guess even "proc.cpu.util[{#NAME},]" should be enough (notice that one comma there)

    Comment

    • WebGreg
      Member
      • Feb 2021
      • 49

      #3
      Hi.

      I have the same problem:

      Cannot inherit item with key "zabbix[host,active_agent,available]" of template "Windows by Zabbix agent active" to host "HostName", because an item with the same key is already inherited from template "IIS by Zabbix agent active".

      I opened Data Collection > Templates > IIS by Zabbix agent active > Value mapping tab > zabbix.host.active_agent.available > I changed it to: zabbix.host.active_agent.available.iis > Update

      But the error appears exactly the same.

      Edit.I found. I don't have to open the template, just select Items in the template list and change it here.​

      Last edited by WebGreg; 16-02-2025, 13:20.

      Comment

      Working...