Commit Graph

37 Commits

Author SHA1 Message Date
Gunnar Beutner 17c929aabf Fix permissions for agent CheckResult messages
fixes #8821
2015-03-30 13:50:40 +02:00
Gunnar Beutner 52102d815d Fix second Deserialize() call in ApiEvents::ExecuteCommandAPIHandler
refs #8117
2015-03-06 01:45:43 +01:00
Gunnar Beutner 139540b570 Make sure we don't evaluate apply rules for fake hosts used in agent checks
fixes #8117
2015-03-05 21:19:04 +01:00
Gunnar Beutner 9181d7ae05 Add missing service name in check results
refs #8257
2015-03-05 20:50:27 +01:00
Gunnar Beutner acd5d55f64 Fix null pointer dereference in ApiEvents::RepositoryTimerHandler
fixes #8535
2015-02-25 14:00:00 +01:00
James Pharaoh 9fe52d0dc1 Make checks using 'command_endpoint' work inside HA zones
Previously there was no local processing of the executed
check result, which is mandatory inside a HA cluster.

Additionally this patch splits the command execution and
check result processing into more logical parts, executing
local checks, checks on the same command endpoint, and
remote checks.

More details in the referenced issue.

fixes #8249

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-02-12 17:53:50 +01:00
Michael Friedrich a1f04992f3 Fix notify flag is ignored in ACKNOWLEDGE_*_PROBLEM commands
fixes #8298
2015-02-07 21:39:19 +01:00
Gunnar Beutner 0605b76e7a Report failed agent checks to the master
fixes #8257
2015-02-05 15:36:17 +01:00
Gunnar Beutner 2d5112c878 Send check result even when accept_commands is not set
fixes #8333
2015-02-05 15:17:56 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Gunnar Beutner 334e61037a Split DynamicObject::OnConfigLoaded into two separate events
refs #7780
2014-11-21 18:31:37 +01:00
Gunnar Beutner 7321e45abc Implement support for executing remote commands
fixes #7559
2014-11-13 14:54:55 +01:00
Gunnar Beutner 478f03b49a Replace boost::shared_ptr with boost::intrusive_ptr
refs #7622
2014-11-09 16:54:41 +01:00
Gunnar Beutner 18d317faf9 Fix crash in ApiEvents::CheckResultAPIHandler
fixes #7577
2014-11-05 09:58:43 +01:00
Gunnar Beutner 29ad90a469 Fix performance data for API events
fixes #7473
2014-10-28 15:24:35 +01:00
Gunnar Beutner 2d6c3e8d5b Remove localhost virtual name thingie from apievents.cpp
refs #7467
2014-10-28 14:44:55 +01:00
Gunnar Beutner 0cff9314f9 Remove virtual name feature for agent hosts
fixes #7467
2014-10-28 14:05:17 +01:00
Gunnar Beutner 7559273359 Replace cJSON with YAJL
fixes #7452
2014-10-26 20:00:35 +01:00
Gunnar Beutner 315c84eb4a Fix problems with the serializer when using 'type' as an attribute
fixes #7372
2014-10-25 09:14:56 +02:00
Michael Friedrich e293092bdc CLI: Add basic agent command functionality (add, remove)
Prepare for set, setup, wizard, *list.
Change repository files to .repo, rename .peer to .settings

refs #7248
refs #7255
2014-10-21 13:23:46 +02:00
Gunnar Beutner d7fc37b12e Ignore (most) messages from unauthenticated clients
refs #7244
2014-10-16 13:04:04 +02:00
Gunnar Beutner 6f2ea6bc08 Fix build problems with Oracle Solaris Studio
refs #6896
2014-09-02 13:09:17 +02:00
Michael Friedrich 626a68e052 Add cluster api events for modified attributes support
refs #5219
2014-08-26 17:11:19 +02:00
Gunnar Beutner 913e35da9e Make sure that child zones accept commands from their parent zone
refs #6964
2014-08-22 13:51:27 +02:00
Michael Friedrich fc401516a8 Fix check results for localhost in HA cluster
fixes #6964
2014-08-22 13:01:06 +02:00
Michael Friedrich 7b8dc1d97e Fix non-existing endpoint on ApiListener error
refs #6724
2014-08-04 17:23:41 +02:00
Michael Friedrich 8f2af1ae9a Fix permission problem with cluster messages
fixes #6810
2014-07-31 12:11:43 +02:00
Gunnar Beutner 632026cd9f Rename C++ header files.
Fixes #6291
2014-05-25 16:27:14 +02:00
Gunnar Beutner d587c962ce Implement the config::Update message.
Refs #6191
2014-05-13 15:57:02 +02:00
Gunnar Beutner 9c3e399188 Remove unnecessary includes.
Fixes #6189
2014-05-11 18:11:32 +02:00
Gunnar Beutner 0e34968e8f Implement for loops.
Fixes #6183
2014-05-10 11:26:56 +02:00
Gunnar Beutner 01941a9807 Don't log repository messages.
Refs #6107
2014-05-08 15:46:47 +02:00
Gunnar Beutner b36b03cac1 Remove zone check in ApiEvents::UpdateRepositoryAPIHandler.
Refs #6107
2014-05-08 15:27:16 +02:00
Gunnar Beutner 5678fe750c Fix incorrect function name.
Refs #6107
2014-05-08 13:15:08 +02:00
Gunnar Beutner e322cc5086 Implement aliasing support for "localhost".
Refs #6107
2014-05-08 13:08:34 +02:00
Gunnar Beutner 656d6ff13a Update scripts and example config.
Refs #6107
2014-05-08 12:17:21 +02:00
Gunnar Beutner 45270f1bb8 Refactor the agent and cluster components.
Refs #6107
2014-05-08 09:13:04 +02:00