I would like to use monit to monitor my DNS server. if BIND failed it should stop OSPFD.
i tried this but I get an error;
> check process named with pidfile /var/run/named/named.pid start > program "/etc/init.d/named start" stop program "/etc/init.d/named > stop" > if status != 0 then stop program ospfd
the error is
Error: syntax error 'status'