Nagios check_http - from API XMLSchema

I would like to setup the Nagios check "Check_http" to validate the XMLTAG that the value in the XMLTAG is "Licence Valid"

Link to the API is http://IPADDRESS/webapi/webapi.asmx/HealthCheck

<ISAStatus xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://IPADDRESS/WebAPI/">
<DeviceLicence>
<Status>Licence Valid</Status>
</DeviceLicence>
<MultipleARCLicence>
<Status>Missing Licence</Status>
</MultipleARCLicence>
</ISAStatus>

Or is there an easier way with another Nagios Check ?

Thanks



from Recent Questions - Stack Overflow https://ift.tt/0jAlpn2
https://ift.tt/CuxWqsp

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation