SOAP Script monitoring
Posted: Tue Jun 25, 2019 1:25 am
Hi All,
We are using Nagios Core and we have a new request to monitor SOAP Script. Please find the below script:
--soap '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sal="http://www.sonatacentral.com/service/v3 ... leschannel" xmlns:ser="http://www.sonatacentral.com/service/v30/Service" xmlns:cal="http://www.sonatacentral.com/service/v30/CallerDetails" xmlns:iden="http://www.sonatacentral.com/service/v3 ... tifierType" xmlns:dat="http://www.sonatacentral.com/service/v3 ... v:Envelope>'
===============================================
We have placed this script in Nagios server using this command:
check_command check_soap!--action "GetResponse" --url "http://dc1uat163.twruat.ext/sonata/serv ... nelService" --grep '(?<=40000001>)[0-9]+(?=</)' --soap '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sal="http://www.sonatacentral.com/service/v3 ... leschannel" xmlns:ser="http://www.sonatacentral.com/service/v30/Service" xmlns:cal="http://www.sonatacentral.com/service/v30/CallerDetails" xmlns:iden="http://www.sonatacentral.com/service/v3 ... tifierType" xmlns:dat="http://www.sonatacentral.com/service/v3 ... v:Envelope>'
=============================================
However we are getting an error message as below:
SOAP UNKNOWN: Failed to extract value from response
==================================================
Please someone help me on this request.
Regards,
Srinija.
We are using Nagios Core and we have a new request to monitor SOAP Script. Please find the below script:
--soap '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sal="http://www.sonatacentral.com/service/v3 ... leschannel" xmlns:ser="http://www.sonatacentral.com/service/v30/Service" xmlns:cal="http://www.sonatacentral.com/service/v30/CallerDetails" xmlns:iden="http://www.sonatacentral.com/service/v3 ... tifierType" xmlns:dat="http://www.sonatacentral.com/service/v3 ... v:Envelope>'
===============================================
We have placed this script in Nagios server using this command:
check_command check_soap!--action "GetResponse" --url "http://dc1uat163.twruat.ext/sonata/serv ... nelService" --grep '(?<=40000001>)[0-9]+(?=</)' --soap '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sal="http://www.sonatacentral.com/service/v3 ... leschannel" xmlns:ser="http://www.sonatacentral.com/service/v30/Service" xmlns:cal="http://www.sonatacentral.com/service/v30/CallerDetails" xmlns:iden="http://www.sonatacentral.com/service/v3 ... tifierType" xmlns:dat="http://www.sonatacentral.com/service/v3 ... v:Envelope>'
=============================================
However we are getting an error message as below:
SOAP UNKNOWN: Failed to extract value from response
==================================================
Please someone help me on this request.
Regards,
Srinija.