![]() |
Problem with Setting up monit
Hey,
I've got a problem, within monit my first time of using it ever so still noob in it but in any case, am expanding my horizons. What i have a problem is, this part : Code:
check process apache with pidfile /var/run/httpd.pid This test all works fine and before hand it was just a (then alert) and i changed it because i wanted it to run my script instead which doesn't seem to happen. Does anyone have an idea as to what the problem could be |
does monit run as root ?
your script is in /root/.... maybe monit cannot get in there if it runs as some other user. |
no problems thanks for the reply all fixed now, ca't tell you the problem tried it on a different server and worked fine so...
Anyway cheers |
| All times are GMT -5. The time now is 12:22 PM. |