]> granicus.if.org Git - icinga2/log
icinga2
11 years agoRemoved duplicate config files. v0.0.1
Gunnar Beutner [Fri, 19 Oct 2012 10:17:06 +0000 (12:17 +0200)]
Removed duplicate config files.

11 years agoContrib: add demo configuration from osmc 2012 presentation
Michael Friedrich [Fri, 19 Oct 2012 10:07:32 +0000 (12:07 +0200)]
Contrib: add demo configuration from osmc 2012 presentation

11 years agoFixed VS filters for pluginchecktask.cpp and pluginchecktask.h.
Gunnar Beutner [Wed, 17 Oct 2012 10:28:22 +0000 (12:28 +0200)]
Fixed VS filters for pluginchecktask.cpp and pluginchecktask.h.

11 years agoFix: Added missing DLL exports for Windows.
Gunnar Beutner [Wed, 17 Oct 2012 10:03:07 +0000 (12:03 +0200)]
Fix: Added missing DLL exports for Windows.

11 years agoFix: Renaming temp files didn't work on Windows.
Gunnar Beutner [Wed, 17 Oct 2012 09:35:06 +0000 (11:35 +0200)]
Fix: Renaming temp files didn't work on Windows.

Fixes #3216

11 years agoAdded missing GPL headers.
Gunnar Beutner [Tue, 16 Oct 2012 08:41:54 +0000 (10:41 +0200)]
Added missing GPL headers.

11 years agoChanged version number (again).
Gunnar Beutner [Tue, 16 Oct 2012 08:27:29 +0000 (10:27 +0200)]
Changed version number (again).

11 years agoAdded disclaimer text to "configure".
Gunnar Beutner [Tue, 16 Oct 2012 07:54:06 +0000 (09:54 +0200)]
Added disclaimer text to "configure".

