migration of the keywords

This commit is contained in:
sfarouq-ext 2025-08-05 14:30:47 +02:00 committed by omercier
parent b7eaf99110
commit adeaa2a196
241 changed files with 318 additions and 265 deletions

View File

@ -61,7 +61,6 @@ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES\n'\
>> /etc/yum.repos.d/centreon-plugins.repo
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el8/centreon-24.10.repo
dnf update -y
dnf install -y centreon-connector-perl centreon-clib
rm -f /etc/yum.repos.d/centreon-plugins.repo

View File

@ -67,7 +67,6 @@ gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES\n'\
# Add Centreon plugins repositories
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el9/centreon-24.10.repo
dnf install -y centreon-connector-perl centreon-clib
dnf update -y
rm -f /etc/yum.repos.d/centreon-plugins.repo

View File

@ -50,7 +50,7 @@ echo "deb https://packages.centreon.com/apt-plugins-unstable/ bookworm main" | t
wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
# Update
apt-get update -y
apt-get update
apt-get install -y centreon-clib centreon-connector-perl centreon-plugins

View File

@ -47,7 +47,7 @@ echo "deb https://packages.centreon.com/apt-plugins-stable/ bullseye main" | tee
echo "deb https://packages.centreon.com/apt-plugins-testing/ bullseye main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
echo "deb https://packages.centreon.com/apt-plugins-unstable/ bullseye main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
apt-get update -y
apt-get update
apt-get install -y centreon-clib centreon-connector-perl

View File

@ -48,7 +48,7 @@ echo "deb https://packages.centreon.com/ubuntu-plugins-testing/ jammy main" | te
echo "deb https://packages.centreon.com/ubuntu-plugins-unstable/ jammy main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
echo "deb https://packages.centreon.com/ubuntu-connectors-stable/ jammy main" | tee /etc/apt/sources.list.d/centreon-connectors.list
wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
apt-get update -y
apt-get update
apt-get install -y centreon-clib centreon-connector-perl

View File

@ -50,7 +50,7 @@ echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ noble main" | tee
echo "deb https://packages.centreon.com/ubuntu-plugins-testing/ noble main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
echo "deb https://packages.centreon.com/ubuntu-plugins-unstable/ noble main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
apt-get update -y
apt-get update
apt-get install -y centreon-connector-perl centreon-clib

View File

@ -27,7 +27,7 @@ Hosts ${tc}
${command} Catenate
... ${CMD}
... --mode=hosts
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc snmpcommunity expected_result --
... 1 os/linux/snmp/list-diskio OK: Hosts total: 10, failed: 0 - All hosts are ok | 'hosts.total.count'=10;;;0; 'hosts.failed.count'=0;;;0;10

View File

@ -29,7 +29,7 @@ jobs ${tc}
... --mode=jobs
... ${extraoptions}
Log ${cmd}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 --filter-name='' OK: Jobs total: 4, successful: 0, failed: 0, running: 0 | 'jobs.total.count'=4;;;0; 'jobs.successful.count'=0;;;0;4 'jobs.failed.count'=0;;;0;4 'jobs.running.count'=0;;;0;4 'jobs.canceled.count'=0;;;0;4 'jobs.pending.count'=0;;;0;4 'jobs.default.count'=0;;;0;4

View File

@ -37,7 +37,7 @@ jobs ${tc}
... --cache-use
... ${extraoptions}
Ctn Verify Command Output ${command} ${expected_result}
Ctn Verify Command Without Connector Output ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: All jobs are ok | 'jobs.executions.detected.count'=2;;;0; 'Backup client 2 - Tous les jours#job.executions.failed.percentage'=5.26%;;;0;100 'client 6 - Backup - VM Test et Lab#job.execution.last.seconds'

View File

@ -28,7 +28,7 @@ list-jobs ${tc}
... ${cmd}
... ${extraoptions}
Ctn Verify Command Output ${command} ${expected_result}
Ctn Verify Command Without Connector Output ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 --timeframe='' List jobs: [uid: urn:veeam:Job][jobName: Backup client 2 - Tous les jours][jobType: Backup] [uid: urn:veeam:Job:xxxxxxxx-yyyy-zzzz-1111-aaaaaaaaaaaa][jobName: PROD Job 1][jobType: Backup]

View File

@ -32,7 +32,7 @@ Mosquitto MQTT clients help
... ${CMD}
... --help
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description:
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
Mosquitto MQTT clients ${tc}
[Documentation] Check Mosquitto MQTT clients
@ -41,7 +41,7 @@ Mosquitto MQTT clients ${tc}
... ${CMD}
... ${extraoptions}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} ^OK: Connected clients: \\\\d+, Maximum clients: \\\\d+, Active clients: \\\\d+, Inactive clients: \\\\d+ \\\\| 'connected_clients'=\\\\d+;;;\\\\d+; 'maximum_clients'=\\\\d+;;;\\\\d+; 'active_clients'=\\\\d+;;;\\\\d+; 'inactive_clients'=\\\\d+;;;\\\\d+;$

View File

@ -32,7 +32,7 @@ Mosquitto MQTT messages help
... ${CMD}
... --help
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description:
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
Mosquitto MQTT messages ${tc}
[Documentation] Check Mosquitto MQTT messages
@ -41,7 +41,7 @@ Mosquitto MQTT messages ${tc}
... ${CMD}
... ${extraoptions}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} ^OK: Stored messages: \\\\d+, Received messages: \\\\d+, Sent messages: \\\\d+ \\\\| 'stored_messages'=\\\\d+;;;\\\\d+; 'received_messages'=\\\\d+;;;\\\\d+; 'sent_messages'=\\\\d+;;;\\\\d+;$

View File

@ -32,7 +32,7 @@ Mosquitto MQTT numeric-value help
... ${CMD}
... --help
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description:
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
Mosquitto MQTT numeric-value ${tc}
[Documentation] Check Mosquitto MQTT numeric-value
@ -50,7 +50,7 @@ Mosquitto MQTT numeric-value ${tc}
... --perfdata-min=${perfdata_min}
... --perfdata-max=${perfdata_max}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc topic warning critical extracted_pattern format format_custom perfdata_unit perfdata_name perfdata_min perfdata_max expected_result --
... 1 $SYS/broker/messages/sent ${EMPTY} ${EMPTY} ${EMPTY} current value is %s ${EMPTY} ${EMPTY} value ${EMPTY} ${EMPTY} ^OK: current value is \\\\d* \\\\| 'value'=\\\\d*;;;;$

View File

@ -32,7 +32,7 @@ Mosquitto MQTT string-value help
... ${CMD}
... --help
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description:
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
Mosquitto MQTT string-value ${tc}
[Documentation] Check Mosquitto MQTT string-value
@ -44,7 +44,7 @@ Mosquitto MQTT string-value ${tc}
... --critical-regexp='${critical}'
... ${extraoptions}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc topic warning critical extraoptions expected_result --
... 1 $SYS/broker/version ${EMPTY} ${EMPTY} ${EMPTY} ^OK: value: mosquitto version \\\\d*\.\\\\d*\.\\\\d*$

