Samuel Vogel spake the following on 9/4/2007 12:06 PM:
Hey guys,
I've been trying to set up monin to restart my dns server (mydns). I
tried various config settings, but none of them worked. They either
didn't restart mydns at all oder restarted it all the time until the
timeout was reached!
Here is the last setting I tried:
check process mydns with pidfile /var/run/mydns.pid
start program = "/etc/init.d/mydns start"
stop program = "/etc/init.d/mydns stop"
if failed port 53 type udp protocol dns then restart
if 5 restarts within 5 cycles then timeout
Do you have any hints for me?
Regards,
Samy
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
Is your mydns server listening on localhost?
--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general