Update documentation.

This commit is contained in:
Michael Friedrich 2013-10-21 21:03:35 +02:00
parent 0c488c84ad
commit e03ffd780a
4 changed files with 10 additions and 7 deletions

View File

@ -21,7 +21,7 @@ are available for your favorite distribution.
> >
> RHEL/CentOS 5 packages require the [EPEL repository](http://fedoraproject.org/wiki/EPEL) > RHEL/CentOS 5 packages require the [EPEL repository](http://fedoraproject.org/wiki/EPEL)
> enabled (which provides the `boost141` package). SLES 11 SP3 and older versions > enabled (which provides the `boost141` package). SLES 11 SP3 and older versions
> require the `boost_1_54_0` package (available on [packages.icinga.org]). > require the `boost_1_54_0` package (available on http://packages.icinga.org).
You can install Icinga 2 by using your distribution's package manager You can install Icinga 2 by using your distribution's package manager
to install the `icinga2` package. to install the `icinga2` package.
@ -52,12 +52,15 @@ By default Icinga 2 uses the following files and directories:
------------------------------------|------------------------------------ ------------------------------------|------------------------------------
/etc/icinga2 | Contains Icinga 2 configuration files. /etc/icinga2 | Contains Icinga 2 configuration files.
/etc/init.d/icinga2 | The Icinga 2 init script. /etc/init.d/icinga2 | The Icinga 2 init script.
/usr/bin/icinga2-* | Migration and certificate build scripts.
/usr/sbin/icinga2* | The Icinga 2 binary and feature enable/disable scripts.
/usr/share/doc/icinga2 | Documentation files that come with Icinga 2. /usr/share/doc/icinga2 | Documentation files that come with Icinga 2.
/usr/share/icinga2/itl | The Icinga Template Library. /usr/share/icinga2/itl | The Icinga Template Library.
/var/run/icinga2 | PID file. /var/run/icinga2 | PID file.
/var/run/icinga2/cmd | Command pipe and Livestatus socket. /var/run/icinga2/cmd | Command pipe and Livestatus socket.
/var/cache/icinga2 | Performance data files and status.dat/objects.cache. /var/cache/icinga2 | Performance data files and status.dat/objects.cache.
/var/lib/icinga2 | The Icinga 2 state file. /var/lib/icinga2 | The Icinga 2 state file.
/var/log/icinga2 | Log file location and compat/ directory for the CompatLogger feature.
### icinga2.conf ### icinga2.conf

View File

@ -18,7 +18,7 @@ Icinga 2's init script is installed in `/etc/init.d/icinga2` by default:
> **Note** > **Note**
> >
> By default the Icinga 2 daemon is running as `icinga` user and group. > By default the Icinga 2 daemon is running as `icinga` user and group
> using the init script. Using Debian packages the user and group are set to `nagios` > using the init script. Using Debian packages the user and group are set to `nagios`
> for historical reasons. > for historical reasons.

View File

@ -26,7 +26,7 @@ and forward the `debug` serverity into an Icinga 2 debug file.
} }
If you're starting Icinga 2 not as daemon, but in foreground If you're starting Icinga 2 not as daemon, but in foreground
using `/usr/bin/icinga2 -c /etc/icinga2/icinga2.conf` you may using `/usr/sbin/icinga2 -c /etc/icinga2/icinga2.conf` you may
want to enable console logging temporary too. want to enable console logging temporary too.
object ConsoleLogger "debug-console" { object ConsoleLogger "debug-console" {

View File

@ -39,18 +39,18 @@ All required templates will be inherited from Icinga2's Template Library (ITL).
Regular expressions are not supported, also for the reason that this is optional in Icinga 1.x Regular expressions are not supported, also for the reason that this is optional in Icinga 1.x
RUN RUN
# /usr/sbin/icinga2-migrate-config -c /etc/icinga/icinga.cfg -o conf/ # /usr/bin/icinga2-migrate-config -c /etc/icinga/icinga.cfg -o conf/
HELP HELP
# /usr/sbin/icinga2-migrate-config -h # /usr/bin/icinga2-migrate-config -h
VERBOSE VERBOSE
# /usr/sbin/icinga2-migrate-config -v -c /etc/icinga/icinga.cfg -o conf/ # /usr/bin/icinga2-migrate-config -v -c /etc/icinga/icinga.cfg -o conf/
TEST TEST
There's a small icinga2 conversion test config available, including conf/ folder. There's a small icinga2 conversion test config available, including conf/ folder.
# /usr/bin/icinga2 -c icinga2-conv.conf # /usr/sbin/icinga2 -c icinga2-conv.conf
REQUIREMENTS REQUIREMENTS