View File

@ -32,7 +32,7 @@ Mosquitto MQTT uptime help
... ${CMD}
... --help
Ctn Run Command And Check Result As Regexp ${command} ^Plugin Description:
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ^Plugin Description:
Mosquitto MQTT uptime ${tc}
[Documentation] Check Mosquitto MQTT uptime
@ -41,7 +41,7 @@ Mosquitto MQTT uptime ${tc}
... ${CMD}
... ${extraoptions}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} ^OK: uptime is:( \\\\d+d)?( \\\\d+h)?( \\\\d+m)?( \\\\d+s)? \\\\| 'uptime'=\\\\d+s;;;\\\\d+;$

View File

@ -27,7 +27,7 @@ list-plans ${tc}
... ${cmd}
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} List plans: [id: 66d1904664e24c6ef10f74d2][name: plop2-test] [id: 669fc855498c2a0322a6a9c5][name: test-plan] [id: 66d180a764e24c6ef10e0155][name: test-plan_Copy]

View File

@ -27,7 +27,7 @@ list-tenants ${tc}
... ${cmd}
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} List tenants: [name: [All]][projectId: ][global: 1] [name: Common][projectId: 669fc509498c2a0322a6a5ad][global: 0] [name: test-project][projectId: 66d18fc464e24c6ef10f6f02][global: 0]

View File

@ -28,7 +28,7 @@ plans ${tc}
... ${cmd}
... ${extraoptions}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: All plans are ok \\\| 'plans.detected.count'=3;;;0; 'test-plan#plan.executions.detected.count'=6;;;0; 'test-plan#plan.executions.failed.percentage'=0.00%;;;0;100 'test-plan#plan.execution.last.seconds'=17822466s;;;0; 'test-plan_Copy#plan.executions.detected.count'=0;;;0; 'test-plan_Copy#plan.executions.failed.percentage'=0.00%;;;0;100 'plop2-test#plan.executions.detected.count'=3;;;0; 'plop2-test#plan.executions.failed.percentage'=0.00%;;;0;100 'plop2-test#plan.execution.last.seconds'=17822867s;;;0;

View File

@ -28,7 +28,7 @@ backend-usage ${tc}
... --filter-name='${filter_name}'
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc filter_name extra_options expected_result --
... 1 STATIC_BG_IMAGE ${EMPTY} OK: Backend 'STATIC_BG_IMAGE' backend status: UP, current queue: 0, current session rate: 0/s, max session rate: 1/s, current sessions: 0, backend-total-sessions : Buffer creation, backend-traffic-in : Buffer creation, backend-traffic-out : Buffer creation, denied requests: 0, denied responses: 0, connection errors: 0, responses errors: 0 | 'STATIC_BG_IMAGE#backend.queue.current.count'=0;;;0; 'STATIC_BG_IMAGE#backend.session.current.rate.countpersecond'=0;;;0; 'STATIC_BG_IMAGE#backend.session.max.rate.countpersecond'=1;;;0; 'STATIC_BG_IMAGE#backend.sessions.current.count'=0;;;0; 'STATIC_BG_IMAGE#backend.requests.denied.count'=0;;;0; 'STATIC_BG_IMAGE#backend.responses.denied.count'=0;;;0; 'STATIC_BG_IMAGE#backend.connections.error.count'=0;;;0; 'STATIC_BG_IMAGE#backend.responses.error.count'=0;;;0;

View File

@ -28,7 +28,7 @@ frontend-usage ${tc}
... --filter-name='${filter_name}'
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc filter_name extra_options expected_result --
... 1 ${EMPTY} ${EMPTY} OK: Frontend 'hafrontend' frontend status: OPEN, current session rate: 1/s, max session rate: 6/s, current sessions: 10, total sessions: 3980, max sessions: 16, frontend-traffic-in : Buffer creation, frontend-traffic-out : Buffer creation, denied requests: 0, denied responses: 0, error requests: 42 | 'hafrontend#frontend.session.current.rate.countpersecond'=1;;;0; 'hafrontend#frontend.session.max.rate.countpersecond'=6;;;0; 'hafrontend#frontend.sessions.current.count'=10;;;0; 'hafrontend#frontend.sessions.total.count'=3980;;;0; 'hafrontend#frontend.sessions.maximum.count'=16;;;0; 'hafrontend#frontend.requests.denied.count'=0;;;0; 'hafrontend#frontend.responses.denied.count'=0;;;0; 'hafrontend#frontend.requests.error.count'=42;;;0;

View File

@ -22,7 +22,7 @@ Scenario ${tc}
... --command-path=${CURDIR}
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples:
... tc scenario extraoptions expected_result --

View File

@ -24,7 +24,7 @@ HyperV 2022-1 ${tc}
... --command-options=${CURDIR}/nodeintegrationservice-2022-1.json
... --filter-vm='${filter_vm}'
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc filter_vm expected_result --
... 1 ${EMPTY} CRITICAL: 1 problem(s) detected

View File

@ -24,7 +24,7 @@ HyperV 2022-2 ${tc}
... --command-options=${CURDIR}/nodeintegrationservice-2022-2.json
... --filter-vm='${filter_vm}'
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc filter_vm expected_result --
... 1 ${EMPTY} OK: All integration services are ok

View File

@ -29,7 +29,7 @@ Container usage ${tc}
... --container-name=wordpress
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: CPU: 0.11%, Memory: 10.85MB, Read : 435.65MB, Write : 941.43MB, Network in: 1006.00B, Network out: 2.10KB, State: running | 'podman.container.cpu.usage.percent'=0.11%;;;0;100 'podman.container.memory.usage.bytes'=11374592B;;;0; 'podman.container.io.read'=456812354B;;;0; 'podman.container.io.write'=987156423B;;;0; 'podman.container.network.in'=1006B;;;0; 'podman.container.network.out'=2146B;;;0;
@ -51,7 +51,7 @@ Container usage ${tc}
... --container-name=wordpress
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 10 --warning-network-in=500 WARNING: Network in: 1006.00B | 'podman.container.cpu.usage.percent'=0.11%;;;0;100 'podman.container.memory.usage.bytes'=11374592B;;;0; 'podman.container.io.read'=456812354B;;;0; 'podman.container.io.write'=987156423B;;;0; 'podman.container.network.in'=1006B;0:500;;0; 'podman.container.network.out'=2146B;;;0;

View File

@ -28,7 +28,7 @@ List-Containers ${tc}
... ${cmd}
... ${extraoptions}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} ^Containers: (\\\\n\\\\[.*\\\\]){3}\\\\Z

View File

@ -28,7 +28,7 @@ List-Pods ${tc}
... ${cmd}
... ${extraoptions}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} ^Pods: (\\\\n\\\\[.*\\\\]){2}\\\\Z

View File

