Ad Widget

Collapse

How to parse response body from SOAP to use it as input value for next SOAP call

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • reddysk
    Junior Member
    • Jan 2024
    • 8

    #1

    How to parse response body from SOAP to use it as input value for next SOAP call

    Dear Community,

    I would like to ask you for advise.

    I have Host using only WEB scenarios for SOAP requests.
    Using simple call with expecting response code 20x is working fine.

    But next I need parse "session ID" from the first one and use it rawdata for next call.

    And let it is not simple, response from second call I need to parse in quite complex way in order to pickup variables from XPATH and visualize them to Dashboard.
    The values represent number of active and failed instances.

    I am considering if it is possible to setup that by series of macros in Zabbix directly or I should use some dedicated agent which will parse all and submit to Zabbix DB.

    Thanks and Cheers, Rudo
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    Web scenarios do not pull data and store them in items to display somewhere... Web scenarios test the availability of a webpage(s) and give you stats about this...
    To pull data from webpages, you should look into http agent type items...

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      Or SCRIPT items with JS code !

      Comment

      Working...