]> granicus.if.org Git - icinga2/commit
CLI: Add 'troubleshoot collect' command
authorJean Flach <jean-marcel.flach@netways.de>
Thu, 22 Jan 2015 11:10:32 +0000 (12:10 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Sun, 15 Feb 2015 11:38:28 +0000 (12:38 +0100)
commitcc5a8da6e87fd0b7b66011984b5a0b01ad5d997a
treecdd45ff46de14e59fffed1dd74d4fcbf38323a4b
parent4a64d4991b108b09da401afca8cce02e3c6aca16
CLI: Add 'troubleshoot collect' command

By calling `icinga2 troubleshoot collect [--console]` a small file
containing basic application information and a tail of all found logs
and the latest crash report will be created [or displayed].
It does not collect config files at the moment.

refs #3446
lib/cli/CMakeLists.txt
lib/cli/daemoncommand.cpp
lib/cli/daemonutility.cpp [new file with mode: 0644]
lib/cli/daemonutility.hpp [new file with mode: 0644]
lib/cli/featureutility.cpp
lib/cli/featureutility.hpp
lib/cli/troubleshootcollectcommand.cpp [new file with mode: 0644]
lib/cli/troubleshootcollectcommand.hpp [new file with mode: 0644]