How to monitor WSDL and SOAP
Re: How to monitor WSDL and SOAP
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
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:
You will see the output of it's usage as follows:
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.
Code: Select all
/usr/local/nagios/libexec/check_httpCode: 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>]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.
Re: How to monitor WSDL and SOAP
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.
"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.
Re: How to monitor WSDL and SOAP
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
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
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.
Re: How to monitor WSDL and SOAP
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 !
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
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.
Re: How to monitor WSDL and SOAP
I am so sorry for my rude ! thanks for your help!