@ -29,7 +29,7 @@ Pod status ${tc}
... --pod-name=blog
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: CPU: 1.46%, Memory: 459.41MB, Running containers: 5, Stopped containers: 2, Paused containers: 1, State: Running | 'podman.pod.cpu.usage.percent'=1.46%;;;0;100 'podman.pod.memory.usage.bytes'=481727346.688B;;;0; 'podman.pod.containers.running.count'=5;;;0; 'podman.pod.containers.stopped.count'=2;;;0; 'podman.pod.containers.paused.count'=1;;;0;
@ -53,7 +53,7 @@ Pod status ${tc}
... --pod-name=degreded
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 12 --warning-state='\\\%{state} =~ /Degraded/' --critical-state='\\\%{state} =~ /Exited/' WARNING: State: Degraded | 'podman.pod.cpu.usage.percent'=1.46%;;;0;100 'podman.pod.memory.usage.bytes'=481727346.688B;;;0; 'podman.pod.containers.running.count'=5;;;0; 'podman.pod.containers.stopped.count'=2;;;0; 'podman.pod.containers.paused.count'=1;;;0;

View File

@ -28,7 +28,7 @@ System status ${tc}
... ${cmd}
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: CPU: 1.19%, Memory: 1.84GB, Swap: 69.46MB, Running containers: 3, Stopped containers: 2, Uptime: 52440 s | 'podman.system.cpu.usage.percent'=1.19%;;;0;100 'podman.system.memory.usage.bytes'=1980252160B;;;0; 'podman.system.swap.usage.bytes'=72836626B;;;0; 'podman.system.containers.running.count'=3;;;0;6 'podman.system.containers.stopped.count'=2;;;0;6 'podman.system.uptime.seconds'=52440s;;;0;

View File

@ -25,7 +25,7 @@ Check if ${test_desc} on Centreon
[Tags] centreon collections http
${command} Catenate
... ${CMD} --config=${CURDIR}/${collection}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: test_desc collection expected_result --
... authentication succeeds collection-centreon-web-check-auth.collection.json OK: Authentication resulted in 200 HTTP code

View File

@ -22,7 +22,7 @@ SNMP Collection - Sputnik Environment ${tc}/3
... --snmp-community=apps/protocols/snmp/collection-sputnik
... --config=${CURDIR}${/}..${/}..${/}..${/}..${/}src/contrib/collection/snmp/sputnik-environment.json
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc expected_result --
... 1 OK: Sensor '1' temperature is '20.06'°C and humidity is '33'% | '1#environment.temperature.celsius'=20.06C;;;; '1#environment.humidity.percent'=33%;;;0;100

View File

@ -35,7 +35,7 @@ check hashicorp vault manager${Name}
... --format-details-warning='current value is: \\%{details_warning}'
... --format-details-critical='current value is: \\%{details_critical}'
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: Name path-param expected_result --
... default path --auth-path='' --auth-settings="password=secrethashicorpPassword" OK: current value is: Linux centreon-devbox 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64

View File

@ -25,7 +25,7 @@ Cpu with curl ${tc}
[Tags] apps api vmware vsphere8 esx
${command} Catenate ${CMD} --http-backend=curl ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: usage-prct : skipped (no value(s)), usage-frequency : skipped (no value(s)) - no data for host host-22 counter cpu.capacity.provisioned.HOST at the moment.

View File

@ -25,7 +25,7 @@ Cpu with lwp ${tc}
[Tags] apps api vmware vsphere8 esx
${command} Catenate ${CMD} --http-backend=lwp ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: usage-prct : skipped (no value(s)), usage-frequency : skipped (no value(s)) - no data for host host-22 counter cpu.capacity.provisioned.HOST at the moment.

View File

@ -25,7 +25,7 @@ Disk-Io ${tc}
[Tags] apps api vmware vsphere8 esx
${command} Catenate ${CMD} ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: usage-bps : skipped (no value(s)), contention-ms : skipped (no value(s)) - no data for host host-22 counter disk.throughput.usage.HOST at the moment. - no data for host host-22 counter disk.throughput.contention.HOST at the moment.

View File

@ -25,8 +25,8 @@ Host-Status ${tc}
${command} Catenate ${CMD} ${filter_host} ${extraoptions}
${command_curl} Catenate ${command} --http-backend=curl
${command_lwp} Catenate ${command} --http-backend=lwp
Ctn Run Command And Check Result As Strings ${command_curl} ${expected_result}
Ctn Run Command And Check Result As Strings ${command_lwp} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${command_curl} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${command_lwp} ${expected_result}
Examples: tc filter_host extraoptions expected_result --

View File

@ -25,7 +25,7 @@ Memory ${tc}
[Tags] apps api vmware vsphere8 esx
${command} Catenate ${CMD} --http-backend=curl ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: usage-prct : skipped (no value(s)) - usage-bytes : skipped (no value(s)) - no data for host host-22 counter mem.capacity.usable.HOST at the moment.

View File

@ -25,7 +25,7 @@ Network ${tc}
[Tags] apps api vmware vsphere8 esx
${command} Catenate ${CMD} ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: usage-bps : skipped (no value(s)), usage-prct : skipped (no value(s)) - no data for host host-22 counter net.throughput.usable.HOST at the moment.

View File

@ -25,7 +25,7 @@ Power ${tc}
[Tags] apps api vmware vsphere8 esx
${command} Catenate ${CMD} --http-backend=curl ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: usage-watts : skipped (no value(s)) - no data for host host-22 counter power.capacity.usage.HOST at the moment.

View File

@ -25,7 +25,7 @@ Swap ${tc}
[Tags] apps api vmware vsphere8 esx
${command} Catenate ${CMD} --http-backend=curl ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: usage-bytes : skipped (no value(s)), usage-prct : skipped (no value(s)) - no data for host host-22 counter mem.swap.current.HOST at the moment.

View File

@ -24,7 +24,7 @@ AWS CloudTrail check trail status ${tc}
... --mode=checktrailstatus
... --endpoint=http://${HOSTNAME}:${APIPORT}/cloudtrail/gettrailstatus/${trailstatus}
... --trail-name=trailname
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc trailstatus expected_result --
... 1 true OK: Trail is logging: 1 | 'trail_is_logging'=1;;;0;

View File

@ -24,7 +24,7 @@ AWS CloudTrail count events ${tc}
... --mode=countevents
... --endpoint=http://localhost:3000/cloudtrail/events/AwsApiCall/${AwsApiCall}/AwsServiceEvent/${AwsServiceEvent}/AwsConsoleAction/${AwsConsoleAction}/AwsConsoleSignIn/${AwsConsoleSignIn}/NextToken/${NextToken}
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc AwsApiCall AwsServiceEvent AwsConsoleAction AwsConsoleSignIn NextToken extraoptions expected_result --
... 1 4 2 1 3 false ${EMPTY} OK: Number of events: 10.00 | 'events_count'=10.00;;;0;

View File

