NAME
monm - Easily interact with App::MonM from the command line
VERSION
Version 1.08
SYNOPSIS
monm [-dltUvI] [options] [commands [args]]
monm [--debug] [--log] [--testmode] [--conf=CONFFILE] [--datadir=DATADIR]
[ void | test | config | dbi [name] | http [name] |
checkit [countname] | alertgrid [type] | rrd [subcommand] ]
monm test -dv
monm dbi -s SID -u USER -p PASSWORD --sql="select sysdate from dual"
monm dbi -n DBI:mysql:database=MYBASE;host=www.example.com -u LOGIN -p PASSWORD
monm http -q http://www.example.com
monm checkit www.example.com
monm alertgrid agent
monm rrd graph
OPTIONS
- --conf=CONFFILE, --config=CONFFILE
-
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, --debug
-
Enable debug mode. In this mode, debug messages are displayed on the screen
- -D DATADIR, --datadir=DATADIR, --dir=DATADIR
-
The directory of temporary files. Default: system temp directory
- -f FILE, --file=FILE
-
Defines work file
- -F FORMAT, --format=FORMAT
-
Defines output file format: yaml, xml, json, text, dump or none. Default: text
- -h, --help
-
Show help information
- -H, -?, --longhelp
-
Show long help information
- -i FILE, --input=FILE
-
Defines input file
- -l, --log
-
Enabling write debug information to the log file monm_debug.log. 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 monm.log see parameter LogEnable and LogLevel.
- -m METHOD, --method=METHOD
-
Defines METHOD for http command. Supported methods: GET, PUT, POST, HEAD, OPTIONS, TRACE, DELETE, PATCH and CONNECT
- -n DSN, --dsn=DSN
-
Defines DSN for dbi command
- -o FILE, --output=FILE
-
Defines output file
- -p PASSWORD, --password=PASSWORD
-
User's password for selected command
- -q URI, --uri=URI, --url=URI
-
Defines URI for http command
- -r QUERY_STRING, --request=QUERY_STRING
-
Defines QUERY_STRING or CONTENT for PUT/POST method http command
- -s SID, --sid=SID
-
Defines SID for dbi command
- -I, --stdin, --std
-
Uses STDIN for getting data for selected command
- --sql=SQL
-
Defines SQL for dbi command
- -t, --testmode
-
Enabling test mode. The use is not recommended
- -T SECS, --timeout=SECS
-
TimeOut in seconds for selected command
- -u USER, --user=USER
-
User name for selected command
- -U, --utf8
-
Enable UTF8 mode
- -v, --verbose
-
Enabling at which displays information about the progress on the screen
- -V, --version
-
Show version number of App::MonM module
COMMANDS
- void
-
The program starts and does nothing. Is used to test run
- test
-
Performing testing program components. That command is a superset of commands void
- config, configure
-
Command allows you to initialize the monm, prepare it for operation. This command should be performed immediately after the first installation of the module App::MonM
- dbi
-
SQL query using the DBI
- http
-
Performance of HTTP/HTTPS requests using LWP
- checkit
-
Checking the status of services with the possibility of informing about the change of these states
- alertgrid
-
Collection and storage of the latest statistical data from different sources
- rrd
-
Charting mechanism according to collected via alertgrid. See alertgrid command
DESCRIPTION
Simple Monitoring Tools. See README
file
HISTORY
See CHANGES
file
DEPENDENCIES
TO DO
See TODO
file
BUGS
Coming soon
SEE ALSO
perl
, CTK, WWW::MLite
AUTHOR
Serz Minus (Lepenkov Sergey) http://www.serzik.com <minus@mail333.com>
COPYRIGHT
Copyright (C) 1998-2014 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