[mythtv-users] Status check/monitoring of mythbackend

jedi at mishnet.org jedi at mishnet.org
Thu Dec 6 16:19:47 UTC 2007


> On Dec 6, 2007 7:56 AM, Ismo Tanskanen <ismot at telemail.fi> wrote:
>
>> Is there a way to check status of mythbackend reliable?
>>
>> My backend (svn) crashes sometimes and misses recordings. This
>> fortunately happens quite seldom.
>>
>> I'm monitoring it with monit, but it does not seem to allways notice
>> that backend is crashed.  Or it is not "crashed" completely, I can see
>> activity on mythbackend.log, for example eit scanning and expiring
>> programs. But livetv, mythweb or recordings does not work without
>> restarting. I assume that some part of backend is crashed but not all.
>>
>> This behavior started after few svn updates, earlier it crashed
>> completely, so it was easy to monitor it and restart.
>>
>> Would be nice if there's software/script available to check status of
>> backend internal "modules" functionality, and restart it if not
>> responding correctly. I think monit has not capabilities to that.
>> Unfortunately I don't have skills to do that myself.
>>
>> - Kane
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>
> http://www.mythtv.org/wiki/index.php/Using_pcsk_to_Supervise_mythbackend

...or alternatively you could just write a simple script that
checks for mythbackend in the process list and restarts is if
it doesn't find it.

   Then run this instead of mythbackend.

[deletia]



More information about the mythtv-users mailing list