Ad Widget

Collapse

Where is the item key list (in the frontend) read from ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PaoloM
    Junior Member
    • Jun 2025
    • 2

    #1

    Where is the item key list (in the frontend) read from ?

    Hi,
    I'm using Zabbix versione 7.0.15 to monitor about 70 different hosts.

    What follows is not a problem, but I haven't understand if there is something I am missing.

    If I wanto to add a single item to an host :
    • I click on the host
    • then click on Items
    • then click on Create Item.
    In the "New item" page I choose the item type, let's say Agent active.
    Then I click on the button "Select" nearby the "Key" field
    Currently the list does not present all the possible item key; for instance, the key "systemd.unit.get" is missing.

    As I said, this is not a problem : the Zabbix manual is wonderful, and I easily consult the relevant page to access all the details of the various key.

    I am just wandering if I have miss something in my configuration or this is the expected behavior.

    Thanks in advance

    Paolo
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1782

    #2
    Hi, good question. The list title is "Standard items", and the list contains the "normal" Zabbix agent items according to the currently running Zabbix server version. Basically it is a static list, compiled within the Zabbix frontend code. The purpose of the list is to show the commonly used items in a list for user convenience. It doesn't list Agent 2-specific items for example (I think). At the time of item configuration the Zabbix server/frontend does not know the actual capabilities of the Zabbix agent (which vary by version and variant).

    Markku

    Comment

    • PaoloM
      Junior Member
      • Jun 2025
      • 2

      #3
      Hi,
      thank you for your answer.
      As I said, this is not really an issue as the Zabbix documentation is comprehensive and clear.
      I have found that the list is created in CItemData.php (in include/classes/data) but it seems there is no simple and safe way (like an overlay) to modify that file.

      It is worth to submit a feature request or not ?

      Thanks

      Paolo

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1782

        #4
        Available agent item keys depend on (at least)
        • agent type (agent or agent 2)
        • operating system
        • agent version
        • agent configuration
        I'd say that if you have an actionable idea how to get the item keys to the frontend, feel free to submit a feature request.

        Markku

        Comment

        Working...