App-MonM

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


1.06 Thu  4 Jul 11:36:05 MSK 2019
    * CTKlib v2.00 adapted

1.07 Mon 15 Jul 08:17:00 MSK 2019
    * Documentation modified
    * Configuration skeleton modified

1.08 Tue 06 Sep 2022 19:41:34 MSK
    * Added new features
    * Added CTK::Timeout to checkits
    * Added -D (daemondir) flag for monm program
    * Added -s (safemode) flag for monmd program
    * Bug fixed: corrected the info method, added condition for SQLite file information
    * Added BasedOn directive to Channel od user context

1.09 Fri 16 Sep 2022 10:31:31 MSK
    * App::MonM::QNotifier: Added the getChanelsBySendTo method
    * Optimized the notify methods

bin/monm_ftp  view on Meta::CPAN

Password for connection

=item B<-P PORTNUMBER, --port=PORTNUMBER>

Port number

Default: 21

=item B<-t SECT, --timeout=SECS>

Timeout value, secs

Default: 120

=item B<-u USERNAME, --user=USERNAME>

Username for connection

=back

=head1 DESCRIPTION

bin/monm_ssh  view on Meta::CPAN

Show long help information and quit

=item B<-P PORTNUMBER, --port=PORTNUMBER>

Port number

Default: 22

=item B<-t SECT, --timeout=SECS>

Timeout value, secs

Default: 60

=back

=head1 DESCRIPTION

SSH checker for App::MonM

=head1 DEPENDENCES

lib/App/MonM/Channel/Command.pm  view on Meta::CPAN


        # Command mask
        #Command curl -d "[MESSAGE]" "https://sms.com/?[MSISDN]"
        Command "echo "[NUMBER]; [SUBJECT]; [MESSAGE]" >> /tmp/fakesms.txt"

        # Schedule
        #At Sun-Sat[00:00-23:59]

        # Command Options
        Content body
        Timeout 20s

    </Channel>

=head1 DESCRIPTION

This module provides command method that send the content
of the message to an external program

=over 4

lib/App/MonM/Checkit/DBI.pm  view on Meta::CPAN

=head1 SYNOPSIS

    <Checkit "foo">

        Enable  yes
        Type    dbi
        DSN     DBI:mysql:database=DBNAME;host=127.0.0.1
        SQL     "SELECT 'OK' AS OK FROM DUAL"
        User    USER
        Password PASSWORD
        Timeout 15s
        Set RaiseError  0
        Set PrintError     0
        Set mysql_enable_utf8   0

        # . . .

    </Checkit>

=head1 DESCRIPTION

lib/App/MonM/ConfigSkel.pm  view on Meta::CPAN

<Channel SMSGW>
    Type    Command
    Enable  on

    #At Sun-Sat[08:00-19:00]

    # Default phone number (MSISDN)
    To +1-424-254-5300

    # SMS Gateway timeout (to SMDP server, eg.)
    Timeout 10s

    # Command for sending
    #Command "echo "[MSISDN]; [SUBJECT]; [MESSAGE]" >> /tmp/fakesms.txt"
    #Command "sendalertsms "[MSISDN]" "[SUBJECT]" "[MESSAGE]""
    #Command "monm_dbi -s SIDNAME -u USER -p PASSWORD -q "SELECT SMS_FUNCTION('[MSISDN]', '[MESSAGE]') FROM DUAL" [MSISDN]"
    #Command "smsbox -D /tmp/smsbox create [MSISDN] "[MESSAGE]""
    #Command curl -d "[MESSAGE]" "https://sms.com/?[MSISDN]"
    Command "echo "[MSISDN];[MESSAGE]" >> /tmp/fakesms.txt"

    #

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.165 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )