Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 3d9eaa7d9c87eb9cd52f3b99eff8cacbc995bf5e
https://github.com/tribe29/checkmk/commit/3d9eaa7d9c87eb9cd52f3b99eff8cacbc…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-03-25 (Wed, 25 Mar 2020)
Changed paths:
A .werks/10601
M cmk/base/config.py
M cmk/base/data_sources/host_sections.py
M cmk/base/data_sources/snmp.py
M cmk/base/discovery.py
M cmk/base/snmp_scan.py
M tests-py3/integration/cmk/base/test_automations.py
M tests-py3/integration/cmk/base/test_check_variables.py
M tests-py3/integration/cmk/base/test_modes.py
M tests-py3/unit/checks/test_generic_legacy_conversion.py
M tests/testlib/base.py
Log Message:
-----------
API: extract agent section
We use the aggregated information from check_info, snmp_scan_functions
and snmp_info in cmk.base.config to create section objects compliant
to the new API requirements of cmk.base.api.agent_based.
The resulting values from the 'registered_{snmp,agent}_sections'
dictionaries are then used when
* scanning for SNMP devices
* fetching the SNMP data
* parsing the raw sections
* discovering HostLabels
A lot of cleanup remains to be done once we have a similar conversion
for check- and inventory plugins in place.
CMK-4005
Change-Id: I7fd6df3292f9f47508902bb9f448215852298940
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: dcf25ad7077d9c704feb9a79d07bc2367dbc66a3
https://github.com/tribe29/checkmk/commit/dcf25ad7077d9c704feb9a79d07bc2367…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
M cmk/gui/valuespec.py
Log Message:
-----------
Inline ValueSpec._custom_validate.
This makes it clear that _custom_validate is *not* supposed to be
overridden, the customization point is the validate argument of the
constructor.
Note that there were 2 superfluous call sites, which were already subsumed
by the validation protocol.
Change-Id: I9589f5809116c849b63752c3fd030890667121ae
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 6fd8b87670587e0e7ed315958f98bf92334e9280
https://github.com/tribe29/checkmk/commit/6fd8b87670587e0e7ed315958f98bf923…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
A .werks/10690
Log Message:
-----------
10690 mk_logwatch supports single backslash in Windows paths
In previous versions it was needed to escape backslashes with another backslash.
This has been cleaned up now. You could leave your configuration untouched and
it still works as before.
In a rare case, if your configuration contains double escaped backslashes, i.e
"\\\\" or even "\\\\\\", this change will result in one old service being removed
and one new services being discovered. For example, the service "LOG C:\\\\Back\\test.log"
previously discovered as "LOG C:\\Back\test.log" will be discovered now as
"LOG C:\Back\test.log". In this case you will have to rediscover the related Log
services on your hosts.
We recommend finding and replacing the escaped backslashes (if any) with plain
backslash "\" for better usability. You do not need to rediscover services again.
In case you have configured "Logwatch to Event Console forwarding", you may have to
update your forwarding and Event Console rules to match the new log path.
Change-Id: I2d1bd6e071d6a6984a9aa6c6541033246060a6eb
Commit: 6f5920d7260aa7b39f338b469ec0089e7c13fd6a
https://github.com/tribe29/checkmk/commit/6f5920d7260aa7b39f338b469ec0089e7…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
A .werks/10691
Log Message:
-----------
10691 mk_logwatch supports UTF-16 LE BOM encoded files
Since this release mk_logwatch is able to process files encoded with UTF-16LE.
Those files must have correct byte order mark(BOM).
This type of encoding is used usually by Windows software.
Change-Id: I251b8b7f762d03849c9127a33be0134cdad9cb79
Compare: https://github.com/tribe29/checkmk/compare/27de005dab1f...6f5920d7260a
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 65402bc4da15228a1c3918ba85e25534923e0b8f
https://github.com/tribe29/checkmk/commit/65402bc4da15228a1c3918ba85e255349…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
M cmk/base/api/agent_based/checking_types.py
M cmk/base/check_api.py
Log Message:
-----------
API: move and rename as_float
The as_float hack will be applied to all Metric values in future.
Thus we move it to the appropriate place.
CMK-4007
Change-Id: Ib5d241efd3c58e416126837be70a97d555be68ca
Commit: 27de005dab1f6d5be897fec70a40be83007eb63a
https://github.com/tribe29/checkmk/commit/27de005dab1f6d5be897fec70a40be830…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-03-24 (Tue, 24 Mar 2020)
Changed paths:
M cmk/base/data_sources/tcp.py
Log Message:
-----------
Split TCPDataSource::_execute()
The method is long and has many responsibilities: gathering the
configuration, fetching and decrypting the raw data, and error handling.
This patch makes these steps explicit: the code is now more procedural
(this is a good thing: Dijkstra would be proud).
We further make it clear that the data fetching part is independant from
the class by making the extra methods static.
CMK-3742
Change-Id: I3577c53cc5ec8804a5cab96219ef0ceb36a16225
Compare: https://github.com/tribe29/checkmk/compare/26d0fad4fbaf...27de005dab1f