This article explains how to parse JSON responses using Basch Scripts.
This article explains how to monitor the status of services on Linux using OSSEC as an example.