Ad Widget

Collapse

monitor webservice (soap) by Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • starless_boi
    Junior Member
    • Aug 2013
    • 5

    #1

    monitor webservice (soap) by Zabbix

    Hi every one
    I want to monitor a soap web service from my Zabbix server.
    from different posts, and following link:

    I got sure that this feature is possible from version 2.4 onward,But could not find a practical sample.
    in detail, what I want is to call a asmx page that contains a series of a web services, along with the request I want to send a xml body like:
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:test="http://xxxx.xx/">
    <soap:Body>
    <test:getActiveServices>
    <!--Optional:-->
    <test:username>xxxx</test:username>
    <!--Optional:-->
    <testassword>xxxxxxxx</testassword>>
    </test:getActiveServices>
    </soap:Body>
    </soap:Envelope>
    and get response from web service to compare it with a specific string. (I did this successfully by postman).
    as a workaround, I put the body (above xml) in variable field.
    btw, I added Content-Type: application/soap+xml in headers field.
    but the results was failure.
    after viewing log files, I sow following:
    In httpmacro_append_pair() pkey:'<soap:Envelope xmlns:soap' pvalue:'"http://www.w3.org/2003/05/soap-envelope" xmlns:test="http://xxxxx.xx/">'
    14649:20160118:152914.299 httpmacro_append_pair() "<soap:Envelope xmlns:soap" not enclosed in {}
    14649:20160118:152914.299 End of httpmacro_append_pair():FAIL macro:'(null)'='(null)'
    14649:20160118:152914.299 End of http_process_variables():FAIL

    can you help me,how to add variable, or where to add my request body? this could be very useful if we can do this by Zabbix.
    thanks in advance
  • sperr0w
    Member
    • Oct 2014
    • 44

    #2
    +1, I have the same task.

    I need to get data from SOAP web service in post request.

    I know about integration of zabbix and SOAPUI, but I expect to find native monitoring.

    Is it possible?

    Comment

    • perez89
      Junior Member
      • Dec 2016
      • 3

      #3
      question

      I would like to have the same answer.

      At this moment I'm trying to monitor a SOAP web service, but I cant figurate the right way to do it.

      Can anyone help me?

      thanks!

      Comment

      • juan.mottini
        Junior Member
        • Feb 2018
        • 2

        #4
        Originally posted by perez89
        I would like to have the same answer.

        At this moment I'm trying to monitor a SOAP web service, but I cant figurate the right way to do it.

        Can anyone help me?

        thanks!
        Same here. Any luck finding a way?

        Comment

        Working...