我是新手,需要你的帮助。 我们有1个URL需要监视其健康状态。 它正在SOAP中成功执行。我们尝试在nagios中进行configuration并给出错误。请有人提出下面的服务定义中可能出现的错误。
Nagios service definition : =============================== define service{ use generic-service,srv-pnp host_name twrprod1 contact_groups cg_app_leo servicegroups sg_app_leo service_description LEO Health Check notification_period tier2hours check_period tier2hours check_command check_http_I!10.6.157.5!-k 'SOAPAction: "urn:LEOACTIVEService"' -r '<ns:_LEO_ERROR_FND>N</ns:_LEO_ERROR_FND>' -T text/xml -P '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://leoactive.wsbeans.iseries/xsd"><soapenv:Header/><soapenv:Body><xsd:leoactive><\!--Optional:--><xsd:param0><\!--Optional:--><xsd:_EXTRACTS><\!--Optional:--><xsd:_LEO_ERROR_FND></xsd:_LEO_ERROR_FND></xsd:_EXTRACTS></xsd:param0></xsd:leoactive></soapenv:Body></soapenv:Envelope>' -p 10010 -u http://10.6.157.5:10010/web/services/LEOACTIVEService/LEOACTIVE } ============================================= The URL : http://10.6.157.5:10010/web/services/LEOACTIVEService/LEOACTIVE?wsdl
请在这里请你的build议,因为我们无法找出错误。
提前致谢!!
普里亚