StephenKing/chef-zabbix-custom-checks — pull request #4 by nightw (2014-07-15 13:39:15+00:00)
Title: Fixing nginx recipe order

Changed the order of the script and the Zabbix agent config to make sure that the script is available when the Zabbix clients tries to access it when it's running. Else it can break with multiple log messages in the agent log like this:

```
sh: 1: /opt/zabbix/externalscripts/nginx_status.sh: not found
sh: 1: /opt/zabbix/externalscripts/nginx_status.sh: not found
```

Also made the agent restart delayed, since it's not useful to restart it multiple times if it comes to that during the chef-client run because of other recipes too.