Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 2.01 KB

README.md

File metadata and controls

36 lines (29 loc) · 2.01 KB

nagios-scripts

Plug-in scripts for Nagios monitoring tool

Centreon check_soap

Description

Centreon plugin checking soap web services availability

centreon chart

CentOS 6.x install

yum install https://centos6.iuscommunity.org/ius-release.rpm
yum install python35u python35u-pip python35u-setuptools
python3.5 -m pip install requests

Command

$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$'

Arguments

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