Plug-in scripts for Nagios monitoring tool
Centreon plugin checking soap web services availability
yum install https://centos6.iuscommunity.org/ius-release.rpm
yum install python35u python35u-pip python35u-setuptools
python3.5 -m pip install requests
$USER1$/check_soap --basic-auth-user='$_SERVICEBASICUSER$' --basic-auth-password='$_SERVICEBASICPASSWORD$' --url '$_SERVICEURL$' --data '$_SERVICEDATA$' --success '$_SERVICESUCCESS$' --srv-cert '$_SERVICEPATHCERTSVR$' --client-cert '$_SERVICEPATHCERTCLIENT$' --client-cert-key '$_SERVICEPATHKEY$' --warning '$_SERVICEWARNING$' --critical '$_SERVICECRITICAL$'
MACRO (SERVICE) URL : url of the soap service
MACRO (SERVICE) DATA : xml data to post to the soap service
MACRO (SERVICE) SUCCESS : string to match in the service answer for a valide query
MACRO (SERVICE) PATHCERTSVR : path for the server side certificate
MACRO (SERVICE) PATHCERTCLIENT : path for the client side certificate
MACRO (SERVICE) WARNING : exec time in [ms] for warning tresholds
MACRO (SERVICE) CRITICAL : exec time in [ms] for critical tresholds
MACRO (SERVICE) BASICUSER : basic authentication username
MACRO (SERVICE) BASICPASSWORD : basic authentication password
MACRO (SERVICE) PATHKEY : client side certificate key file