Ubic::Watchdog - watchdog code
version 1.44_01
use Ubic::Watchdog; Ubic::Watchdog->run(...);
This module contains most of the code needed by ubic-watchdog script.
This is considered to be a non-public class. Its interface is subject to change without notice.
Run watchdog.
Options:
Arrayref with shell-style glob filters.
If this option is given and non-empty, only services matching these filters will be checked.
Compilation timeout for every service (see load_services() method for details).
Enable verbose logging.
Check if service name matches name filter.
Load subservices of given multiservice, using safe compilation timeouts.
(relatively safe, since it doesn't do fork, only sets alarm).
Check all services in the list.
It will traverse to subservices if any of given services are multiservices.
It will fork on every service and check them in parallel fashion.
Check one service.
ubic-watchdog - main watchdog script.
Vyacheslav Matyukhin <mmcleric@yandex-team.ru>
This software is copyright (c) 2012 by Yandex LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Ubic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ubic
CPAN shell
perl -MCPAN -e shell install Ubic
For more information on module installation, please visit the detailed CPAN module installation guide.