Skip to content

Commit

Permalink
Release v1.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmeggle committed Mar 11, 2021
2 parents f30dc99 + 675274b commit 87d9eed
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 21 deletions.
31 changes: 20 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).



## Unreleased
### Added

## [v0.2.0-beta - 2021-03-08]
### Changed

### Fixed

### Removed

### Deprecated



## [v1.0.0-beta - 2021-03-11]

WARNING: This first major release is 100% incompatible with former versions.
Make sure to export all WATO rules because this version is not able to read the
old data structures.

- Added WATO option to override the Robotmk service name (#98)
- Separate Logfiles
Expand All @@ -19,17 +34,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Prefix formatting
- Plugin: Added daily log Robotmk file rotation (#88)
- New Robotmk Service: Perfometer Thresholds Graphs
- Controller: responsible for reading the spoolfiles and producing output; this eliminates
the checkmk error *missing agent section 'robotmk'* if the plugin had a problem.
- reponsible to monitor the freshness of spoolfiles. The whole "async" mechanism
is decoupled form checkmk; this allows to control exactly when a spoolfile is
considered to be stale and what to do in this case. In addition, this eases
debugging.
- The plugin saves its state with statefiles in tmp; the controller mode reads
them and sources the XML/HTTP files.
- splitted Robotmk plugin into controller/runner
- The data transmission from client to server is done with a JSON container
structure; it provides fields for XML/HTTP content which is compressed by
default.
structure
- HTML log transport to checkmk server


## [v0.1.9 - 2021-01-16]

Expand Down
12 changes: 6 additions & 6 deletions agents/plugins/robotmk
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import platform
import xml.etree.ElementTree as ET

local_tz = datetime.utcnow().astimezone().tzinfo
ROBOTMK_VERSION = "v0.2.0"
ROBOTMK_VERSION = "v1.0.0-beta"


class RMKConfig():
Expand Down Expand Up @@ -951,19 +951,19 @@ class RMKCtrl(RMKState, Robotmk):
if not bool(state):
error_text = "Suite statefile not found - (seems like the suite did never run)"
self.logwarn(error_text)

state.update({
'id': suite.id,
'status': 'fatal',
'error': error_text
})
})
else:
if state.get('rc',0) >= 252:
if state.get('rc', 0) >= 252:
state.update({
'status': 'fatal',
'error': 'Robot RC was >= 252. This is a fatal error. Robotmk got no XML/HTML to process. You should execute and test the suite manually.'
})
else:
})
else:
state.update({'status': 'nonfatal'})

for k in self.keys_to_encode:
Expand Down
9 changes: 5 additions & 4 deletions checks/robotmk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ except:

utc = pytz.utc

ROBOTMK_VERSION = "v0.2.0"
ROBOTMK_VERSION = "v1.0.0-beta"

DEFAULT_SVC_PREFIX = 'Robot Framework E2E $SUITEID$SPACE-$SPACE'

Expand Down Expand Up @@ -230,9 +230,10 @@ def check_robot(item, checkgroup_parameters, parsed):
else:
badge = ''
rc = max(rc, 0)
first_line.append("%stotal runtime uses %.1f%% (%.1fs) of " %
(badge, pct_runtime_usage, runner_runtime) +
"%s (%ds)" % (maxruntime_str, maxruntime))
first_line.append(
"%slast runner execution used %.1f%% (%.1fs) of " %
(badge, pct_runtime_usage, runner_runtime) + "%s (%ds)" %
(maxruntime_str, maxruntime))

perfdata_list.append((
'runner_runtime', runner_runtime, runner_runtime_warn_s,
Expand Down

0 comments on commit 87d9eed

Please sign in to comment.