The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Ubic::Watchdog::Notice - Notice service for ubic.

VERSION

version 0.31

SYNOPSIS

    Start notice service:
    $ ubic start ubic.notice

DESCRIPTION

Currently module can notice by email and to HIPCHAT or SLACK service.

INSTALLATION

Put this code in file `/etc/ubic/service/ubic/notice`:

    use Ubic::Service::SimpleDaemon;
    
    Ubic::Service::SimpleDaemon->new(
        bin => ['ubic-notice'],
    );

Put this configuration in file `/etc/ubic/notice.cfg`:

    {
            From => 'likhatskiy@gmail.com',
            To   => 'name@mail.com',
    };

Start it:

    $ ubic start ubic.notice

OPTIONS

From

Sets the email address to send from.

To

Sets the addresses in `MIME::Lite` style to send to.

log

Path to `ubic-watchdog` file for scan. Default is `/var/log/ubic/watchdog.log`.

hipchat

Notice to HIPCHAT service.

        hipchat => {
                token => 'YOUR_TOKEN',
                room  => 'ROOM_NAME'
        },
slack

Notice to SLACK service.

        slack => {
                token    => 'YOUR_TOKEN',
                channel  => '#CHANNEL_NAME'
                username => 'Ubic Server Bot'
        },

SOURCE REPOSITORY

https://github.com/likhatskiy/Ubic-Watchdog-Notice

AUTHOR

Alexey Likhatskiy, <likhatskiy@gmail.com>

LICENSE AND COPYRIGHT

Copyright (C) 2014 "Alexey Likhatskiy"

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.