'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



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source