11 years agoDocumentation: remove log_path from icingaApplication as well (refs #3277)
Michael Friedrich [Mon, 15 Oct 2012 22:06:21 +0000 (00:06 +0200)]
Documentation: remove log_path from icingaApplication as well (refs #3277)

11 years agoChanged log level for debug message.
Gunnar Beutner [Mon, 15 Oct 2012 16:25:56 +0000 (18:25 +0200)]
Changed log level for debug message.

11 years agoFixed example config.
Gunnar Beutner [Mon, 15 Oct 2012 15:55:54 +0000 (17:55 +0200)]
Fixed example config.

11 years agoUpdated version number (2.0.0a1).
Gunnar Beutner [Mon, 15 Oct 2012 12:57:50 +0000 (14:57 +0200)]
Updated version number (2.0.0a1).

11 years agoConfig: remove log_path config option from IcingaApplication (refs #3277)
Michael Friedrich [Mon, 15 Oct 2012 12:39:49 +0000 (14:39 +0200)]
Config: remove log_path config option from IcingaApplication (refs #3277)

11 years agoFixed grammar mistake.
Gunnar Beutner [Mon, 15 Oct 2012 06:54:08 +0000 (08:54 +0200)]
Fixed grammar mistake.

11 years agoOnly log check timer when we actually created any tasks.
Gunnar Beutner [Mon, 15 Oct 2012 06:52:31 +0000 (08:52 +0200)]
Only log check timer when we actually created any tasks.

11 years agoBugfix: services property doesn't work when the first host definition is abstract.
Gunnar Beutner [Mon, 15 Oct 2012 06:45:14 +0000 (08:45 +0200)]
Bugfix: services property doesn't work when the first host definition is abstract.

Fixes #3300

11 years agoIgnore Windows new-lines.
Gunnar Beutner [Mon, 15 Oct 2012 06:27:07 +0000 (08:27 +0200)]
Ignore Windows new-lines.

Fixes #3292

11 years agoBugfix: Delegation didn't work for local-only instances.
Gunnar Beutner [Fri, 12 Oct 2012 13:45:33 +0000 (15:45 +0200)]
Bugfix: Delegation didn't work for local-only instances.

11 years agoExample config: Renamed host "localhost-i2" to "localhost".
Gunnar Beutner [Fri, 12 Oct 2012 11:14:44 +0000 (13:14 +0200)]
Example config: Renamed host "localhost-i2" to "localhost".

11 years agoConfig: only use one sample localhost
Michael Friedrich [Fri, 12 Oct 2012 10:31:20 +0000 (12:31 +0200)]
Config: only use one sample localhost

11 years agoBuild fix for FreeBSD.
Gunnar Beutner [Fri, 12 Oct 2012 08:50:16 +0000 (10:50 +0200)]
Build fix for FreeBSD.

Fixes #3271

11 years agoBugfix: The delegation component should use only non-local checker endpoints.
Gunnar Beutner [Fri, 12 Oct 2012 08:33:11 +0000 (10:33 +0200)]
Bugfix: The delegation component should use only non-local checker endpoints.

11 years agoDon't write local-only objects to the state file.
Gunnar Beutner [Fri, 12 Oct 2012 08:16:03 +0000 (10:16 +0200)]
Don't write local-only objects to the state file.

11 years agoBugfix: Replicated objects weren't removed on peer instances when they were removed...
Gunnar Beutner [Fri, 12 Oct 2012 07:58:34 +0000 (09:58 +0200)]
Bugfix: Replicated objects weren't removed on peer instances when they were removed on the source instance.

11 years agoConfig: add Logger to win32 config too, for debug console
Michael Friedrich [Thu, 11 Oct 2012 22:43:39 +0000 (00:43 +0200)]
Config: add Logger to win32 config too, for debug console

11 years agoupdate .gitignore for docs and binaries
Michael Friedrich [Thu, 11 Oct 2012 14:20:37 +0000 (16:20 +0200)]
update .gitignore for docs and binaries

11 years agoBugfix: Connecting to a remote node crashes Icinga2.
Gunnar Beutner [Thu, 11 Oct 2012 12:17:40 +0000 (14:17 +0200)]
Bugfix: Connecting to a remote node crashes Icinga2.

11 years agoRemove path spec from the console logger.
Gunnar Beutner [Thu, 11 Oct 2012 08:27:58 +0000 (10:27 +0200)]
Remove path spec from the console logger.

11 years agoCompat IDO: move some log msg to debug level
Michael Friedrich [Mon, 8 Oct 2012 22:59:43 +0000 (00:59 +0200)]
Compat IDO: move some log msg to debug level

11 years agoConfig: add a demo service example (since #3250 is now fixed)
Michael Friedrich [Mon, 8 Oct 2012 22:27:35 +0000 (00:27 +0200)]
Config: add a demo service example (since #3250 is now fixed)

11 years agoConfig: add Logger with debug severity by default
Michael Friedrich [Mon, 8 Oct 2012 22:24:58 +0000 (00:24 +0200)]
Config: add Logger with debug severity by default

11 years agoFixed double-free in libpopen_noshell.
Gunnar Beutner [Mon, 8 Oct 2012 11:02:33 +0000 (13:02 +0200)]
Fixed double-free in libpopen_noshell.

Fixes #3250.

11 years agoMerge branch 'master' of git.icinga.org:icinga2
Michael Friedrich [Mon, 8 Oct 2012 08:33:25 +0000 (10:33 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

Conflicts:
components/compatido/compatidocomponent.cpp

11 years agoCompat IDO: remove more hardcoded values, prepare setting the socket
Michael Friedrich [Mon, 8 Oct 2012 08:26:07 +0000 (10:26 +0200)]
Compat IDO: remove more hardcoded values, prepare setting the socket

11 years agoWrapped VERSION in #ifndef and moved it to the top of the file.
Gunnar Beutner [Mon, 8 Oct 2012 08:14:43 +0000 (10:14 +0200)]
Wrapped VERSION in #ifndef and moved it to the top of the file.

11 years agoCompat IDO: hardcode program version for now, fixes windoze
Michael Friedrich [Mon, 8 Oct 2012 07:58:28 +0000 (09:58 +0200)]
Compat IDO: hardcode program version for now, fixes windoze

11 years agoConfig: add more example config for an icinga2 localhost (fixes #3256)
Michael Friedrich [Sun, 7 Oct 2012 22:21:56 +0000 (00:21 +0200)]
Config: add more example config for an icinga2 localhost (fixes #3256)

11 years agoCompat IDO: serialize dumps (refs #3257)
Michael Friedrich [Sun, 7 Oct 2012 21:45:55 +0000 (23:45 +0200)]
Compat IDO: serialize dumps (refs #3257)

- dump config once, protect it from status dumps
- send process start to ido2db to allow deletion of inactive objects

11 years agoCompat IDO: update documentation for reconnect_interval (refs #3207)
Michael Friedrich [Sun, 7 Oct 2012 20:24:54 +0000 (22:24 +0200)]
Compat IDO: update documentation for reconnect_interval (refs #3207)

11 years agoCompat IDO: make sending of data serialized (refs #3257), always send hello
Michael Friedrich [Sun, 7 Oct 2012 20:20:54 +0000 (22:20 +0200)]
Compat IDO: make sending of data serialized (refs #3257), always send hello

11 years agoCompat IDO: add reconnect to ido2db, if not connected (refs #3207)
Michael Friedrich [Sun, 7 Oct 2012 19:47:50 +0000 (21:47 +0200)]
Compat IDO: add reconnect to ido2db, if not connected (refs #3207)

11 years agoCompatIDO: cleanup, add more default values with their correct type
Michael Friedrich [Fri, 5 Oct 2012 20:28:06 +0000 (22:28 +0200)]
CompatIDO: cleanup, add more default values with their correct type

11 years agoRevert "Fixed build problems on FreeBSD."
Gunnar Beutner [Fri, 5 Oct 2012 11:17:58 +0000 (13:17 +0200)]
Revert "Fixed build problems on FreeBSD."

This reverts commit a6f572071da1b06b2b9035a2acca0299a399b005.

11 years agoContrib: remove the broken config conversion script for now
Michael Friedrich [Fri, 5 Oct 2012 10:47:17 +0000 (12:47 +0200)]
Contrib: remove the broken config conversion script for now

11 years agoFixed build problems on FreeBSD.
Gunnar Beutner [Fri, 5 Oct 2012 09:34:01 +0000 (11:34 +0200)]
Fixed build problems on FreeBSD.

Fixes #3247

11 years agoMerge branch 'master' of git.icinga.org:icinga2
Gunnar Beutner [Fri, 5 Oct 2012 09:30:43 +0000 (11:30 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

11 years agoConfiguration: add windows based sample config file #3233
Michael Friedrich [Thu, 4 Oct 2012 14:00:36 +0000 (16:00 +0200)]
Configuration: add windows based sample config file #3233

the first sample, with files in the same dir where icinga-app.exe will
be started. furthermore, this requires winping.exe to be put into
C:\Plugins (from https://www.itefix.no/i2/check_winping)

fixes #3233

11 years agoconfigure.ac: Use $PACKAGE instead of $PACKAGE_NAME.
Gunnar Beutner [Thu, 4 Oct 2012 06:55:05 +0000 (08:55 +0200)]
configure.ac: Use $PACKAGE instead of $PACKAGE_NAME.

11 years agoMoved GPLHeader file to the contrib dir.
Gunnar Beutner [Thu, 4 Oct 2012 06:54:47 +0000 (08:54 +0200)]
Moved GPLHeader file to the contrib dir.

11 years agoCompatIDO: implement first draft of {en,dis}able objects supported in ido2db 1.8...
Michael Friedrich [Tue, 2 Oct 2012 23:25:44 +0000 (01:25 +0200)]
CompatIDO: implement first draft of {en,dis}able objects supported in ido2db 1.8 refs #3157

11 years agodo not include created runtime dirs in make dist*
Michael Friedrich [Tue, 2 Oct 2012 15:57:28 +0000 (17:57 +0200)]
do not include created runtime dirs in make dist*

11 years agoDocumentation: add modeline for vim syntax highlighting to icinga2-config.txt
Michael Friedrich [Tue, 2 Oct 2012 15:47:13 +0000 (17:47 +0200)]
Documentation: add modeline for vim syntax highlighting to icinga2-config.txt

11 years agoDocumentation: remove icinga2-config.odt
Michael Friedrich [Tue, 2 Oct 2012 13:36:59 +0000 (15:36 +0200)]
Documentation: remove icinga2-config.odt

11 years agoConfiguration: add _path suffix to IcingaApplication attributes "ca" and "cert"
Michael Friedrich [Tue, 2 Oct 2012 13:04:17 +0000 (15:04 +0200)]
Configuration: add _path suffix to IcingaApplication attributes "ca" and "cert"

refs #3222

11 years agoConfiguration: use underscore in attributes, document all using new locations
Michael Friedrich [Tue, 2 Oct 2012 12:44:57 +0000 (14:44 +0200)]
Configuration: use underscore in attributes, document all using new locations

... from #3228

fixes #3222

11 years agoinstall: create all dirs needed by automake install
Michael Friedrich [Tue, 2 Oct 2012 12:44:22 +0000 (14:44 +0200)]
install: create all dirs needed by automake install

refs #3228

11 years agoCompat: default localstatedir mkdir will be $prefix/var/icinga2
Michael Friedrich [Tue, 2 Oct 2012 11:23:35 +0000 (13:23 +0200)]
Compat: default localstatedir mkdir will be $prefix/var/icinga2

11 years agos/component/Component/ in docs
Michael Friedrich [Tue, 2 Oct 2012 09:27:14 +0000 (11:27 +0200)]
s/component/Component/ in docs

11 years agoConfiguration: update type components, add compat(ido) examples and attributes
Michael Friedrich [Tue, 2 Oct 2012 09:23:11 +0000 (11:23 +0200)]
Configuration: update type components, add compat(ido) examples and attributes

refs #3158
refs #2796

11 years agoFixed detection of flex/bison on FreeBSD.
Gunnar Beutner [Tue, 2 Oct 2012 09:17:08 +0000 (11:17 +0200)]
Fixed detection of flex/bison on FreeBSD.

11 years agoFixed loading components when using a custom --libdir.
Gunnar Beutner [Tue, 2 Oct 2012 07:26:17 +0000 (09:26 +0200)]
Fixed loading components when using a custom --libdir.

11 years agoFixed linking against compatido when using --disable-shared.
Gunnar Beutner [Fri, 28 Sep 2012 13:30:42 +0000 (15:30 +0200)]
Fixed linking against compatido when using --disable-shared.

11 years agocompat: add config options: {status,objects}path
Michael Friedrich [Fri, 28 Sep 2012 12:26:01 +0000 (14:26 +0200)]
compat: add config options: {status,objects}path

requires automake target for localstatedir as default, if not set.

refs #2796

11 years agoMerge branch 'master' of git.icinga.org:icinga2
Michael Friedrich [Fri, 28 Sep 2012 11:15:33 +0000 (13:15 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

11 years agoMerge branch 'master' of git.icinga.org:icinga2
Gunnar Beutner [Fri, 28 Sep 2012 11:17:40 +0000 (13:17 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

11 years agoAdded methods for retrieving the installation prefix and local state dir.
Gunnar Beutner [Fri, 28 Sep 2012 11:16:08 +0000 (13:16 +0200)]
Added methods for retrieving the installation prefix and local state dir.

11 years agocompatido: now REALLY make those default config options static
Michael Friedrich [Fri, 28 Sep 2012 11:14:03 +0000 (13:14 +0200)]
compatido: now REALLY make those default config options static

refs #3158

11 years agoRemoved obsolete config files.
Gunnar Beutner [Fri, 28 Sep 2012 10:37:18 +0000 (12:37 +0200)]
Removed obsolete config files.

11 years agocompatido: fix namespace for default config options
Michael Friedrich [Fri, 28 Sep 2012 10:33:40 +0000 (12:33 +0200)]
compatido: fix namespace for default config options

refs #3158

11 years agoMerge branch 'mfriedrich/compatido'
Michael Friedrich [Fri, 28 Sep 2012 10:15:23 +0000 (12:15 +0200)]
Merge branch 'mfriedrich/compatido'

11 years agoAdded README file for the contrib dir.
Gunnar Beutner [Fri, 28 Sep 2012 10:16:19 +0000 (12:16 +0200)]
Added README file for the contrib dir.

Fixes #3197

11 years agocompatido: add config options: socket_{address, port}, instance_name
Michael Friedrich [Fri, 28 Sep 2012 10:13:50 +0000 (12:13 +0200)]
compatido: add config options: socket_{address, port}, instance_name

fixes #3158

11 years agoFixed Windows build dependencies for compatido.
Gunnar Beutner [Fri, 28 Sep 2012 10:08:14 +0000 (12:08 +0200)]
Fixed Windows build dependencies for compatido.

11 years agoMerge branch 'master' of git.icinga.org:icinga2
Michael Friedrich [Fri, 28 Sep 2012 08:37:58 +0000 (10:37 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

11 years agoMade IComponent::GetConfig() usable in IComponent::Start().
Gunnar Beutner [Fri, 28 Sep 2012 08:39:28 +0000 (10:39 +0200)]
Made IComponent::GetConfig() usable in IComponent::Start().

Fixes #3200

11 years agocompatido: remove CompatIdoComponent::GetName()
Michael Friedrich [Fri, 28 Sep 2012 08:35:42 +0000 (10:35 +0200)]
compatido: remove CompatIdoComponent::GetName()

fixes #3205

11 years agocompatido: replace gettimeofday with Utility::GetTime()
Michael Friedrich [Thu, 27 Sep 2012 20:12:59 +0000 (22:12 +0200)]
compatido: replace gettimeofday with Utility::GetTime()

* fixes build on windows
* only timestamp (4) of idomod requires seconds.useconds as output,
which needs proper formatting within a stringstream -
std::precision(17) is required.
* all other timestamps are just unix seconds, so we require static casts
to integer here

11 years agocompatido: fix for Win32 and Win64 builds
Michael Friedrich [Thu, 27 Sep 2012 17:57:36 +0000 (19:57 +0200)]
compatido: fix for Win32 and Win64 builds

11 years agocompatido: add a note about ourselves to the config
Michael Friedrich [Thu, 27 Sep 2012 16:54:09 +0000 (18:54 +0200)]
compatido: add a note about ourselves to the config

11 years agocompatido: general cleanup
Michael Friedrich [Thu, 27 Sep 2012 16:39:13 +0000 (18:39 +0200)]
compatido: general cleanup

11 years agoMerge branch 'master' into mfriedrich/compatido
Michael Friedrich [Thu, 27 Sep 2012 13:10:04 +0000 (15:10 +0200)]
Merge branch 'master' into mfriedrich/compatido

11 years agoBuild fix for Windows.
Gunnar Beutner [Thu, 27 Sep 2012 08:14:45 +0000 (10:14 +0200)]
Build fix for Windows.

11 years agoFixed Utility::Sleep on Windows.
Gunnar Beutner [Thu, 27 Sep 2012 08:05:54 +0000 (10:05 +0200)]
Fixed Utility::Sleep on Windows.

11 years agoHandle some exceptions that previously caused crashes.
Gunnar Beutner [Thu, 27 Sep 2012 07:58:16 +0000 (09:58 +0200)]
Handle some exceptions that previously caused crashes.

11 years agoMake exception messages more verbose.
Gunnar Beutner [Thu, 27 Sep 2012 07:38:28 +0000 (09:38 +0200)]
Make exception messages more verbose.

11 years agoFixed crash in Utility::Daemonize().
Gunnar Beutner [Thu, 27 Sep 2012 06:21:07 +0000 (08:21 +0200)]
Fixed crash in Utility::Daemonize().

Fixes #3194

11 years agoAdd right lib dir to the search path.
Gunnar Beutner [Wed, 26 Sep 2012 10:08:07 +0000 (12:08 +0200)]
Add right lib dir to the search path.

11 years agoRemoved example certificates.
Gunnar Beutner [Wed, 26 Sep 2012 08:48:34 +0000 (10:48 +0200)]
Removed example certificates.

Fixes #3180

11 years agoUnset ax_lib when we're done (as this would cause the next AC_BOOST_* call to fail).
Gunnar Beutner [Wed, 26 Sep 2012 08:29:55 +0000 (10:29 +0200)]
Unset ax_lib when we're done (as this would cause the next AC_BOOST_* call to fail).

11 years agoFixed detection of the Boost Unit Test Framework.
Gunnar Beutner [Wed, 26 Sep 2012 08:20:22 +0000 (10:20 +0200)]
Fixed detection of the Boost Unit Test Framework.

11 years agoInstall icinga2 binary in $PREFIX/sbin rather than $PREFIX/bin.
Gunnar Beutner [Wed, 26 Sep 2012 07:56:28 +0000 (09:56 +0200)]
Install icinga2 binary in $PREFIX/sbin rather than $PREFIX/bin.

11 years agoUse AC_PROG_LEX instead of AM_PROG_LEX.
Gunnar Beutner [Wed, 26 Sep 2012 07:54:11 +0000 (09:54 +0200)]
Use AC_PROG_LEX instead of AM_PROG_LEX.

11 years agoUpdated autogen.sh to detect lex/yacc.
Gunnar Beutner [Wed, 26 Sep 2012 07:51:40 +0000 (09:51 +0200)]
Updated autogen.sh to detect lex/yacc.

11 years agoAdded missing GPL header in scripttask.cpp.
Gunnar Beutner [Tue, 25 Sep 2012 13:46:24 +0000 (15:46 +0200)]
Added missing GPL header in scripttask.cpp.

11 years agoRemoved win32.cpp / unix.cpp files as they were no longer needed.
Gunnar Beutner [Tue, 25 Sep 2012 13:45:19 +0000 (15:45 +0200)]
Removed win32.cpp / unix.cpp files as they were no longer needed.

11 years agoRemoved ::Sleep and implemented Utility::Sleep.
Gunnar Beutner [Tue, 25 Sep 2012 13:41:43 +0000 (15:41 +0200)]
Removed ::Sleep and implemented Utility::Sleep.

11 years agoSleep for 5 seconds rather than 5 milliseconds.
Gunnar Beutner [Tue, 25 Sep 2012 13:35:46 +0000 (15:35 +0200)]
Sleep for 5 seconds rather than 5 milliseconds.

11 years agoFixed grammar mistakes.
Gunnar Beutner [Tue, 25 Sep 2012 13:33:51 +0000 (15:33 +0200)]
Fixed grammar mistakes.

11 years agoRephrased the description for check_command.
Gunnar Beutner [Tue, 25 Sep 2012 13:31:19 +0000 (15:31 +0200)]
Rephrased the description for check_command.

11 years agoMerge branch 'master' into mfriedrich/compatido
Michael Friedrich [Tue, 25 Sep 2012 13:29:49 +0000 (15:29 +0200)]
Merge branch 'master' into mfriedrich/compatido