Zabbix: Low Level Discovery with Dependent items

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ •

  • @MrMschilder
    @MrMschilder Рік тому

    Hoe doe je dit als je meerdere jsonpaden hebt?

  • @kcsj172011
    @kcsj172011 Рік тому

    Is it possible to have host prototypes, with items, that depend on the master item on the main host?

  • @simonsonjh
    @simonsonjh 3 роки тому +1

    1. Failed: cannot extract value from json by path "$.[?(@.fsname=='{#FSNAME]')].bytes.total.first()": no data matches the specified path
    I get this error above. This video shows "$.[" but the blog shows "$[" without the dot.

    • @simonsonjh
      @simonsonjh 3 роки тому +1

      I see I seriously mis-typed the formula above. I got the test working by substituting "/dev", so the correct one is: $.[?(@.fsname=='/dev')].bytes.total.first() --> $.[?(@.fsname=='{#FSNAME}')].bytes.total.first()

    • @simonsonjh
      @simonsonjh 3 роки тому +1

      Got it! I used this technique to get the state of services from systemctl. Thanks lots :)

  • @justinfielding
    @justinfielding 2 роки тому

    Thank you for your video, this was really useful information and clearly communicated. While not 'exactly' the same, this helped me work out how to achieve a very similar thing using the HTTP agent to pull data and discover objects via an API.