NAME
monm - simple monitoring tool
SYNOPSIS
monm [options] [commands [args]]
monm [-dltUvI]
monm [-c CONFIG_FILE] [-d DATADIR]
[ configure | checkit [NAMEs] | report [Emails]
| info | remind | show ]
monm configure [/tmp/testconf]
monm checkit foo bar baz
monm report -o /tmp/report.msg
monm report foo@example.com bar@example.com
monm remind
monm info
monm -D info
monm show
monm -D show
OPTIONS
- -c CONFIG_FILE, --config=CONFIG_FILE
-
Full path of the configuration file. The configuration file allows determine the basic default settings, which will use the system if it fails to specify additional configuration files in $CONFDIR directory. The default system path /etc/monm/monm.conf
- -d DATADIR, --datadir=DATADIR, --dir=DATADIR
-
The directory of temporary files.
Default: system temp directory (/tmp/monm)
- -D, --daemondir
-
Use sharedstatedir (/var/lib/monm) directory of daemon process
- -h, --help
-
Show short help information and quit
- -H, --longhelp
-
Show long help information and quit
- -l, --log
-
Enabling write debug information to syslog or user log file.
Do not confuse the debug logging from regular logging to a file monm.log. Regular logging allows you to store information in monm.log on the progress of the processes module, whereas debug logging for debugging of the internal components of the module.
To control the level of debugging see parameter LogEnable and LogLevel.
- -o OUTPUTFILE, --outfile=OUTPUTFILE
-
Sets path to file for output (for reports, eg.)
- -v, --verbose
-
Enabling at which displays information about the progress on the screen
- -V, --version
-
Print the version number of the program and quit
COMMANDS
- configure
-
Configure (initializing) of the App::MonM. This command should be performed after the first installation of the module App::MonM
monm configure /root/monm
This example shows how to extract configuration into NON system directory /root/monm
- checkit
-
Checking the status of services with the possibility of informing about the change of these states
- report
-
Creating a report on the checks
- show
-
Shows current table data of the checkit DB
If -v flag is specified - shows table as dump
- info
-
Shows statistic data, tests config file
- remind
-
Retries sending notifies
DESCRIPTION
Simple monitoring tool
AUTHOR
Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2022 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.