NAME App::MonM - Simple monitoring tool VERSION Version 1.06 SYNOPSIS # monm checkit # monm report # monm show DESCRIPTION Simple monitoring tool FEATURES Checking availability of sites (http/https) Checking of database health (DBI) Checking internal and external counters using system commands and tools (command) Supports SMTP, POP3, FTP, SSH protocols, and etc. Interface for SMS sending Easy installation and configuration A small number of system dependencies SYSTEM REQUIREMENTS Perl v5.16+ libwww libnet Net-SNMP To use this module, you must have Net-SNMP installed on your system. More specifically you need the Perl modules that come with it. DO NOT INSTALL SNMP or Net::SNMP from CPAN! The SNMP module is matched to an install of net-snmp, and must be installed from the net-snmp source tree. The Perl module SNMP is found inside the net-snmp distribution. Go to the perl/ directory of the distribution to install it, or run ./configure --with-perl-modules from the top directory of the net-snmp distribution. Net-SNMP can be found at http://net-snmp.sourceforge.net INSTALLATION # sudo cpan install App::MonM ...and then: # sudo monm configure CONFIGURATION By default configuration file located in /etc/monm directory Every configuration directive detailed described in monm.conf file, also see conf.d/checkit-foo.conf.sample file for MonM checkit configuration CRONTAB To automatically launch the program, we recommend using standard scheduling tools, such as crontab * * * * * monm -l checkit >/dev/null 2>>/var/log/monm-error.log For daily reporting: 0 8 * * * monm -l report >/dev/null 2>>/var/log/monm-error.log INTERNAL METHODS again The CTK method for classes extension. For internal use only! See "again" in CTK configure The internal method for initializing the project getdbi my $dbi = $app->getdbi; Returns DBI object nope, skip, wow, yep my $status = $app->nope("Format %s", "text"); Prints status message and returns status. For nope returns - 0; for skip, wow, yep - 1 notify $app->notify(); Sends notifications trigger $app->trigger(); Runs triggers HISTORY See Changes file DEPENDENCIES CTK TO DO See TODO file BUGS * none noted SEE ALSO CTK AUTHOR Serż Minus (Sergey Lepenkov) http://www.serzik.com COPYRIGHT Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved LICENSE This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file and https://dev.perl.org/licenses/