Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 2a9270d4e2512d72c1123a532494bc0ae525ee94
https://github.com/tribe29/checkmk/commit/2a9270d4e2512d72c1123a532494bc0ae…
Author: Ronny Bruska <ronny.bruska(a)tribe29.com>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
A .werks/10761
A checkman/redis_info.clients
M checks/redis_info
A cmk/gui/plugins/wato/check_parameters/redis_info_clients.py
M tests/unit/checks/generictests/datasets/redis_info.py
Log Message:
-----------
10761 redis_info.clients: New check to monitor Redis info clients section
With this check you can monitor Redis instances. The check gets input from
the redis-cli command "info" and the resulting "Clients" section. It
outputs
the number of client connections (excluding connections from replicas), the
longest output list among current client connections, the biggest input buffer
among current client connections and the number of clients pending on a
blocking call (BLPOP, BRPOP, BRPOPLPUSH).
Needs the agent plugin "mk_redis" to be installed.
Change-Id: Icc45829ebf5ed72d4610fe5c05bb77bb649b34f6
Commit: 43d32e7a0eb51d10f006012abc4189f6fb69f77d
https://github.com/tribe29/checkmk/commit/43d32e7a0eb51d10f006012abc4189f6f…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
A livestatus/src/AttributeListLambdaColumn.h
A livestatus/src/AttributesLambdaColumn.cc
A livestatus/src/AttributesLambdaColumn.h
A livestatus/src/BoolLambdaColumn.h
M livestatus/src/CustomVarsDictColumn.h
M livestatus/src/IntLambdaColumn.h
A livestatus/src/ListLambdaColumn.h
M livestatus/src/Table.h
M livestatus/src/TableCommands.cc
M livestatus/src/TableCommands.h
M livestatus/src/TableContacts.cc
M livestatus/src/TableContacts.h
M livestatus/src/TableLog.cc
Log Message:
-----------
Rewrite TableContacts without pointer arithmetic
Introduce `Table::IRow`: Row::rawData<>() returns the data with a
static_cast and static_cast only safely returns the type that was passed
to the void*. This type is now `Table::IRow`. Note that `Table::IRow`
is dumb and must be dynamically typed to something useful.
This patch adds a few more `*LambdaColumn`s that do not
use `Column::Offsets`.
The AttributeListLambdaColumn should probably be refactored into a more
generic dict column. There already is a `dict` type for the columns
anyway. However, this is not necessary now and may be done when the
tables do not rely on pointer arithmetic anymore.
CMK-3483
Change-Id: Iace5121d9e4030b1b97daae4d34149fccb9ea954
Compare:
https://github.com/tribe29/checkmk/compare/3e88f6fc26d1...43d32e7a0eb5