Hi, we are trying to use the TX API endpoint (https://support.timextender.com/timextender-portal-111/timextender-api-endpoints-1110) to check whether TimeXtender jobs have run or failed (or have warnings). We want to check this with Zabbix monitoring tool.
For this check, we are only interested in the last run of a job. The TX API gives us a number of functions, like:
- GET /public/jobs/{job_id}/status: this only gives status none, pending and running. Not failed, errors, warning, ok et cetera….
- GET /public/jobs/{job_id}/logs: this one gives status like completed, failed, warning. But it gives the status of al jobs that have run the last weeks. It also shows ‘severity’ as a property, but it's not documented what different severity states mean.
Questions:
- How can we filter in job logs, so we only get the last execution with status of the execution (errors, failed, ok, ...) ?
- What do different severity states (0,2,..?) mean?
Our main goal is to get the status of the last job exectution.
Thanks!