@ -25,7 +25,7 @@ Storage ${tc}
... --resource-group=${resource_group}
... ${thresholds}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc resource resource_group thresholds expected_result --
... 1 sql-bb-stsw-prod-do/elasticpools/sql-epool-bb-psme-prod-do emsp-tf-prod-va-rg ${EMPTY} OK: Elastic Pool 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do' Statistic 'average' Metrics Allocated data storage: 201.00 GB, Allocated data storage percentage: 67.00 %, Storage usage percentage: 38.00 %, Storage usage: 114.00 GB | 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do~average#elasticpool.storage.data.allocated.bytes'=215822106624.00B;;;; 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do~average#elasticpool.storage.data.allocated.percentage'=67.00%;;;; 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do~average#elasticpool.storage.usage.percentage'=38.00%;;;; 'sql-bb-stsw-prod-do/sql-epool-bb-psme-prod-do~average#elasticpool.storage.used.bytes'=122406567936.00B;;;;

View File

@ -25,7 +25,7 @@ VPN Gateway status ${tc}
... --management-endpoint=${BASE_URL}
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: All VPN gateways are ok

View File

@ -25,7 +25,7 @@ Azure PolicyInsights PolicyStates compliance ${tc}
... --mode=compliance
... --management-endpoint=${endpoint}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc endpoint policyname resourcelocation resourcetype expected_result --
... 1 ${BASE_URL}/ok ${EMPTY} ${EMPTY} ${EMPTY} OK: Number of non compliant policies: 0 - All compliances states are ok | 'policies.non_compliant.count'=0;;;0;

View File

@ -17,7 +17,7 @@ Database Mysql sql string mode ${tc}
... ${CMD}
... --mode=sql-string
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc expected_result --
... 1 UNKNOWN: Need to specify data_source arguments.

View File

@ -21,7 +21,7 @@ list-instances ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --verbose List instances: [instance = default]

View File

@ -21,7 +21,7 @@ logfile-usage ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --verbose OK: All dbspace log files usage are ok | 'used_default.linies'=0.00%;;;0;100 'used_default.logical_log'=0.73%;;;0;100 'used_default.rootdbs'=0.00%;;;0;100 Dbspace 'default.linies' Log Files Used: 0.00% Dbspace 'default.logical_log' Log Files Used: 0.73% Dbspace 'default.rootdbs' Log Files Used: 0.00%

View File

@ -24,7 +24,7 @@ Avigilon camera Memory ${tc}/3
... --warning-available='${warning_available}'
... --critical-available='${critical_available}'
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc warning_available critical_available expected_result --
... 1 ${EMPTY} ${EMPTY} OK: total system memory available: 464.85 KB | 'memory.available'=476004B;;;0;

View File

@ -25,7 +25,7 @@ Avigilon camera Storage ${tc}/3
... --critical-status='${critical_status}'
... --unknown-status='${unknown_status}'
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc warning_status critical_status unknown_status expected_result --
... 1 ${EMPTY} ${EMPTY} ${EMPTY} OK: state of the SD card: mediaNotPresent

View File

@ -26,7 +26,7 @@ Avigilon camera Temperature ${tc}/5
... --warning-status='${warning_status}'
... --critical-status='${critical_status}'
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc warning_temperature critical_temperature warning_status critical_status expected_result --
... 1 ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} OK: temperature: 23.00 C, sensor 1 [type:mainSensor] status: ok | 'sensor.temperature.celsius'=23C;;;0;

View File

@ -23,7 +23,7 @@ AppearTV Alarms ${tc}
... ${CMD}
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} WARNING: 1 problem(s) detected | 'alerts'=1;;;0;

View File

@ -22,7 +22,7 @@ load ${tc}
... --snmp-community=hardware/pdu/cyberpower/snmp/CyberPower
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 --warning-phase-status='\\\%{state} =~ /low|nearOverload/i' OK: Device 'ATS011' bank '1' current : 1 A - phase '1' state: normal, current : 1 A, power : 219 W, voltage : 217.8 V | 'ATS011~1#bank.current.ampere'=1A;;;0; 'ATS011~1#phase.current.ampere'=1A;;;0; 'ATS011~1#phase.power.watt'=219W;;;0; 'ATS011~1#phase.voltage.volt'=217.8V;;;0;

View File

@ -22,7 +22,7 @@ outlets ${tc}
... --snmp-community=hardware/pdu/cyberpower/snmp/CyberPower
... ${extraoptions}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 --unknown-status='\\\%{state} =~ /on/' UNKNOWN: Device 'ATS011' outlet 'Outlet1 bank 1' state: 'on' [phase: -] - outlet 'Outlet10 bank 1' state: 'on' [phase: -] - outlet 'Outlet2 bank 1' state: 'on' [phase: -] - outlet 'Outlet3 bank 1' state: 'on' [phase: -] - outlet 'Outlet4 bank 1' state: 'on' [phase: -] - outlet 'Outlet5 bank 1' state: 'on' [phase: -] - outlet 'Outlet6 bank 1' state: 'on' [phase: -] - outlet 'Outlet7 bank 1' state: 'on' [phase: -] - outlet 'Outlet8 bank 1' state: 'on' [phase: -] - outlet 'Outlet9 bank 1' state: 'on' [phase: -]

View File

@ -24,7 +24,7 @@ inlet ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: All 7 components are ok [1/1 activeEnergy, 1/1 activePower, 1/1 apparentPower, 1/1 frequency, 1/1 powerFactor, 1/1 rmsCurrent, 1/1 rmsVoltage]. | 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.activeenergy.watthour'=1444088wattHour;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.activepower.watt'=242W;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.apparentpower.voltamp'=379voltamp;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.powerfactor'=0.64;;;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.rmscurrent.ampere'=1.626A;~:10.4;~:12.8;; 'Anonymized 102~Anonymized 027#hardware.sensor.inlet.rmsvoltage.volt'=233V;194:247;188:254;; 'hardware.activeEnergy.count'=1;;;; 'hardware.activePower.count'=1;;;; 'hardware.apparentPower.count'=1;;;; 'hardware.frequency.count'=1;;;; 'hardware.powerFactor.count'=1;;;; 'hardware.rmsCurrent.count'=1;;;; 'hardware.rmsVoltage.count'=1;;;;

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,7 @@ APC Sensors ${tc}/9
${command} Append Option To Command ${command} --critical ${critical}
${command} Append Option To Command ${command} --component ${component}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
# --component 'temperature' --warning='humidity,.,45:65' --critical='humidity,.,35:70'
Examples: tc component warning critical expected_result --
... 1 _empty_ _empty_ _empty_ OK: All 2 components are ok [2/2 temperatures]. | 'Main Module:Sonde de temperature#hardware.sensor.temperature.celsius'=23C;;;; 'Main Module:Sonde de temperature#hardware.sensor.humidity.percentage'=35%;;;0;100 'hardware.temperature.count'=2;;;;

View File

@ -23,7 +23,7 @@ equipment ${tc}
... --snmp-community=hardware/server/cisco/ucs/snmp/slim-ucs-equipment
... ${extra_options}
Ctn Verify Command Output ${command} ${expected_result}
Ctn Verify Command Without Connector Output ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} WARNING: memory 'Anonymized-001/mem-12' presence is: 'missing' - memory 'Anonymized-001/mem-15' presence is: 'missing'

View File

