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

NAME

monotifier - a monitoring tool that provides notifications on different communication channels

VERSION

Version 1.00

SYNOPSIS

    monotifier [options] [commands [args]]

    monotifier send [-I <IDENT>] [-L debug] [-F anonymous]
               [-P 123456789] [-X 60]
               <TO> "<SUBJECT>" "<MESSAGE>"

    monotifier send <TO> "<SUBJECT>" "<MESSAGE>"

OPTIONS

-c CONFIG_FILE, --config=CONFIG_FILE

Use CONFIG_FILE as configuration file

-D DIR, --datadir=DIR, --workdir=DIR

Use DIR as DataDir directory

-d, --debug

Print debug information on STDOUT

-X STR, --expires=STR

Integer value! Defines time offset (in seconds) between publishing date and expiry of publishing

-F FROM, --from=FROM

Defines the From field for message

-h, --help

Show short help information and quit

-L LEVELNAME, --level=LEVELNAME

Set priority level name for sending or updating the message. Supported levels:

    debug
    info
    notice
    warning
    error
    crit
    alert
    emerg
    fatal
    except

Default: debug

-H, --longhelp

Show long help information and quit

-l, --log

Writing debug information in the general log-file - monotifier.log

--logclear

Cleraing the monotifier.log file before the program's run

-n, --notupdate

Don't update file; display results on stdout.

-P PUBDATE, --pubdate=PUBDATE

Integer value! Defines the time (in Unix-Time format) of starting publishing of the message

-I IDENT, --signature=IDENT

Mark each line of the log file (monotifier.log) by a message with MESSAGE. Also signature is ident-string of the message for sending (see send command)

-t, --testmode

Enable test mode. Not recommended, because the test mode suppress any modifications in database and on your hard disk

-v, --verbose

Verbose option. Include Verbose debug data in the STDOUT and to error-log output

-V, --version

Print the version number of the program and quit

COMMANDS

check
    monotifier check <ID>

Check the message by ID

gentoken
    monotifier gentoken

Generate token for client-server interaction and save it to configuration file

    monotifier gentoken -n

Generate token for client-server interaction and display results on stdout.

init
    monotifier init

This command provides initialize of the monotifier: creates configuration files and different related files

remove
    monotifier remove <ID>

Remove the message by ID

send
    monotifier send <TO> "<SUBJECT>" "<MESSAGE>"
    monotifier send -F <FROM> -L <LEVEL> <TO> "<SUBJECT>" "<MESSAGE>"

Send the message

test
    monotifier test

Complete test of the project

    monotifier test short

Short test of the project

update
    monotifier update <ID> -F <NEWFROM> <NEWTO> "<NEWSBJ>" "<NEWMSG>"
    monotifier update <ID> -L <NEWLEVEL>

Update the message by ID

void

The program runs and does nothing

    monotifier void

DESCRIPTION

This is a monitoring tool that provides notifications on different communication channels

See README file

HISTORY

1.00 / Wed Oct 11 11:13:25 2017 GMT

Init version

See CHANGES file

DEPENDENCIES

CTK

TO DO

See TODO file

BUGS

Coming soon

SEE ALSO

perl, CTK

DIAGNOSTICS

The usual warnings if it can't read or write the files involved.

AUTHOR

Sergey Lepenkov (Serz Minus) http://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2017 D&D Corporation. All Rights Reserved

LICENSE

This program is distributed under the GNU GPL v3.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See LICENSE file