Ad Widget

Collapse

Monitor REST with multiple properties JSON

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • revanhernandy
    Junior Member
    • Jan 2024
    • 2

    #1

    Monitor REST with multiple properties JSON

    Hello!

    Is it possible to monitor the HTTP with JSON value with 1 time URL hit?

    HTML Code:
    {
    "MessageAge": 12,
    "CPU": 5,
    "CPU-Process": 17,
    "Memory": 4842,
    "DriveCfree": 84,
    "DriveDfree": 743,
    "TitleCount": 109471,
    "UpTime": 373422,
    "Drift": 0,
    "TimeDeviation": 0,
    "MissingToday": 0,
    "MissingTomorrow": 0,
    "WS-Active": 0,
    "WS-Live-Active": -1
    }
    ​

    I can parse for every json property with JSONpath, but its not a good idea because it would called the URL as the item length, im my case it called URL 14 times!
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Use dependent items with JSONpath preprocessing

    Comment

    • revanhernandy
      Junior Member
      • Jan 2024
      • 2

      #3
      yes i figured out already, thanks for comment

      Comment

      Working...