@ -23,7 +23,7 @@ lenovo xcc hardware Alarms ${tc}
... --snmp-community=hardware/server/lenovo/xcc/snmp/${arguments}
... --component=${component}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc arguments component expected_result --
... 1 system-health-critical health CRITICAL: 'Error' health status for 'Anonymized 144' - 'Error' health status for 'Anonymized 149' - 'Error' health status for 'Anonymized 127' - 'Warning' health status for 'Anonymized 130' | 'count_health'=4;;;;

View File

@ -25,7 +25,7 @@ battery status ${tc}
... --snmp-community=hardware/ups/apc/snmp/ups-apc-battery-ok
... ${extra_options}
Ctn Run Command And Check Result As Regexp ${command} ${expected_regexp}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_regexp}
Examples: tc extra_options expected_regexp --
... 1 ${EMPTY} ^OK: battery status is 'batteryNormal' \\\\[battery needs replace: no\\\\] \\\\[last replace date: 10-05-2022\\\\], remaining capacity: 100 %, remaining time: 665.00 minutes, time on battery: 205761.00 minutes, voltage: 110 V, temperature: 23 C - All battery packs are ok \\\\| 'battery.charge.remaining.percent'=100%;;;0;100 'battery.charge.remaining.minutes'=665.00m;;;0; 'battery.timeon.minutes'=205761.00m;;;0; 'battery.voltage.volt'=110V;;;; 'battery.temperature.celsius'=23C;;;;
@ -45,7 +45,7 @@ battery low status ${tc}
... --critical-cartridge-status='${critical_cartridge_status}'
... ${extra_options}
Ctn Run Command And Check Result As Regexp ${command} ${expected_regexp}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_regexp}
Examples: tc warning_status critical_status critical_battery_pack_status critical_cartridge_status extra_options expected_regexp --
... 1 \\\%{status} =~ /batteryLow/i \\\%{replace} =~ /yes/i \\\%{status} ne "OK" \\\%{status} ne "OK" ${EMPTY} ^CRITICAL: battery status is 'batteryLow' \\\\[battery needs replace: yes\\\\] \\\\[last replace date: 10/05/2022\\\\] - battery pack '1' status is 'needsReplacement' - cartridge '1' status is 'needsReplacement' - cartridge '2' status is 'needsReplacement' - battery pack '2' status is 'needsReplacement' \\\\| 'battery.charge.remaining.percent'=75%;;;0;100 'battery.charge.remaining.minutes'=665.00m;;;0; 'battery.timeon.minutes'=390946.00m;;;0; 'battery.voltage.volt'=110V;;;; 'battery.temperature.celsius'=23C;;;; 'battery.replace.lasttime.seconds'=\\\\d*s;;;;$

View File

@ -33,7 +33,7 @@ Sputnik UPS - Environment ${tc}/9
${opt} Append Option --filter-id ${filter_id}
${command} Catenate ${command} ${opt}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc filter_id w_temperature c_temperature w_humidity c_humidity expected_result --
... 1 1 30 50 50 70 OK: 'Sensor 1': temperature 20.06 C, humidity 33 % | 'Sensor 1#environment.temperature.celsius'=20.06C;0:30;0:50;; 'Sensor 1#environment.humidity.percentage'=33%;0:50;0:70;0;100

View File

@ -23,7 +23,7 @@ Battery ${tc}
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 {EMPTY} OK: battery status is normal - charge remaining: 100% (0 minutes remaining) | 'battery.charge.remaining.percent'=100%;;;0;100 'battery.charge.remaining.minutes'=0;;;0; 'battery.voltage.volt'=339.1V;;;; 'battery.temperature.celsius'=2C;;;; 'battery.temperatureambient.celsius'=2.2C;;;;

View File

@ -23,7 +23,7 @@ Battery ${tc}
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 {EMPTY} OK: battery status is normal - charge remaining: 100% (10 minutes remaining) | 'battery.charge.remaining.percent'=100%;;;0;100 'battery.charge.remaining.minutes'=10;;;0; 'battery.current.ampere'=2.3A;;;0; 'battery.voltage.volt'=534V;;;; 'battery.temperature.celsius'=2.2C;;;; 'battery.temperatureambient.celsius'=19C;;;;

View File

@ -25,7 +25,7 @@ Hardware UPS Standard SNMP input lines ${tc}
... --warning-frequence=${warningfrequence}
... --exclude-id=${excludeid}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc snmpcommunity warningpower criticalcurrent warningvoltage warningfrequence excludeid expected_result --
... 1 hardware/ups/standard/snmp/ups-standard ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} OK: All input lines are ok | '1#line.input.frequence.hertz'=49.9Hz;;;; '1#line.input.voltage.volt'=233V;;;; '1#line.input.current.ampere'=0A;;;; '1#line.input.power.watt'=0W;;;; '2#line.input.frequence.hertz'=49.9Hz;;;; '2#line.input.voltage.volt'=234V;;;; '2#line.input.current.ampere'=0A;;;; '2#line.input.power.watt'=0W;;;; '3#line.input.frequence.hertz'=49.9Hz;;;; '3#line.input.voltage.volt'=234V;;;; '3#line.input.current.ampere'=0A;;;; '3#line.input.power.watt'=0W;;;;

View File

@ -60,7 +60,7 @@ incidents ${tc}
... --mode=incidents
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} UNKNOWN: Need to specify --api-key or --api-username/--api-password options.

View File

@ -28,7 +28,7 @@ scenario-username ${tc}
... --api-password='password'
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --filter-name='Centreon Demo Navigation|Centreon Demo ping NA' --output-ignore-perfdata CRITICAL: Scenario 'Centreon Demo Navigation': status: Failure (2) WARNING: Scenario 'Centreon Demo ping NA': status: Degraded (8)

View File

@ -21,7 +21,7 @@ hardware ${tc}
... --snmp-community=network/3com/snmp/3com-hardware-fake
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --verbose CRITICAL: Fan '196611' status is deactive | 'count_fan'=2;;;; ${SPACE} Checking power supplies ${SPACE}Checking fans ${SPACE}Fan '65536' status is 'active' [instance: 65536] ${SPACE}Fan '196611' status is 'deactive' [instance: 196611]

View File

@ -21,7 +21,7 @@ hardware ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: All 7 components are ok [1/1 psu, 6/6 temperatures]. | 'Anonymized 145#hardware.temperature.celsius'=60.00C;;;; 'Anonymized 096#hardware.temperature.celsius'=58.00C;;;; 'Anonymized 138#hardware.temperature.celsius'=20.50C;;;; 'Anonymized 186#hardware.temperature.celsius'=63.50C;;;; 'Anonymized 159#hardware.temperature.celsius'=63.25C;;;; 'Anonymized 101#hardware.temperature.celsius'=63.75C;;;; 'hardware.psu.count'=1;;;; 'hardware.temperature.count'=6;;;;

View File

