icinga2/doc/3.2-global-variables.md

49 lines
1.2 KiB
Markdown
Raw Normal View History

2013-09-26 08:59:29 +02:00
Global Variables
================
IcingaPrefixDir
---------------
**Read-only.** Contains the installation prefix that was specified with ./configure --prefix. Defaults to /usr/local
IcingaLocalStateDir
-------------------
**Read-only.** Contains the path of the local state directory. Defaults to IcingaPrefixDir + "/var".
IcingaPkgLibDir
---------------
**Read-only.** Contains the path of the package lib directory. Defaults to IcingaPrefixDir + "/lib/icinga2".
IcingaPkgDataDir
----------------
**Read-only.** Contains the path of the package data directory. Defaults to IcingaPrefixDir + "/share/icinga2".
IcingaStatePath
---------------
**Read-write.** Contains the path of the Icinga 2 state file. Defaults to IcingaLocalStateDir + "/lib/icinga2/icinga2.state".
IcingaPidPath
-------------
**Read-write.** Contains the path of the Icinga 2 PID file. Defaults to IcingaLocalStateDir + "/run/icinga2/icinga2.pid".
IcingaMacros
------------
**Read-write.** Contains global macros. Not set by default.
Example:
set IcingaMacros = {
plugindir = "/opt/check-plugins"
}
ApplicationType
---------------
**Read-write.** Contains the name of the Application type. Defaults to "IcingaApplication".