I have an app that reports the status of another app. It does a little more than just check if the app is in the process list.
It returns 0 if OK and -1 if error.
How would I call this app through the zabbix agent and use that to determine if the process that it checks on is OK or not?