@ -21,7 +21,7 @@ interfaces ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} CRITICAL: Interface '1/1/10' Status : down (admin: up) - Interface '1/1/11' Status : down (admin: up) - Interface '1/1/12' Status : down (admin: up) - Interface '1/1/13' Status : down (admin: up) - Interface '1/1/14' Status : down (admin: up) - Interface '1/1/2' Status : down (admin: up) - Interface '1/1/4' Status : down (admin: up) - Interface '1/1/5' Status : down (admin: up) - Interface '1/1/6' Status : down (admin: up) - Interface '1/1/7' Status : down (admin: up) - Interface '1/1/8' Status : down (admin: up) - Interface '1/1/9' Status : down (admin: up)

View File

@ -22,7 +22,7 @@ list-interfaces ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --add-extra-oid='alias,.1.3.6.1.2.1.31.1.1.1.18' List interfaces: '1/1/1' [speed = 100][status = up][id = 1][alias = ][type = ethernetCsmacd] '1/1/10' [speed = ][status = down][id = 10][alias = ][type = ethernetCsmacd] '1/1/11' [speed = ][status = down][id = 11][alias = ][type = ethernetCsmacd] '1/1/12' [speed = ][status = down][id = 12][alias = ][type = ethernetCsmacd] '1/1/13' [speed = ][status = down][id = 13][alias = ][type = ethernetCsmacd] '1/1/14' [speed = ][status = down][id = 14][alias = ][type = ethernetCsmacd] '1/1/15' [speed = 1000][status = up][id = 15][alias = ][type = ethernetCsmacd] '1/1/16' [speed = 1000][status = up][id = 16][alias = ][type = ethernetCsmacd] 'Anonymized 124' [speed = ][status = up][id = 16777217][alias = ][type = propVirtual] '1/1/2' [speed = ][status = down][id = 2][alias = ][type = ethernetCsmacd] '1/1/3' [speed = 1000][status = up][id = 3][alias = ][type = ethernetCsmacd] '1/1/4' [speed = ][status = down][id = 4][alias = ][type = ethernetCsmacd] '1/1/5' [speed = ][status = down][id = 5][alias = ][type = ethernetCsmacd] '1/1/6' [speed = ][status = down][id = 6][alias = ][type = ethernetCsmacd] '1/1/7' [speed = ][status = down][id = 7][alias = ][type = ethernetCsmacd] 'Anonymized 066' [speed = 2000][status = up][id = 769][alias = ][type = ieee8023adLag] '1/1/8' [speed = ][status = down][id = 8][alias = ][type = ethernetCsmacd] '1/1/9' [speed = ][status = down][id = 9][alias = ][type = ethernetCsmacd]

View File

@ -22,7 +22,7 @@ list-spanning-trees ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} List ports with spanning tree protocol: [port = Anonymized 147] [state = forwarding] [op_status = up] [admin_status = up] [index = 1] [port = Anonymized 026] [state = blocking] [op_status = down] [admin_status = up] [index = 10] [port = Anonymized 232] [state = blocking] [op_status = down] [admin_status = up] [index = 11] [port = Anonymized 093] [state = blocking] [op_status = down] [admin_status = up] [index = 12] [port = Anonymized 058] [state = blocking] [op_status = down] [admin_status = up] [index = 13] [port = Anonymized 118] [state = blocking] [op_status = down] [admin_status = up] [index = 14] [port = Anonymized 029] [state = blocking] [op_status = down] [admin_status = up] [index = 2] [port = Anonymized 088] [state = forwarding] [op_status = up] [admin_status = up] [index = 3] [port = Anonymized 220] [state = blocking] [op_status = down] [admin_status = up] [index = 4] [port = Anonymized 003] [state = blocking] [op_status = down] [admin_status = up] [index = 5] [port = Anonymized 118] [state = blocking] [op_status = down] [admin_status = up] [index = 6] [port = Anonymized 192] [state = blocking] [op_status = down] [admin_status = up] [index = 7] [port = Anonymized 218] [state = forwarding] [op_status = up] [admin_status = up] [index = 769] [port = Anonymized 123] [state = blocking] [op_status = down] [admin_status = up] [index = 8] [port = Anonymized 203] [state = blocking] [op_status = down] [admin_status = up] [index = 9]

View File

@ -22,7 +22,7 @@ spanning-tree ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: All spanning trees are ok

View File

@ -25,7 +25,7 @@ stack ${tc}
# first run to build cache
Run ${command}
# second run to control the output
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --verbose OK: All stack members are ok checking stack member 'Anonymized 018' role: active [state: standby] port '1' operational status: up [admin status: enabled] port '2' operational status: up [admin status: enabled] checking stack member 'Anonymized 042' role: active [state: member] checking stack member 'Anonymized 076' role: active [state: member] checking stack member 'Anonymized 160' role: notReady [state: commander] port '1' operational status: up [admin status: enabled] port '2' operational status: up [admin status: enabled]

View File

@ -22,7 +22,7 @@ uptime ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: System uptime is: 273d 7h 15m 11s | 'uptime'=23613311.00s;;;0;

View File

@ -19,7 +19,7 @@ Test AP usage ${documentation} ${tc}
... --warning-clients='${warningclients}'
... --snmp-community=${snmpcommunity}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc documentation snmpcommunity filtercounters filtername warningclients expected_result --
... 1 without filters network/aruba/instant/snmp/ap-usage ${EMPTY} ${EMPTY} ${EMPTY} OK: total access points: 5 - All access points are ok | 'accesspoints.total.count'=5;;;0; 'AP Piso 1#clients.current.count'=4;;;0; 'AP Piso 1#cpu.utilization.percentage'=3.00%;;;0;100 'AP Piso 1#memory.usage.bytes'=215711744B;;;0;527028224 'AP Piso 1#memory.free.bytes'=311316480B;;;0;527028224 'AP Piso 1#memory.usage.percentage'=40.93%;;;0;100 'AP Piso 2#clients.current.count'=17;;;0; 'AP Piso 2#cpu.utilization.percentage'=18.00%;;;0;100 'AP Piso 2#memory.usage.bytes'=219455488B;;;0;527028224 'AP Piso 2#memory.free.bytes'=307572736B;;;0;527028224 'AP Piso 2#memory.usage.percentage'=41.64%;;;0;100 'AP Piso 3#clients.current.count'=14;;;0; 'AP Piso 3#cpu.utilization.percentage'=18.00%;;;0;100 'AP Piso 3#memory.usage.bytes'=219185152B;;;0;527028224 'AP Piso 3#memory.free.bytes'=307843072B;;;0;527028224 'AP Piso 3#memory.usage.percentage'=41.59%;;;0;100 'AP Piso 4#clients.current.count'=11;;;0; 'AP Piso 4#cpu.utilization.percentage'=11.00%;;;0;100 'AP Piso 4#memory.usage.bytes'=221700096B;;;0;527028224 'AP Piso 4#memory.free.bytes'=305328128B;;;0;527028224 'AP Piso 4#memory.usage.percentage'=42.07%;;;0;100 'AP Sotano#clients.current.count'=4;;;0; 'AP Sotano#cpu.utilization.percentage'=4.00%;;;0;100 'AP Sotano#memory.usage.bytes'=217473024B;;;0;527028224 'AP Sotano#memory.free.bytes'=309555200B;;;0;527028224 'AP Sotano#memory.usage.percentage'=41.26%;;;0;100

