2022-02-22

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

No comments:

Post a Comment