|
From: | Christina Arsenault |
Subject: | Monit Check Syntax |
Date: | Tue, 18 Dec 2012 11:28:57 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hello Everyone,I am trying to kick off a python script to run once every 15 minutes and to timeout if it takes more than 60 seconds to run. I think maybe I'm doing the wrong kind of "check", here is my attempt.
check program movie_creation with path "/usr/bin/python /home/carsenault/hlcam/videos/monit_movie_creation_test.py" with timeout 60 seconds every 15 cycles
if status != 0 then alert Thanks in advance for your help! Christina Arsenault
[Prev in Thread] | Current Thread | [Next in Thread] |