View File

@ -29,7 +29,7 @@ backups ${tc}
... --mode=backup
... ${extraoptions}
Log ${cmd}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: All backups are ok | 'All#backups.total.count'=5;;;0; 'All#backups.success.count'=0;;;0;5 'All#backups.suspect.count'=1;;;0;5 'All#backups.failure.count'=4;;;0;5 'Backup1#backups.total.count'=6;;;0; 'Backup1#backups.success.count'=1;;;0;6 'Backup1#backups.suspect.count'=2;;;0;6 'Backup1#backups.failure.count'=3;;;0;6

View File

@ -29,7 +29,7 @@ configstatus ${tc}
... ${cmd}
... ${extraoptions}
Log ${cmd}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: identical: 3, changed: 4, n/a: 5 | 'config.identical.count'=3;;;0; 'config.changed.count'=4;;;0; 'config.na.count'=5;;;0;

View File

@ -30,7 +30,7 @@ Device backup ${tc}
... ${cmd}
... ${extraoptions}
Log ${cmd}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} UNKNOWN: Need to specify --device-id or --device-name option.

View File

@ -29,7 +29,7 @@ intellichecks ${tc}
... ${cmd}
... ${extraoptions}
Log ${cmd}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} OK: All intellichecks are ok | 'All#intellicheck.total.count'=12;;;0; 'All#intellicheck.success.count'=3;;;0;12 'All#intellicheck.suspect.count'=4;;;0;12 'All#intellicheck.failure.count'=5;;;0;12 'IntelliCheck1#intellicheck.total.count'=12;;;0; 'IntelliCheck1#intellicheck.success.count'=5;;;0;12 'IntelliCheck1#intellicheck.suspect.count'=4;;;0;12 'IntelliCheck1#intellicheck.failure.count'=3;;;0;12

View File

@ -29,7 +29,7 @@ List-Devices ${tc}
${command} Catenate
... ${cmd}
... ${extraoptions}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extraoptions expected_result --
... 1 ${EMPTY} ^Devices: (\\\\n\\\\[.*\\\\]){5}\\\\Z

View File

@ -25,7 +25,7 @@ Antivirus new ${tc}
... ${extra_options}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${empty} OK: All antivirus are ok | 'antivirus.database.lastupdate.seconds'=\\\\d+s;;;0; 'Anonymized 008#antivirus.license.expires.seconds'=\\\\d+s;;;0; 'antivirus.database.lastupdate.seconds'=\\\\d+s;;;0; 'Anonymized 106#antivirus.license.expires.seconds'=\\\\d+s;;;0;
@ -46,7 +46,7 @@ Antivirus old ${tc}
... ${extra_options}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${empty} OK: All antivirus are ok | 'antivirus.database.lastupdate.seconds'=\\\\d+s;;;0; 'Anonymized 008-old#antivirus.license.expires.seconds'=\\\\d+s;;;0; 'antivirus.database.lastupdate.seconds'=\\\\d+s;;;0; 'Anonymized 106-old#antivirus.license.expires.seconds'=\\\\d+s;;;0;

View File

@ -34,7 +34,7 @@ vpn-tunnels ${tc}
... ${CMD}
... --mode=vpn-tunnels --cache-use ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: device 'C3PO-R2P2-BB88' status: dormant [mode: spoke] - All VPNs are ok | 'vpn.tunnels.unreachable.count'=3;;;0;3

View File

@ -21,7 +21,7 @@ stac ${tc}
... --snmp-community=network/cisco/smallbusiness/snmp/stack
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: Number of members detected: 2 - All stack members are ok | 'stack.members.detected.count'=2;;;0; 'stack.member.connected.members.count'=1;;;0; 'stack.member.connected.members.count'=1;;;0;

View File

@ -21,7 +21,7 @@ arp ${tc}
... --snmp-community=network/cisco/standard/snmp/cisco
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --warning-total-entries=2 --critical-total-entries=0 CRITICAL: total entries 3 | 'arp.total.entries.count'=3;0:2;0:0;0; 'arp.duplicate.macaddr.count'=0;;;0; 'arp.duplicate.ipaddr.count'=0;;;0;

View File

@ -20,7 +20,7 @@ configuration ${tc}
... --snmp-community=network/cisco/standard/snmp/cisco
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: running config is ahead of startup config since -1y 3M 1w 4d 18h 40m 35s. changes will be lost in case of a reboot | 'configuration.running.ahead.since.seconds'=-40463790.78s;;;0;

View File

@ -20,7 +20,7 @@ cpu ${tc}
... --snmp-community=network/cisco/standard/snmp/cisco
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --verbose OK: 1 CPU(s) average usage is 60.00 % (5s) 57.00 % (1m) 48.00 % (5m) - CPU '1' usage 60.00 % (5s) 57.00 % (1m) 48.00 % (5m) | 'total_cpu_5s_avg'=60.00%;;;0;100 'total_cpu_1m_avg'=57.00%;;;0;100 'total_cpu_5m_avg'=48.00%;;;0;100 'cpu_5s'=60.00%;;;0;100 'cpu_1m'=57.00%;;;0;100 'cpu_5m'=48.00%;;;0;100 CPU '1' usage 60.00 % (5s) 57.00 % (1m) 48.00 % (5m)

View File

@ -21,7 +21,7 @@ memory-flash ${tc}
... --snmp-community=network/cisco/standard/snmp/cisco
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: All memory flash partitions are ok | 'Anonymized 175#memory.flash.usage.bytes'=68809216B;;;0;122185728 'Anonymized 175#memory.flash.free.bytes'=53376512B;;;0;122185728 'Anonymized 175#memory.flash.usage.percentage'=56.32%;;;0;100 'Anonymized 163#memory.flash.usage.bytes'=68844544B;;;0;122185728 'Anonymized 163#memory.flash.free.bytes'=53341184B;;;0;122185728 'Anonymized 163#memory.flash.usage.percentage'=56.34%;;;0;100 'Anonymized 131#memory.flash.usage.bytes'=65309184B;;;0;122185728 'Anonymized 131#memory.flash.free.bytes'=56876544B;;;0;122185728 'Anonymized 131#memory.flash.usage.percentage'=53.45%;;;0;100

View File

@ -20,7 +20,7 @@ memory ${tc}
... --snmp-community=network/cisco/standard/snmp/cisco
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --warning-usage=0 WARNING: Memory 'Anonymized 021' Usage Total: 349.21 MB Used: 77.82 MB (22.29%) Free: 271.39 MB (77.71%) - Memory 'Anonymized 062' Usage Total: 916.05 KB Used: 40.00 B (0.00%) Free: 916.02 KB (100.00%) - Memory 'Anonymized 021' Usage Total: 83.95 KB Used: 40.00 B (0.05%) Free: 83.91 KB (99.95%) - Memory 'Anonymized 246' Usage Total: 32.00 MB Used: 12.10 MB (37.82%) Free: 19.90 MB (62.18%) - Memory 'Anonymized 135' Usage Total: 1.00 MB Used: 40.00 B (0.00%) Free: 1023.96 KB (100.00%) | 'used_Anonymized 021'=81605080B;0:0;;0;366174644 'used_Anonymized 062'=40B;0:0;;0;938040 'used_Anonymized 021'=40B;0:0;;0;85960 'used_Anonymized 246'=12689640B;0:0;;0;33554432 'used_Anonymized 135'=40B;0:0;;0;1048576

