2015-10-22 18:09:36 +02:00
.TH ICINGA2 "8" "October 2015" "icinga2 - The Icinga 2 network monitoring daemon"
2013-09-26 18:01:48 +02:00
.SH NAME
2014-11-27 17:28:49 +01:00
icinga2 \- The Icinga 2 network monitoring daemon
2015-10-22 18:09:36 +02:00
.SH SYNOPSIS
.B icinga2
.I command
[
.I command options
][
.I global options
]
.I command
:= [
.B api | console | daemon | feature | node | object | pki | repository | troubleshoot | variable
]
.B --help
.SH DESCRIPTION
Icinga 2 is an open source monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting.
Scalable and extensible, Icinga 2 can monitor large, complex environments across multiple locations.
.SH OPTIONS
Details for specific command options can be viewed by invoking the command name with
.B --help
parameter.
.SS Global options
.TP
.B -h,--help
Show this help message.
2014-11-27 17:28:49 +01:00
.TP
2015-10-22 18:09:36 +02:00
.B -V,--version
Show version information.
2013-09-26 18:01:48 +02:00
.TP
2015-10-22 18:09:36 +02:00
.B --color
Use VT100 color codes even when stdout is not a terminal.
2013-09-26 18:01:48 +02:00
.TP
2015-10-22 18:09:36 +02:00
.BI "-D, --define" " arg"
Define a constant.
2014-11-27 17:28:49 +01:00
.TP
2015-10-22 18:09:36 +02:00
.BI "-l, --library" " arg"
Load a library.
2014-11-27 17:28:49 +01:00
.TP
2015-10-22 18:09:36 +02:00
.BI "-I, --include" " arg"
Add include search directory.
2013-09-26 18:01:48 +02:00
.TP
2015-10-22 18:09:36 +02:00
.BI "-x, --log-level" " [ debug | notice | information | warning | critical ]"
Specify the log level for the console log, default is
.B information.
2015-11-06 17:56:06 +01:00
.TP
.BI "-X, --script-debugger"
Enables the script debugger. When an exception occurs or the 'debugger' keyword
is encountered in a user script Icinga 2 launches the script debugger that
allows the user to debug the script.
2015-10-22 18:09:36 +02:00
.SS daemon options
The CLI command daemon provides the functionality to start/stop Icinga 2.
Furthermore it provides the configuration validation.
2013-09-26 18:01:48 +02:00
.TP
2015-10-22 18:09:36 +02:00
.BI "-c, --config" " arg"
Using this option you can specify one or more configuration files.
Config files are processed in the order they are specified on the command-line.
When no configuration file is specified and the
.B --no-config
is not used, Icinga 2 automatically falls back to using the configuration file
2018-07-31 11:59:09 +02:00
.B ConfigDir + "/icinga2.conf"
(where ConfigDir is usually
.BI "/etc/icinga2" ")."
2015-10-22 18:09:36 +02:00
2013-09-26 18:01:48 +02:00
.TP
2015-10-22 18:09:36 +02:00
.B "-z, --noconfig"
Start without a configuration file.
2014-11-27 17:28:49 +01:00
.TP
2015-10-22 18:09:36 +02:00
.B "-C, --validate"
This option can be used to check if your configuration files contain errors.
If any errors are found the exit status is 1, otherwise 0 is returned.
2013-09-26 18:01:48 +02:00
.TP
2015-10-22 18:09:36 +02:00
.BI "-e, --errorlog" " arg"
Log fatal errors to the specified log file (only works in combination with
.BR "--daemonize" ")."
2013-09-26 18:01:48 +02:00
.TP
2015-10-22 18:09:36 +02:00
.B "-d, --daemonize"
Detach from the controlling terminal.
2013-09-26 18:01:48 +02:00
.SH "REPORTING BUGS"
2017-01-17 16:50:22 +01:00
Report bugs at <https://github.com/Icinga/icinga2>
2013-09-26 18:01:48 +02:00
.br
2017-01-10 15:54:22 +01:00
Icinga home page: <https://www.icinga.com/>
2013-09-26 18:01:48 +02:00
.SH COPYRIGHT
2017-01-10 15:54:22 +01:00
Copyright \(co 2012\- 2014 Icinga Development Team (https://www.icinga.com)
2013-09-26 18:01:48 +02:00
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.