Hi all,
I need to monitor an internal API that returns XML Strings.
To run it with curl, I do the following:
The output looks like:
I would like to create a Web Monitor scenario that monitors a specific service. I want it to always checks if "APICheckOn" has a status="up". So then later on I can create triggers if a service goes down. How to do that using the Web Scenario tool? Creating a step and addting the required string to be like:
? Would that be enough? Thanks in advance.
I need to monitor an internal API that returns XML Strings.
To run it with curl, I do the following:
Code:
curl --cert /usr/share/zabbix/ssl/certs/cert_prod.pem --key /usr/share/zabbix/ssl/keys/key_prod.key -s https://api.example.com/Ping/1.1
Code:
<?xml version="1.0" encoding="UTF-8"?><ping><service name="FBcheckOnline" status="down"/><service name="APICheckOn" status="up"/></ping>
Code:
"APICheckOn" status="up"
Comment