View File

@ -20,7 +20,7 @@ stack ${tc}
... --snmp-community=network/cisco/standard/snmp/cisco
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: Stack status is 'redundant' - Number of members waiting: 0, progressing: 0, added: 0, ready: 3, SDM mismatch: 0, version mismatch: 0, feature mismatch: 0, new master init: 0, provisioned: 0, invalid: 0, removed: 0 - All stack members status are ok | 'waiting'=0;;;0; 'progressing'=0;;;0; 'added'=0;;;0; 'ready'=3;;;0; 'sdm_mismatch'=0;;;0; 'version_mismatch'=0;;;0; 'feature_mismatch'=0;;;0; 'new_master_init'=0;;;0; 'provisioned'=0;;;0; 'invalid'=0;;;0; 'removed'=0;;;0;

View File

@ -20,7 +20,7 @@ uptime ${tc}
... --snmp-community=network/cisco/standard/snmp/cisco
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: System uptime is: 19d 16h 25m 40s | 'uptime'=1700740.00s;;;0;

View File

@ -23,7 +23,7 @@ check psu components ${tc}/2
... --component=psu
... --alternative-status-mapping='${alternative_status_mapping}'
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc alternative_status_mapping community expected_result --
... 1 true psu-citrix-v13 OK: All 4 components are ok [4/4 psus]. | 'count_psu'=4;;;;

View File

@ -23,7 +23,7 @@ ha-status ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Verify Command Output ${command} ${expected_result}
Ctn Verify Command Without Connector Output ${command} ${expected_result}
Examples: tc extra_options SNMPCOMMUNITY expected_result --
... 1 ${EMPTY} network/cyberoam/snmp/slim_sophos OK: HA is 'enabled' - Current HA State: 'primary' - Peer HA State: 'auxiliary' - HA Port: 'Anonymized 007' - HA IP: '192.168.42.167' - Peer IP: '192.168.42.23'

View File

@ -26,7 +26,7 @@ interfaces ${tc}
# first run to build cache
Run ${command}
# second run to control the output
Ctn Verify Command Output ${command} ${expected_result}
Ctn Verify Command Without Connector Output ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} CRITICAL: Interface 'Anonymized 232' Status : down (admin: up) - Interface 'Anonymized 191' Status : down (admin: up) - Interface 'Anonymized 141' Status : down (admin: up)

View File

@ -23,7 +23,7 @@ ha-status ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Regexp ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: All licenses are ok \\\\| 'base_fw#license.expires.seconds'=\\\\d+s;;;0; 'net_protection#license.expires.seconds'=\\\\d+s;;;0; 'web_protection#license.expires.seconds'=\\\\d+s;;;0;

View File

@ -23,7 +23,7 @@ list-interfaces ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Verify Command Output ${command} ${expected_result}
Ctn Verify Command Without Connector Output ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} List interfaces: 'Anonymized 250' [speed = 10][status = up][id = 1][type = softwareLoopback] 'Anonymized 012' [speed = 1000][status = up][id = 10][type = ethernetCsmacd] 'Anonymized 118' [speed = 1000][status = up][id = 11][type = ethernetCsmacd] 'Anonymized 073' [speed = 1000][status = up][id = 12][type = ethernetCsmacd] 'Anonymized 071' [speed = ][status = down][id = 13][type = ethernetCsmacd] 'Anonymized 073' [speed = 1000][status = up][id = 14][type = ethernetCsmacd] 'Anonymized 232' [speed = ][status = down][id = 15][type = ethernetCsmacd] 'Anonymized 191' [speed = ][status = down][id = 16][type = ethernetCsmacd] 'Anonymized 242' [speed = 1000][status = up][id = 17][type = ethernetCsmacd] 'Anonymized 175' [speed = ][status = down][id = 18][type = ethernetCsmacd] 'Anonymized 128' [speed = ][status = down][id = 19][type = ethernetCsmacd] 'Anonymized 037' [speed = ][status = up][id = 2][type = ethernetCsmacd]

View File

@ -23,7 +23,7 @@ list-vpns ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} List vpn [oid_path: 1] [name: Anonymized 093] [policy: Anonymized 208] [description: Anonymized 022] [connection_mode: Anonymized 245] [connection_type: site-to-site] [connection_status: active] [activated: active] [oid_path: 2] [name: Anonymized 252] [policy: Anonymized 055] [description: Anonymized 070] [connection_mode: Anonymized 123] [connection_type: site-to-site] [connection_status: active] [activated: active] [oid_path: 3] [name: Anonymized 029] [policy: Anonymized 151] [description: Anonymized 157] [connection_mode: Anonymized 055] [connection_type: site-to-site] [connection_status: inactive] [activated: active] [oid_path: 4] [name: Anonymized 132] [policy: Anonymized 089] [description: ] [connection_mode: Anonymized 185] [connection_type: site-to-site] [connection_status: active] [activated: active]

View File

@ -23,7 +23,7 @@ memory ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: Physical memory Total: 7.61 GB Used: 4.41 GB (58.00%) Free: 3.20 GB (42.00%) - Swap memory Total: 7.73 GB Used: 791.10 MB (10.00%) Free: 6.95 GB (90.00%) | 'physical_used'=4738284257.28B;;;0;8169455616 'swap_used'=829528473.6B;;;0;8295284736

View File

@ -26,7 +26,7 @@ requests ${tc}
# first run to build cache
Run ${command}
# second run to control the output
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --filter-counters='' OK: Requests live users: 38, http hits: 0, ftp hits: 0, pop3 hits: 0, imap hits: 0, smtp hits: 0 | 'live_users'=38;;;0; 'http_hits'=0;;;0; 'ftp_hits'=0;;;0; 'pop3_hits'=0;;;0; 'imap_hits'=0;;;0; 'smtp_hits'=0;;;0;

View File

@ -23,7 +23,7 @@ services ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --component='service' OK: All 21 components are ok [21/21 services]. | 'hardware.service.count'=21;;;;

View File

@ -23,7 +23,7 @@ storage ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --warning-usage=0 WARNING: Storage Usage Total: 86.97 GB Used: 20.87 GB (24.00%) Free: 66.10 GB (76.00%) | 'used'=22411676221.44B;0:0;;0;93381984256

View File

@ -23,7 +23,7 @@ vpn-status ${tc}
... --snmp-timeout=1
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 --filter-counters='^total$|^total-normal$' OK: VPN total: 4 - All VPNs are ok | 'total'=4;;;0;

Some files were not shown because too many files have changed in this diff Show More