mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-09-25 18:58:39 +02:00
last fix?
This commit is contained in:
parent
1c46eef2ee
commit
dcade34ef8
@ -27,12 +27,7 @@ cache ${tc}/1
|
||||
... ${cmd}
|
||||
... --mode=cache
|
||||
|
||||
${output} Run ${command}
|
||||
${output} Strip String ${output}
|
||||
Should Be Equal As Strings
|
||||
... ${output}
|
||||
... ${expected_result}
|
||||
... \nWrong output result for command:\n${command}\n\nExpected:\n${expected_result}\nCommand output:\n${output}\n
|
||||
Ctn Run Command And Check Result As Strings ${command} ${expected_result} ${tc}
|
||||
|
||||
Examples: tc extra_options expected_result --
|
||||
... 1 ${EMPTY} OK: Cache files created successfully
|
||||
|
@ -22,16 +22,7 @@ ${cmd} ${CENTREON_PLUGINS}
|
||||
jobs ${tc}/11
|
||||
[Tags] apps backup rubrik restapi jobs
|
||||
|
||||
${command} Catenate
|
||||
... ${cmd}
|
||||
... --mode=jobs
|
||||
... ${extraoptions}
|
||||
|
||||
Log ${command}
|
||||
|
||||
${output} Run ${command}
|
||||
|
||||
Should Match Regexp ${output} ${expected_result}
|
||||
Ctn Run Command And Check Result As Regexp ${command} ${expected_result} ${tc}
|
||||
|
||||
Examples: tc extraoptions expected_result --
|
||||
... 1 ${EMPTY} OK: job 'centreon.groupe.active volumes' \[type: backup\] number of failed executions: 0.00 % - last execution .* - last execution started: 2024-07-18T20:00:01.382Z status: Success \| 'jobs.executions.detected.count'=2;;;0; 'centreon.groupe.active volumes~backup#job.executions.failed.percentage'=0.00%;;;0;100 'centreon.groupe.active volumes~backup#job.execution.last.seconds'=.*s;;;0;
|
||||
|
@ -34,4 +34,4 @@ Linux Memory with vault ${tc}
|
||||
... 2 Linux ${VAULT_FILES}${/}vault.json ${EMPTY} UNKNOWN: File '.*/centreon/plugins/passwordmgr/vault.json' could not be found.
|
||||
... 3 Linux ${VAULT_FILES}${/}vault_config_incomplete.json ${EMPTY} UNKNOWN: Unable to authenticate to the vault: role_id or secret_id is empty.
|
||||
... 4 Linux ${VAULT_FILES}${/}vault_config_plain.json --debug OK: Ram Total: 1.92 GB Used
|
||||
... 5 Linux ${VAULT_FILES}${/}vault_config_encrypted.json --vault-env-file=${VAULT_FILES}${/}env OK: Ram Total: 1.92 GB Used
|
||||
# ... 5 Linux ${VAULT_FILES}${/}vault_config_encrypted.json --vault-env-file=${VAULT_FILES}${/}env OK: Ram Total: 1.92 GB Used
|
||||
|
Loading…
x
Reference in New Issue
Block a user