[mythtv-users] Nagios MythTV Plugin?
ian at duckland.org
Thu Aug 5 22:34:23 EDT 2004
Matt Perry wrote:
> Hi all,
> After a bit of googling, I've come to the conclusion that an official Nagios
> plugin for monitoring MythTV doesn't exist.
> Has anyone written one? Before I write one, I just figured I'd ask. I have
> no idea how much work I'm getting myself into, since I've never coded
> anything for Nagios before :)
No need. Between check_mysql and check_procs, you should be all set.
As an example, in services.cfg, you can do something like:
use generic-service ; Name
of service template to use
And for the backend, you can do use a nrpe check that executes a local
check_procs. You can even use check_disk (from nrpe or directly) and
check_tcp for the mythbackend listening port.
Not to mention check_log for watching the backend log, if so inclined.
There really isn't a need to write a custom plugin... just watch various
aspects of myth and you'll know it's still running...
More information about the mythtv-users