Module: check_mk
Branch: master
Commit: 2c6c876e553382e27104e979cb98729eead044f6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2c6c876e553382…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon May 2 16:59:59 2016 +0200
3466 Logwatch pages now work in distributed environment without HTTH reverse proxy
The web pages for viewing and acknowledging files from logwatch checks now no longer
need a HTTP reverse proxy setup but simply work. The use Livestatus - just like the
other status data. This means that in the Enterprise Edition you can now drop the
reverse proxying totally. In the Raw Edition you still need it for the performance
graphs from PNP4Nagios.
In a manual setup you need to tell the Livestatus Nagios-Module where it finds
the logwatch files with the option <tt>mk_logwatch_path=.....</tt>. Specify
the
absolute path to the base directory where Check_MK stores the logwatch files.
This path always ends with <tt>/logwatch</tt>.
Note: You need to update Livestatus / Check_MK on all remote sites. If you just
update the central site then the logwatch GUI will stop working.
---
.werks/3466 | 21 ++
ChangeLog | 1 +
web/htdocs/livestatus.py | 2 +-
web/htdocs/logwatch.py | 566 ++++++++++++++++++++++++------------------
web/htdocs/wato.py | 4 +-
web/plugins/icons/builtin.py | 10 +-
6 files changed, 355 insertions(+), 249 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=2c6c876e55…