Readme: perfdata for not_tl_has_changed
This commit is contained in:
parent
df58901fd9
commit
86f8bdb395
|
@ -307,7 +307,8 @@ Usage: check_patroni node_tl_has_changed [OPTIONS]
|
|||
* `CRITICAL`: The tl is not the same.
|
||||
|
||||
Perfdata :
|
||||
* `is_configuration_changed` is 1 if the configuration has changed, 0 otherwise
|
||||
* `is_timeline_changed` is 1 if the tl has changed, 0 otherwise
|
||||
* the timeline
|
||||
|
||||
Options:
|
||||
--timeline TEXT A timeline number to compare with.
|
||||
|
|
|
@ -459,7 +459,8 @@ def node_tl_has_changed(ctx: click.Context, timeline: str, state_file: str) -> N
|
|||
|
||||
\b
|
||||
Perfdata :
|
||||
* `is_configuration_changed` is 1 if the configuration has changed, 0 otherwise
|
||||
* `is_timeline_changed` is 1 if the tl has changed, 0 otherwise
|
||||
* the timeline
|
||||
"""
|
||||
if (timeline is None and state_file is None) or (
|
||||
timeline is not None and state_file is not None
|
||||
|
|
Loading…
Reference in a new issue