Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a RESTful API web service that we would like to monitor with Zabbix. We have sample JSON scripts that check the functionality of the API service.

I understand that Zabbix can do simple web monitoring by logging into pages and looking for specific keywords and what not. Can it also be configured to perform JSON API calls such as GET and POST?

Please help can't find anything in the documentation.


share|improve this question

If you can't get the web service checks to work properly, what you need to setup is an external check as described at

Then you make a shell/perl/php/whatever script that does the checks you want, and prints something like FAILED when the service is down.

Your script goes in the directory specified in your zabbix configuration for ExternalScripts - likely something like /etc/zabbix/externalscripts. Make sure it has appropriate permissions for the zabbix user to be able to execute it.

In the template or host, create a new item, and set the type to external check, and set the key to the name of your script.

Then create a trigger that looks for the "FAILED" line and alerts you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.