Modified for zabbix usage instead of nagios