[mythtv-users] Mythbackend & monit

Scott Harris mythtv at webhounds.net
Tue May 6 19:11:55 UTC 2008



Wade Maxfield wrote:
> I've jut upgraded to 0.21 via MythDora 5, and have setup monit to 
> monitor mythbackend and mysql (same setup as I had with MythDora 4 and 
> MythTV 0.20.2).
> 
> However I've been getting quite a few false positives, and monit has 
> been killing mythbackend and restarting it for me in the middle of 
> recordings.  mythbackend seems to go deaf on the status port (6544) even 
> though it appears to still be running (web browser on my laptop just 
> times out trying to view the status page, but mythfrontend on the same 
> laptop can still browse recordings and start playing one, and 
> mythbackend still appears in list of processes on the backend)
> 
> I had monit set to check the pid file and also the status port with 
> http, however I'm now going to try just checking the master backend port 
> (6543).
> 

Same problem, I fixed most of the FPs by adding timeout:

if failed host 192.168.30.3 port 6544  proto http with timeout 30 
seconds then alert



Scott


More information about the mythtv-users mailing list