How to monitor WSDL and SOAP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rayj
Posts: 14
Joined: Thu Mar 14, 2013 12:49 pm

Re: How to monitor WSDL and SOAP

Post by rayj »

Thank,I am no specific string to monitor. Any change in WSDL/SOAP content I want to get Alert. Otherwise, what's mean of Nagios side check? Is it one of wizard or not?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How to monitor WSDL and SOAP

Post by slansing »

What you could do, would be to use check_http to match a string found within the web page that is connected to your WSDL content, and if that string changes because of a WSDL problem the check would alert you. Try this... run the following:

Code: Select all

/usr/local/nagios/libexec/check_http
You will see the output of it's usage as follows:

Code: Select all

Usage: check_http -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]
       [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]
       [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]
       [-s string] [-l] [-r <regex> | -R <case-insensitive regex>] [-P string]
       [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>] [-A string]
       [-k string] [-S] [-C <age>] [-T <content-type>]
From here, you can set the check to monitor a webpage, and set a internal string like I explained above. This can also be set up through the website monitoring wizard within XI.

We will not be able to test this for you here as we no not have WSDL content or SOAP content embedded to test against.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How to monitor WSDL and SOAP

Post by abrist »

If the string is short enough, you could check for the whole expected string.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
rayj
Posts: 14
Joined: Thu Mar 14, 2013 12:49 pm

Re: How to monitor WSDL and SOAP

Post by rayj »

I don't have specific string for monitor in WSDL. I want to monitor any change of WSDL content . Do you know, how to do it now? Otherwise, What you mean Nagios XI side check half way? Could you explain to me. Thanks.

Ray


slansing wrote:Is there a specific string you can monitor which would change if the WSDL content is broken? You would more than likely need to meet the Nagios XI side check half way with the WSDL/SOAP content, as there are no plugins already created which do this. Of course, you can always write your own as well.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How to monitor WSDL and SOAP

Post by slansing »

As stated before there are currently no plugins for this, I was showing an example of one way you could meet the WSDL content half way, you would need to either find or create a string which would change based on weather or not the content is valid.
speerless
Posts: 25
Joined: Thu Mar 28, 2013 8:02 am

Re: How to monitor WSDL and SOAP

Post by speerless »

May I ask another question?
Can nagios be used to monitor embedded devices。if it could , i should migrate the NRPE,shouldn't i?
if somebody knows ,please tell,thank you !
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How to monitor WSDL and SOAP

Post by slansing »

Speerless please allow time for a reply on your thread, we like to keep issues separate between threads to keep down on the clutter. Though I have answered your other thread.
speerless
Posts: 25
Joined: Thu Mar 28, 2013 8:02 am

Re: How to monitor WSDL and SOAP

Post by speerless »

I am so sorry for my rude ! thanks for your help!
Locked