]> granicus.if.org Git - icinga2/commit
Indicate a warning in the 'icinga' check when cluster stage validation failed
authorMichael Friedrich <michael.friedrich@icinga.com>
Tue, 23 Oct 2018 15:23:34 +0000 (17:23 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Wed, 19 Jun 2019 12:46:11 +0000 (14:46 +0200)
commit2acf3a6941cf046cea15601a1a97bb11f6902d4a
treed5e39768558f43e00e3edfbc5f515fdbe0029ba0
parent46cb806b3fcf4fafc3d927781fb29aba5f3cbaef
Indicate a warning in the 'icinga' check when cluster stage validation failed

- success: clear the last failed attribute
- failed: populate it with the output and current timestamp

This can be used to highlight this in the 'icinga' check task.
Since 2.9 we don't have problems with circular library dependencies
with just one linked binary, therefore it is safe to include libremote
in libmethods here.
lib/methods/icingachecktask.cpp
lib/remote/apilistener-filesync.cpp
lib/remote/apilistener.hpp