Ad Widget

Collapse

Get Item.key + host name by keyid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PliusZabbixMan
    Junior Member
    • Jan 2024
    • 15

    #1

    Get Item.key + host name by keyid

    Hello,

    I'm trying to analyze my cache usage using

    # zabbix_server -R diaginfo=valuecache

    All of the items are provided with itemid's, but no information what host they belong to. This makes it difficult to track which hosts they belong to and in turn find the cause of high cache usage.

    Is there some way to find hostname / item.key by itemID?

    I tried searching on google and reading the documentation, but all of the cases are the opposite - "How to find itemID by item.key"
  • PeterZielony
    Senior Member
    • Nov 2022
    • 146

    #2
    you can put in web browser something like this:

    https (or HTTP) ://<your_zbx_frontend>/history.php?itemids%5B0%5D=160010&action=showvalues

    bold - is your itemID
    that's the fastest way really

    or query API ..
    Last edited by PeterZielony; 31-01-2024, 12:18.

    Hiring in the UK? Drop a message

    Comment

    • PliusZabbixMan
      Junior Member
      • Jan 2024
      • 15

      #3
      Thank you!

      Comment

      Working...