From adeaa2a1969d82b7943dc65c8bfd8088f0520521 Mon Sep 17 00:00:00 2001 From: sfarouq-ext <116093375+sfarouq-ext@users.noreply.github.com> Date: Tue, 5 Aug 2025 14:30:47 +0200 Subject: [PATCH] migration of the keywords --- .../testing/Dockerfile.testing-plugins-alma8 | 1 - .../testing/Dockerfile.testing-plugins-alma9 | 1 - .../Dockerfile.testing-plugins-bookworm | 2 +- .../Dockerfile.testing-plugins-bullseye | 2 +- .../testing/Dockerfile.testing-plugins-jammy | 2 +- .../testing/Dockerfile.testing-plugins-noble | 2 +- .../apps/automation/ansible/tower/hosts.robot | 2 +- .../apps/automation/ansible/tower/jobs.robot | 2 +- .../apps/backup/veeam/vbem/restapi/jobs.robot | 2 +- .../backup/veeam/vbem/restapi/list-jobs.robot | 2 +- .../apps/eclipse/mosquitto/mqtt/clients.robot | 4 +- .../eclipse/mosquitto/mqtt/messages.robot | 4 +- .../mosquitto/mqtt/numeric-value.robot | 4 +- .../eclipse/mosquitto/mqtt/string-value.robot | 4 +- .../apps/eclipse/mosquitto/mqtt/uptime.robot | 4 +- .../apps/exense/step/restapi/list-plans.robot | 2 +- .../exense/step/restapi/list-tenants.robot | 2 +- tests/apps/exense/step/restapi/plans.robot | 2 +- tests/apps/haproxy/web/backendusage.robot | 2 +- tests/apps/haproxy/web/frontendusage.robot | 2 +- tests/apps/jmeter/scenario.robot | 2 +- .../2012/local/node-integration-service.robot | 2 +- .../local/node-integration-service2.robot | 2 +- .../apps/podman/restapi/containerusage.robot | 4 +- .../apps/podman/restapi/listcontainers.robot | 2 +- tests/apps/podman/restapi/listpods.robot | 2 +- tests/apps/podman/restapi/podstatus.robot | 4 +- tests/apps/podman/restapi/systemstatus.robot | 2 +- .../http/collection-centreon-web.robot | 2 +- .../protocols/snmp/collection-sputnik.robot | 2 +- .../snmp/hashicorp-password-manager.robot | 2 +- tests/apps/vmware/vsphere8/esx/cpu-curl.robot | 2 +- tests/apps/vmware/vsphere8/esx/cpu-lwp.robot | 2 +- tests/apps/vmware/vsphere8/esx/diskio.robot | 2 +- .../vmware/vsphere8/esx/host-status.robot | 4 +- tests/apps/vmware/vsphere8/esx/memory.robot | 2 +- tests/apps/vmware/vsphere8/esx/network.robot | 2 +- tests/apps/vmware/vsphere8/esx/power.robot | 2 +- tests/apps/vmware/vsphere8/esx/swap.robot | 2 +- .../aws/cloudtrail/checktrailstatus.robot | 2 +- tests/cloud/aws/cloudtrail/countevents.robot | 2 +- .../azure/database/elasticpool/storage.robot | 2 +- .../network/vpngateway/vpngatewaystatus.robot | 2 +- ...ud-azure-policyinsights-policystates.robot | 2 +- tests/database/database-mysql.robot | 2 +- .../informix/snmp/list-instances.robot | 2 +- .../informix/snmp/logfile-usage.robot | 2 +- .../devices/camera/avigilon/snmp/memory.robot | 2 +- .../camera/avigilon/snmp/storage.robot | 2 +- .../camera/avigilon/snmp/temperature.robot | 2 +- .../devices/video/appeartv/snmp/alarms.robot | 2 +- tests/hardware/pdu/cyberpower/snmp/load.robot | 2 +- .../pdu/cyberpower/snmp/outlets.robot | 2 +- .../pdu/raritan/snmp/inletsensors.robot | 2 +- .../pdu/raritan/snmp/outletsensors.robot | 2 +- .../apc/snmp/hardware-sensors-apc-snmp.robot | 2 +- .../server/cisco/ucs/snmp/equipement.robot | 2 +- .../lenovo/xcc/snmp/xcc-hardware-snmp.robot | 2 +- .../ups/apc/snmp/battery-status.robot | 4 +- .../snmp/hardware-ups-sputnik-snmp.robot | 2 +- .../netvision/snmp/battery-netvision5.robot | 2 +- .../netvision/snmp/battery-netvision6.robot | 2 +- .../snmp/hardware-ups-standard-snmp.robot | 2 +- .../iplabel/ekara/restapi/incidents.robot | 2 +- .../iplabel/ekara/restapi/scenarios.robot | 2 +- tests/network/3com/snmp/hardware.robot | 2 +- tests/network/aruba/aoscx/snmp/hardware.robot | 2 +- .../network/aruba/aoscx/snmp/interfaces.robot | 2 +- .../aruba/aoscx/snmp/list-interfaces.robot | 2 +- .../aoscx/snmp/list-spanning-trees.robot | 2 +- .../aruba/aoscx/snmp/spanning-tree.robot | 2 +- tests/network/aruba/aoscx/snmp/stack.robot | 2 +- tests/network/aruba/aoscx/snmp/uptime.robot | 2 +- .../instant/snmp/aruba-instant-ap-usage.robot | 2 +- tests/network/backbox/restapi/backup.robot | 2 +- .../backbox/restapi/configstatus.robot | 2 +- .../backbox/restapi/devicebackup.robot | 2 +- .../backbox/restapi/intellicheck.robot | 2 +- .../network/backbox/restapi/listdevices.robot | 2 +- .../chapsvision/crossing/snmp/antivirus.robot | 4 +- .../cloudcontroller/restapi/vpntunnels.robot | 2 +- .../cisco/smallbusiness/snmp/stack.robot | 2 +- tests/network/cisco/standard/snmp/arp.robot | 2 +- .../cisco/standard/snmp/configuration.robot | 2 +- tests/network/cisco/standard/snmp/cpu.robot | 2 +- .../cisco/standard/snmp/memory-flash.robot | 2 +- .../network/cisco/standard/snmp/memory.robot | 2 +- tests/network/cisco/standard/snmp/stack.robot | 2 +- .../network/cisco/standard/snmp/uptime.robot | 2 +- .../mode/components/netscaler-health.robot | 2 +- tests/network/cyberoam/snmp/ha-status.robot | 2 +- tests/network/cyberoam/snmp/interfaces.robot | 2 +- tests/network/cyberoam/snmp/license.robot | 2 +- .../cyberoam/snmp/list-interfaces.robot | 2 +- tests/network/cyberoam/snmp/list-vpns.robot | 2 +- tests/network/cyberoam/snmp/memory.robot | 2 +- tests/network/cyberoam/snmp/requests.robot | 2 +- tests/network/cyberoam/snmp/services.robot | 2 +- tests/network/cyberoam/snmp/storage.robot | 2 +- tests/network/cyberoam/snmp/vpn-status.robot | 2 +- tests/network/f5/bigip/snmp/apm.robot | 2 +- .../network/f5/bigip/snmp/certificates.robot | 2 +- tests/network/f5/bigip/snmp/connections.robot | 2 +- tests/network/f5/bigip/snmp/cpuusage.robot | 2 +- tests/network/f5/bigip/snmp/failover.robot | 2 +- tests/network/f5/bigip/snmp/hardware.robot | 2 +- tests/network/f5/bigip/snmp/list-trunks.robot | 2 +- .../f5/bigip/snmp/list-virtualservers.robot | 2 +- tests/network/f5/bigip/snmp/listnodes.robot | 2 +- tests/network/f5/bigip/snmp/listpools.robot | 2 +- tests/network/f5/bigip/snmp/node-status.robot | 2 +- tests/network/f5/bigip/snmp/pool-status.robot | 2 +- tests/network/f5/bigip/snmp/tmm-usage.robot | 2 +- tests/network/f5/bigip/snmp/trunks.robot | 2 +- .../f5/bigip/snmp/virtualserver-status.robot | 2 +- .../fortigate/restapi/certificates.robot | 2 +- .../fortinet/fortigate/restapi/licenses.robot | 2 +- .../fortigate/snmp/link-monitor.robot | 2 +- .../fortigate/snmp/list-link-monitor.robot | 2 +- .../fortigate/snmp/list-switches.robot | 2 +- .../fortinet/fortigate/snmp/sdawn.robot | 2 +- .../fortigate/snmp/switch-usage.robot | 2 +- .../network/fortinet/fortigate/snmp/vpn.robot | 2 +- .../procurve/snmp/list-spanning-trees.robot | 2 +- .../hp/procurve/snmp/spanning-tree.robot | 2 +- tests/network/hp/procurve/snmp/stack.robot | 2 +- tests/network/huawei/wlc/snmp/ap-health.robot | 2 +- tests/network/huawei/wlc/snmp/ap-radio.robot | 2 +- tests/network/huawei/wlc/snmp/ap-status.robot | 2 +- tests/network/huawei/wlc/snmp/cpu.robot | 2 +- .../network/huawei/wlc/snmp/interfaces.robot | 2 +- tests/network/huawei/wlc/snmp/list-aps.robot | 2 +- .../huawei/wlc/snmp/list-interfaces.robot | 2 +- .../network/huawei/wlc/snmp/list-radios.robot | 2 +- tests/network/huawei/wlc/snmp/memory.robot | 2 +- tests/network/huawei/wlc/snmp/uptime.robot | 2 +- .../network/huawei/wlc/snmp/wlan-global.robot | 2 +- .../network/juniper/mseries/netconf/bgp.robot | 2 +- .../network/juniper/mseries/netconf/cpu.robot | 2 +- .../juniper/mseries/netconf/disks.robot | 2 +- .../juniper/mseries/netconf/hardware.robot | 4 +- .../juniper/mseries/netconf/interfaces.robot | 6 +-- .../network/juniper/mseries/netconf/ldp.robot | 2 +- .../juniper/mseries/netconf/list-bgp.robot | 2 +- .../juniper/mseries/netconf/list-disks.robot | 2 +- .../mseries/netconf/list-interfaces.robot | 2 +- .../juniper/mseries/netconf/list-ldp.robot | 2 +- .../juniper/mseries/netconf/list-lsp.robot | 2 +- .../juniper/mseries/netconf/list-rsvp.robot | 2 +- .../mseries/netconf/list-services-rpm.robot | 2 +- .../network/juniper/mseries/netconf/lsp.robot | 2 +- .../juniper/mseries/netconf/memory.robot | 2 +- .../juniper/mseries/netconf/ospf.robot | 2 +- .../juniper/mseries/netconf/rsvp.robot | 2 +- .../mseries/netconf/services-rpm.robot | 2 +- .../keysight/nvos/restapi/license.robot | 2 +- .../network/keysight/nvos/restapi/ports.robot | 2 +- .../mikrotik/snmp/listlteinterfaces.robot | 2 +- .../network/mikrotik/snmp/lteinterfaces.robot | 2 +- .../network/moxa/switch/snmp/interfaces.robot | 2 +- .../network/nokia/timos/snmp/sas-alarm.robot | 2 +- .../sonus/sbc/snmp/call-statistics.robot | 2 +- tests/network/sonus/sbc/snmp/channels.robot | 2 +- tests/network/sonus/sbc/snmp/dsp-stats.robot | 2 +- tests/network/sonus/sbc/snmp/interfaces.robot | 2 +- .../sonus/sbc/snmp/list-interfaces.robot | 2 +- .../network/stormshield/api/vpn-tunnels.robot | 2 +- tests/network/stormshield/snmp/hardware.robot | 2 +- tests/network/teldat/snmp/cellsradio.robot | 2 +- tests/network/teldat/snmp/cpu.robot | 2 +- tests/network/teldat/snmp/memory.robot | 2 +- tests/os/f5os/snmp/cpu-usage.robot | 2 +- tests/os/f5os/snmp/hardware.robot | 2 +- tests/os/f5os/snmp/memory.robot | 2 +- tests/os/freebsd/snmp/storage.robot | 2 +- .../local/List-Systemdservices-v219.robot | 2 +- .../local/List-Systemdservices-v252.robot | 2 +- tests/os/linux/local/process.robot | 2 +- tests/os/linux/snmp/arp.robot | 2 +- tests/os/linux/snmp/cpu-d.robot | 38 +++++++++++++++++++ tests/os/linux/snmp/cpu-detailed.robot | 2 +- tests/os/linux/snmp/cpu.robot | 5 +-- tests/os/linux/snmp/disk-usage.robot | 2 +- tests/os/linux/snmp/diskio.robot | 2 +- tests/os/linux/snmp/inodes.robot | 2 +- tests/os/linux/snmp/list-diskspath.robot | 4 +- tests/os/linux/snmp/list-interfaces.robot | 2 +- tests/os/linux/snmp/list-processes.robot | 2 +- tests/os/linux/snmp/list-storages.robot | 2 +- tests/os/linux/snmp/load.robot | 2 +- .../os/linux/snmp/memory-centreonvault.robot | 2 +- tests/os/linux/snmp/memory.robot | 2 +- tests/os/linux/snmp/network-interfaces.robot | 4 +- tests/os/linux/snmp/processcount.robot | 2 +- tests/os/linux/snmp/storage.robot | 2 +- tests/os/linux/snmp/swap.robot | 2 +- tests/os/linux/snmp/udpcon.robot | 2 +- tests/os/linux/snmp/uptime.robot | 2 +- tests/os/windows/snmp/cpu.robot | 2 +- tests/os/windows/snmp/interfaces.robot | 2 +- tests/os/windows/snmp/list-interfaces.robot | 2 +- tests/os/windows/snmp/list-services.robot | 2 +- tests/os/windows/snmp/list-storages.robot | 2 +- tests/os/windows/snmp/memory.robot | 2 +- tests/os/windows/snmp/processcount.robot | 2 +- tests/os/windows/snmp/services-en.robot | 2 +- tests/os/windows/snmp/storage.robot | 2 +- tests/os/windows/snmp/swap.robot | 2 +- tests/os/windows/snmp/uptime.robot | 2 +- tests/resources/resources.resource | 36 +++++++++++++----- .../datacore/restapi/alert-count.robot | 2 +- .../storage/datacore/restapi/pool-usage.robot | 2 +- .../datacore/restapi/status-monitor.robot | 2 +- .../storage/emc/datadomain/snmp/alerts.robot | 2 +- .../emc/datadomain/snmp/cleaning.robot | 2 +- .../emc/datadomain/snmp/filesystems.robot | 2 +- .../emc/datadomain/snmp/hardware.robot | 2 +- .../emc/datadomain/snmp/interfaces.robot | 2 +- .../datadomain/snmp/list-filesystems.robot | 2 +- .../emc/datadomain/snmp/list-mtrees.robot | 2 +- .../datadomain/snmp/list-replications.robot | 2 +- .../storage/emc/datadomain/snmp/mtrees.robot | 2 +- .../storage/emc/datadomain/snmp/process.robot | 2 +- .../emc/datadomain/snmp/replications.robot | 2 +- .../netapp/ontap/restapi/aggregates.robot | 2 +- .../netapp/ontap/restapi/cluster.robot | 2 +- .../netapp/ontap/restapi/hardware.robot | 2 +- tests/storage/netapp/ontap/restapi/luns.robot | 2 +- .../storage/netapp/ontap/restapi/quotas.robot | 2 +- .../netapp/ontap/restapi/snapmirrors.robot | 2 +- .../netapp/ontap/restapi/volumes.robot | 2 +- .../flasharray/v2/restapi/alerts.robot | 2 +- .../flasharray/v2/restapi/array.robot | 2 +- tests/storage/qnap/snmp/hardware.robot | 2 +- tests/storage/qnap/snmp/pools.robot | 2 +- tests/storage/qnap/snmp/volumes.robot | 2 +- tests/storage/synology/snmp/Components.robot | 2 +- tests/storage/synology/snmp/Uptime.robot | 2 +- tests/storage/wd/nas/snmp/hardware.robot | 2 +- tests/storage/wd/nas/snmp/listvolumes.robot | 2 +- tests/storage/wd/nas/snmp/volumes.robot | 2 +- 241 files changed, 318 insertions(+), 265 deletions(-) create mode 100644 tests/os/linux/snmp/cpu-d.robot diff --git a/.github/docker/testing/Dockerfile.testing-plugins-alma8 b/.github/docker/testing/Dockerfile.testing-plugins-alma8 index 5ed49cbd7..bd1f1508e 100644 --- a/.github/docker/testing/Dockerfile.testing-plugins-alma8 +++ b/.github/docker/testing/Dockerfile.testing-plugins-alma8 @@ -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 diff --git a/.github/docker/testing/Dockerfile.testing-plugins-alma9 b/.github/docker/testing/Dockerfile.testing-plugins-alma9 index 763479fa0..985ba466c 100644 --- a/.github/docker/testing/Dockerfile.testing-plugins-alma9 +++ b/.github/docker/testing/Dockerfile.testing-plugins-alma9 @@ -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 diff --git a/.github/docker/testing/Dockerfile.testing-plugins-bookworm b/.github/docker/testing/Dockerfile.testing-plugins-bookworm index 715994189..e36bbd40f 100644 --- a/.github/docker/testing/Dockerfile.testing-plugins-bookworm +++ b/.github/docker/testing/Dockerfile.testing-plugins-bookworm @@ -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 diff --git a/.github/docker/testing/Dockerfile.testing-plugins-bullseye b/.github/docker/testing/Dockerfile.testing-plugins-bullseye index 883ea94a3..7fa6d943a 100644 --- a/.github/docker/testing/Dockerfile.testing-plugins-bullseye +++ b/.github/docker/testing/Dockerfile.testing-plugins-bullseye @@ -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 diff --git a/.github/docker/testing/Dockerfile.testing-plugins-jammy b/.github/docker/testing/Dockerfile.testing-plugins-jammy index af3b87df2..5df89624c 100644 --- a/.github/docker/testing/Dockerfile.testing-plugins-jammy +++ b/.github/docker/testing/Dockerfile.testing-plugins-jammy @@ -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 diff --git a/.github/docker/testing/Dockerfile.testing-plugins-noble b/.github/docker/testing/Dockerfile.testing-plugins-noble index 62a1e45e3..48d536695 100644 --- a/.github/docker/testing/Dockerfile.testing-plugins-noble +++ b/.github/docker/testing/Dockerfile.testing-plugins-noble @@ -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 diff --git a/tests/apps/automation/ansible/tower/hosts.robot b/tests/apps/automation/ansible/tower/hosts.robot index cbd1275fc..120893c89 100644 --- a/tests/apps/automation/ansible/tower/hosts.robot +++ b/tests/apps/automation/ansible/tower/hosts.robot @@ -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 diff --git a/tests/apps/automation/ansible/tower/jobs.robot b/tests/apps/automation/ansible/tower/jobs.robot index c9b44b096..c7a0483bf 100644 --- a/tests/apps/automation/ansible/tower/jobs.robot +++ b/tests/apps/automation/ansible/tower/jobs.robot @@ -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 diff --git a/tests/apps/backup/veeam/vbem/restapi/jobs.robot b/tests/apps/backup/veeam/vbem/restapi/jobs.robot index 36862d869..8fb76b25d 100644 --- a/tests/apps/backup/veeam/vbem/restapi/jobs.robot +++ b/tests/apps/backup/veeam/vbem/restapi/jobs.robot @@ -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' diff --git a/tests/apps/backup/veeam/vbem/restapi/list-jobs.robot b/tests/apps/backup/veeam/vbem/restapi/list-jobs.robot index 602ef03ca..6c7fc2957 100644 --- a/tests/apps/backup/veeam/vbem/restapi/list-jobs.robot +++ b/tests/apps/backup/veeam/vbem/restapi/list-jobs.robot @@ -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] \ No newline at end of file diff --git a/tests/apps/eclipse/mosquitto/mqtt/clients.robot b/tests/apps/eclipse/mosquitto/mqtt/clients.robot index add2943b7..d59a62fba 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/clients.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/clients.robot @@ -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+;$ diff --git a/tests/apps/eclipse/mosquitto/mqtt/messages.robot b/tests/apps/eclipse/mosquitto/mqtt/messages.robot index e02512f1b..2f8162506 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/messages.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/messages.robot @@ -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+;$ diff --git a/tests/apps/eclipse/mosquitto/mqtt/numeric-value.robot b/tests/apps/eclipse/mosquitto/mqtt/numeric-value.robot index 11384ae39..524e04434 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/numeric-value.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/numeric-value.robot @@ -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*;;;;$ diff --git a/tests/apps/eclipse/mosquitto/mqtt/string-value.robot b/tests/apps/eclipse/mosquitto/mqtt/string-value.robot index 672ed12ad..8ed0d68de 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/string-value.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/string-value.robot @@ -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*$ diff --git a/tests/apps/eclipse/mosquitto/mqtt/uptime.robot b/tests/apps/eclipse/mosquitto/mqtt/uptime.robot index 54776fdd7..6feedcb2d 100644 --- a/tests/apps/eclipse/mosquitto/mqtt/uptime.robot +++ b/tests/apps/eclipse/mosquitto/mqtt/uptime.robot @@ -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+;$ diff --git a/tests/apps/exense/step/restapi/list-plans.robot b/tests/apps/exense/step/restapi/list-plans.robot index e8a29c720..4d6fe5578 100644 --- a/tests/apps/exense/step/restapi/list-plans.robot +++ b/tests/apps/exense/step/restapi/list-plans.robot @@ -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] diff --git a/tests/apps/exense/step/restapi/list-tenants.robot b/tests/apps/exense/step/restapi/list-tenants.robot index 6d4e9cd7c..c939b4b1c 100644 --- a/tests/apps/exense/step/restapi/list-tenants.robot +++ b/tests/apps/exense/step/restapi/list-tenants.robot @@ -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] diff --git a/tests/apps/exense/step/restapi/plans.robot b/tests/apps/exense/step/restapi/plans.robot index 9401bcd3c..2224f8bc1 100644 --- a/tests/apps/exense/step/restapi/plans.robot +++ b/tests/apps/exense/step/restapi/plans.robot @@ -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; diff --git a/tests/apps/haproxy/web/backendusage.robot b/tests/apps/haproxy/web/backendusage.robot index 508e33540..5c2e3b356 100644 --- a/tests/apps/haproxy/web/backendusage.robot +++ b/tests/apps/haproxy/web/backendusage.robot @@ -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; diff --git a/tests/apps/haproxy/web/frontendusage.robot b/tests/apps/haproxy/web/frontendusage.robot index d31ad434e..05b40432f 100644 --- a/tests/apps/haproxy/web/frontendusage.robot +++ b/tests/apps/haproxy/web/frontendusage.robot @@ -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; diff --git a/tests/apps/jmeter/scenario.robot b/tests/apps/jmeter/scenario.robot index c4be3ccf6..2a5275b2b 100644 --- a/tests/apps/jmeter/scenario.robot +++ b/tests/apps/jmeter/scenario.robot @@ -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 -- diff --git a/tests/apps/microsoft/hyperv/2012/local/node-integration-service.robot b/tests/apps/microsoft/hyperv/2012/local/node-integration-service.robot index 11d211ce7..23f6d67cf 100644 --- a/tests/apps/microsoft/hyperv/2012/local/node-integration-service.robot +++ b/tests/apps/microsoft/hyperv/2012/local/node-integration-service.robot @@ -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 diff --git a/tests/apps/microsoft/hyperv/2012/local/node-integration-service2.robot b/tests/apps/microsoft/hyperv/2012/local/node-integration-service2.robot index 97cc3d21a..20dbca444 100644 --- a/tests/apps/microsoft/hyperv/2012/local/node-integration-service2.robot +++ b/tests/apps/microsoft/hyperv/2012/local/node-integration-service2.robot @@ -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 diff --git a/tests/apps/podman/restapi/containerusage.robot b/tests/apps/podman/restapi/containerusage.robot index 252756525..26c171a72 100644 --- a/tests/apps/podman/restapi/containerusage.robot +++ b/tests/apps/podman/restapi/containerusage.robot @@ -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; diff --git a/tests/apps/podman/restapi/listcontainers.robot b/tests/apps/podman/restapi/listcontainers.robot index 9226940cf..b661a0a6d 100644 --- a/tests/apps/podman/restapi/listcontainers.robot +++ b/tests/apps/podman/restapi/listcontainers.robot @@ -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 diff --git a/tests/apps/podman/restapi/listpods.robot b/tests/apps/podman/restapi/listpods.robot index af04330c7..eb38043b4 100644 --- a/tests/apps/podman/restapi/listpods.robot +++ b/tests/apps/podman/restapi/listpods.robot @@ -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 diff --git a/tests/apps/podman/restapi/podstatus.robot b/tests/apps/podman/restapi/podstatus.robot index 1218035ff..34b5cc4b5 100644 --- a/tests/apps/podman/restapi/podstatus.robot +++ b/tests/apps/podman/restapi/podstatus.robot @@ -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; diff --git a/tests/apps/podman/restapi/systemstatus.robot b/tests/apps/podman/restapi/systemstatus.robot index e31a01446..0b0c6fcca 100644 --- a/tests/apps/podman/restapi/systemstatus.robot +++ b/tests/apps/podman/restapi/systemstatus.robot @@ -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; diff --git a/tests/apps/protocols/http/collection-centreon-web.robot b/tests/apps/protocols/http/collection-centreon-web.robot index 90678d434..d3f4b795f 100644 --- a/tests/apps/protocols/http/collection-centreon-web.robot +++ b/tests/apps/protocols/http/collection-centreon-web.robot @@ -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 diff --git a/tests/apps/protocols/snmp/collection-sputnik.robot b/tests/apps/protocols/snmp/collection-sputnik.robot index 0ec9b73db..118c70541 100644 --- a/tests/apps/protocols/snmp/collection-sputnik.robot +++ b/tests/apps/protocols/snmp/collection-sputnik.robot @@ -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 diff --git a/tests/apps/protocols/snmp/hashicorp-password-manager.robot b/tests/apps/protocols/snmp/hashicorp-password-manager.robot index bc288f5d9..4e460bcfb 100644 --- a/tests/apps/protocols/snmp/hashicorp-password-manager.robot +++ b/tests/apps/protocols/snmp/hashicorp-password-manager.robot @@ -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 diff --git a/tests/apps/vmware/vsphere8/esx/cpu-curl.robot b/tests/apps/vmware/vsphere8/esx/cpu-curl.robot index 40f0f86d9..0f606edb8 100644 --- a/tests/apps/vmware/vsphere8/esx/cpu-curl.robot +++ b/tests/apps/vmware/vsphere8/esx/cpu-curl.robot @@ -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. diff --git a/tests/apps/vmware/vsphere8/esx/cpu-lwp.robot b/tests/apps/vmware/vsphere8/esx/cpu-lwp.robot index 40e5e065f..20489a1fd 100644 --- a/tests/apps/vmware/vsphere8/esx/cpu-lwp.robot +++ b/tests/apps/vmware/vsphere8/esx/cpu-lwp.robot @@ -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. diff --git a/tests/apps/vmware/vsphere8/esx/diskio.robot b/tests/apps/vmware/vsphere8/esx/diskio.robot index df6109133..9607802df 100644 --- a/tests/apps/vmware/vsphere8/esx/diskio.robot +++ b/tests/apps/vmware/vsphere8/esx/diskio.robot @@ -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. diff --git a/tests/apps/vmware/vsphere8/esx/host-status.robot b/tests/apps/vmware/vsphere8/esx/host-status.robot index d1f3a2b6d..d86928c09 100644 --- a/tests/apps/vmware/vsphere8/esx/host-status.robot +++ b/tests/apps/vmware/vsphere8/esx/host-status.robot @@ -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 -- diff --git a/tests/apps/vmware/vsphere8/esx/memory.robot b/tests/apps/vmware/vsphere8/esx/memory.robot index 4474865b6..a56935f78 100644 --- a/tests/apps/vmware/vsphere8/esx/memory.robot +++ b/tests/apps/vmware/vsphere8/esx/memory.robot @@ -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. diff --git a/tests/apps/vmware/vsphere8/esx/network.robot b/tests/apps/vmware/vsphere8/esx/network.robot index 2c76b095e..097bb1b1c 100644 --- a/tests/apps/vmware/vsphere8/esx/network.robot +++ b/tests/apps/vmware/vsphere8/esx/network.robot @@ -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. diff --git a/tests/apps/vmware/vsphere8/esx/power.robot b/tests/apps/vmware/vsphere8/esx/power.robot index cdaeb4545..e38b43c04 100644 --- a/tests/apps/vmware/vsphere8/esx/power.robot +++ b/tests/apps/vmware/vsphere8/esx/power.robot @@ -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. diff --git a/tests/apps/vmware/vsphere8/esx/swap.robot b/tests/apps/vmware/vsphere8/esx/swap.robot index 1a394d086..cf4bb548b 100644 --- a/tests/apps/vmware/vsphere8/esx/swap.robot +++ b/tests/apps/vmware/vsphere8/esx/swap.robot @@ -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. diff --git a/tests/cloud/aws/cloudtrail/checktrailstatus.robot b/tests/cloud/aws/cloudtrail/checktrailstatus.robot index 5f54aef37..7c99ffea1 100644 --- a/tests/cloud/aws/cloudtrail/checktrailstatus.robot +++ b/tests/cloud/aws/cloudtrail/checktrailstatus.robot @@ -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; diff --git a/tests/cloud/aws/cloudtrail/countevents.robot b/tests/cloud/aws/cloudtrail/countevents.robot index a14ef3e9b..4866ec6e8 100644 --- a/tests/cloud/aws/cloudtrail/countevents.robot +++ b/tests/cloud/aws/cloudtrail/countevents.robot @@ -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; diff --git a/tests/cloud/azure/database/elasticpool/storage.robot b/tests/cloud/azure/database/elasticpool/storage.robot index 7566fbd4c..a205c1e22 100644 --- a/tests/cloud/azure/database/elasticpool/storage.robot +++ b/tests/cloud/azure/database/elasticpool/storage.robot @@ -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;;;; diff --git a/tests/cloud/azure/network/vpngateway/vpngatewaystatus.robot b/tests/cloud/azure/network/vpngateway/vpngatewaystatus.robot index 9e9ae7494..3ab6f9a9b 100644 --- a/tests/cloud/azure/network/vpngateway/vpngatewaystatus.robot +++ b/tests/cloud/azure/network/vpngateway/vpngatewaystatus.robot @@ -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 diff --git a/tests/cloud/azure/policyinsights/policystates/cloud-azure-policyinsights-policystates.robot b/tests/cloud/azure/policyinsights/policystates/cloud-azure-policyinsights-policystates.robot index 378751791..1a08d41bf 100644 --- a/tests/cloud/azure/policyinsights/policystates/cloud-azure-policyinsights-policystates.robot +++ b/tests/cloud/azure/policyinsights/policystates/cloud-azure-policyinsights-policystates.robot @@ -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; diff --git a/tests/database/database-mysql.robot b/tests/database/database-mysql.robot index 91a196fc6..5adae4f16 100644 --- a/tests/database/database-mysql.robot +++ b/tests/database/database-mysql.robot @@ -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. diff --git a/tests/database/informix/snmp/list-instances.robot b/tests/database/informix/snmp/list-instances.robot index 324c01505..2024c011c 100644 --- a/tests/database/informix/snmp/list-instances.robot +++ b/tests/database/informix/snmp/list-instances.robot @@ -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] diff --git a/tests/database/informix/snmp/logfile-usage.robot b/tests/database/informix/snmp/logfile-usage.robot index 46d8faa01..d26545331 100644 --- a/tests/database/informix/snmp/logfile-usage.robot +++ b/tests/database/informix/snmp/logfile-usage.robot @@ -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% diff --git a/tests/hardware/devices/camera/avigilon/snmp/memory.robot b/tests/hardware/devices/camera/avigilon/snmp/memory.robot index 1dae28e0d..d83c56670 100644 --- a/tests/hardware/devices/camera/avigilon/snmp/memory.robot +++ b/tests/hardware/devices/camera/avigilon/snmp/memory.robot @@ -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; diff --git a/tests/hardware/devices/camera/avigilon/snmp/storage.robot b/tests/hardware/devices/camera/avigilon/snmp/storage.robot index 980379563..e6834e28b 100644 --- a/tests/hardware/devices/camera/avigilon/snmp/storage.robot +++ b/tests/hardware/devices/camera/avigilon/snmp/storage.robot @@ -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 diff --git a/tests/hardware/devices/camera/avigilon/snmp/temperature.robot b/tests/hardware/devices/camera/avigilon/snmp/temperature.robot index ab3be9ab9..7d9fc6a6d 100644 --- a/tests/hardware/devices/camera/avigilon/snmp/temperature.robot +++ b/tests/hardware/devices/camera/avigilon/snmp/temperature.robot @@ -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; diff --git a/tests/hardware/devices/video/appeartv/snmp/alarms.robot b/tests/hardware/devices/video/appeartv/snmp/alarms.robot index dc396ac1f..6d9daa4fe 100644 --- a/tests/hardware/devices/video/appeartv/snmp/alarms.robot +++ b/tests/hardware/devices/video/appeartv/snmp/alarms.robot @@ -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; diff --git a/tests/hardware/pdu/cyberpower/snmp/load.robot b/tests/hardware/pdu/cyberpower/snmp/load.robot index 6f5a1eec6..aacddf8df 100644 --- a/tests/hardware/pdu/cyberpower/snmp/load.robot +++ b/tests/hardware/pdu/cyberpower/snmp/load.robot @@ -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; diff --git a/tests/hardware/pdu/cyberpower/snmp/outlets.robot b/tests/hardware/pdu/cyberpower/snmp/outlets.robot index 2f872bd1d..a4415193e 100644 --- a/tests/hardware/pdu/cyberpower/snmp/outlets.robot +++ b/tests/hardware/pdu/cyberpower/snmp/outlets.robot @@ -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: -] diff --git a/tests/hardware/pdu/raritan/snmp/inletsensors.robot b/tests/hardware/pdu/raritan/snmp/inletsensors.robot index dfd1344ea..1f1d5a11c 100644 --- a/tests/hardware/pdu/raritan/snmp/inletsensors.robot +++ b/tests/hardware/pdu/raritan/snmp/inletsensors.robot @@ -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;;;; diff --git a/tests/hardware/pdu/raritan/snmp/outletsensors.robot b/tests/hardware/pdu/raritan/snmp/outletsensors.robot index 701195f5d..2d8ff7908 100644 --- a/tests/hardware/pdu/raritan/snmp/outletsensors.robot +++ b/tests/hardware/pdu/raritan/snmp/outletsensors.robot @@ -24,7 +24,7 @@ outlet ${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 96 components are ok [12/12 activeEnergy, 12/12 activePower, 12/12 apparentPower, 12/12 frequency, 12/12 onOff, 12/12 powerFactor, 12/12 rmsCurrent, 12/12 rmsVoltage]. | 'Anonymized 102~1#hardware.sensor.outlet.activeenergy.watthour'=107881wattHour;;;; 'Anonymized 102~2#hardware.sensor.outlet.activeenergy.watthour'=330830wattHour;;;; 'Anonymized 102~3#hardware.sensor.outlet.activeenergy.watthour'=46648wattHour;;;; 'Anonymized 102~4#hardware.sensor.outlet.activeenergy.watthour'=4wattHour;;;; 'Anonymized 102~5#hardware.sensor.outlet.activeenergy.watthour'=281696wattHour;;;; 'Anonymized 102~6#hardware.sensor.outlet.activeenergy.watthour'=340154wattHour;;;; 'Anonymized 102~7#hardware.sensor.outlet.activeenergy.watthour'=293708wattHour;;;; 'Anonymized 102~8#hardware.sensor.outlet.activeenergy.watthour'=0wattHour;;;; 'Anonymized 102~9#hardware.sensor.outlet.activeenergy.watthour'=0wattHour;;;; 'Anonymized 102~10#hardware.sensor.outlet.activeenergy.watthour'=0wattHour;;;; 'Anonymized 102~11#hardware.sensor.outlet.activeenergy.watthour'=0wattHour;;;; 'Anonymized 102~12#hardware.sensor.outlet.activeenergy.watthour'=43137wattHour;;;; 'Anonymized 102~1#hardware.sensor.outlet.activepower.watt'=7W;;;; 'Anonymized 102~2#hardware.sensor.outlet.activepower.watt'=56W;;;; 'Anonymized 102~3#hardware.sensor.outlet.activepower.watt'=6W;;;; 'Anonymized 102~4#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~5#hardware.sensor.outlet.activepower.watt'=45W;;;; 'Anonymized 102~6#hardware.sensor.outlet.activepower.watt'=56W;;;; 'Anonymized 102~7#hardware.sensor.outlet.activepower.watt'=65W;;;; 'Anonymized 102~8#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~9#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~10#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~11#hardware.sensor.outlet.activepower.watt'=0W;;;; 'Anonymized 102~12#hardware.sensor.outlet.activepower.watt'=7W;;;; 'Anonymized 102~1#hardware.sensor.outlet.apparentpower.voltamp'=17voltamp;;;; 'Anonymized 102~2#hardware.sensor.outlet.apparentpower.voltamp'=71voltamp;;;; 'Anonymized 102~3#hardware.sensor.outlet.apparentpower.voltamp'=21voltamp;;;; 'Anonymized 102~4#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~5#hardware.sensor.outlet.apparentpower.voltamp'=78voltamp;;;; 'Anonymized 102~6#hardware.sensor.outlet.apparentpower.voltamp'=86voltamp;;;; 'Anonymized 102~7#hardware.sensor.outlet.apparentpower.voltamp'=91voltamp;;;; 'Anonymized 102~8#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~9#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~10#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~11#hardware.sensor.outlet.apparentpower.voltamp'=0voltamp;;;; 'Anonymized 102~12#hardware.sensor.outlet.apparentpower.voltamp'=19voltamp;;;; 'Anonymized 102~1#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~2#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~3#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~4#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~5#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~6#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~7#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~8#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~9#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~10#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~11#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~12#hardware.sensor.outlet.frequency.hertz'=50Hz;;;; 'Anonymized 102~1#hardware.sensor.outlet.powerfactor'=0.41;;;; 'Anonymized 102~2#hardware.sensor.outlet.powerfactor'=0.79;;;; 'Anonymized 102~3#hardware.sensor.outlet.powerfactor'=0.3;;;; 'Anonymized 102~5#hardware.sensor.outlet.powerfactor'=0.58;;;; 'Anonymized 102~6#hardware.sensor.outlet.powerfactor'=0.65;;;; 'Anonymized 102~7#hardware.sensor.outlet.powerfactor'=0.72;;;; 'Anonymized 102~12#hardware.sensor.outlet.powerfactor'=0.38;;;; 'Anonymized 102~1#hardware.sensor.outlet.rmscurrent.ampere'=0.074A;~:6.5;~:8;; 'Anonymized 102~2#hardware.sensor.outlet.rmscurrent.ampere'=0.303A;~:6.5;~:8;; 'Anonymized 102~3#hardware.sensor.outlet.rmscurrent.ampere'=0.091A;~:6.5;~:8;; 'Anonymized 102~4#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~5#hardware.sensor.outlet.rmscurrent.ampere'=0.333A;~:6.5;~:8;; 'Anonymized 102~6#hardware.sensor.outlet.rmscurrent.ampere'=0.371A;~:6.5;~:8;; 'Anonymized 102~7#hardware.sensor.outlet.rmscurrent.ampere'=0.389A;~:6.5;~:8;; 'Anonymized 102~8#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~9#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~10#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~11#hardware.sensor.outlet.rmscurrent.ampere'=0A;~:6.5;~:8;; 'Anonymized 102~12#hardware.sensor.outlet.rmscurrent.ampere'=0.081A;~:6.5;~:8;; 'Anonymized 102~1#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~2#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~3#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~4#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~5#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~6#hardware.sensor.outlet.rmsvoltage.volt'=233V;;;; 'Anonymized 102~7#hardware.sensor.outlet.rmsvoltage.volt'=234V;;;; 'Anonymized 102~8#hardware.sensor.outlet.rmsvoltage.volt'=0V;;;; 'Anonymized 102~9#hardware.sensor.outlet.rmsvoltage.volt'=0V;;;; 'Anonymized 102~10#hardware.sensor.outlet.rmsvoltage.volt'=0V;;;; 'Anonymized 102~11#hardware.sensor.outlet.rmsvoltage.volt'=0V;;;; 'Anonymized 102~12#hardware.sensor.outlet.rmsvoltage.volt'=234V;;;; 'hardware.activeEnergy.count'=12;;;; 'hardware.activePower.count'=12;;;; 'hardware.apparentPower.count'=12;;;; 'hardware.frequency.count'=12;;;; 'hardware.onOff.count'=12;;;; 'hardware.powerFactor.count'=12;;;; 'hardware.rmsCurrent.count'=12;;;; 'hardware.rmsVoltage.count'=12;;;; diff --git a/tests/hardware/sensors/apc/snmp/hardware-sensors-apc-snmp.robot b/tests/hardware/sensors/apc/snmp/hardware-sensors-apc-snmp.robot index e35e7b09b..3548f55b4 100644 --- a/tests/hardware/sensors/apc/snmp/hardware-sensors-apc-snmp.robot +++ b/tests/hardware/sensors/apc/snmp/hardware-sensors-apc-snmp.robot @@ -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;;;; diff --git a/tests/hardware/server/cisco/ucs/snmp/equipement.robot b/tests/hardware/server/cisco/ucs/snmp/equipement.robot index 7e7b3614d..8cde96dfc 100644 --- a/tests/hardware/server/cisco/ucs/snmp/equipement.robot +++ b/tests/hardware/server/cisco/ucs/snmp/equipement.robot @@ -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' diff --git a/tests/hardware/server/lenovo/xcc/snmp/xcc-hardware-snmp.robot b/tests/hardware/server/lenovo/xcc/snmp/xcc-hardware-snmp.robot index 42acf7ee5..9f7d80f74 100644 --- a/tests/hardware/server/lenovo/xcc/snmp/xcc-hardware-snmp.robot +++ b/tests/hardware/server/lenovo/xcc/snmp/xcc-hardware-snmp.robot @@ -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;;;; diff --git a/tests/hardware/ups/apc/snmp/battery-status.robot b/tests/hardware/ups/apc/snmp/battery-status.robot index d913ad78a..218fffa8e 100644 --- a/tests/hardware/ups/apc/snmp/battery-status.robot +++ b/tests/hardware/ups/apc/snmp/battery-status.robot @@ -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;;;;$ diff --git a/tests/hardware/ups/inmatics/sputnik/snmp/hardware-ups-sputnik-snmp.robot b/tests/hardware/ups/inmatics/sputnik/snmp/hardware-ups-sputnik-snmp.robot index 2109ce537..0127fc9d3 100644 --- a/tests/hardware/ups/inmatics/sputnik/snmp/hardware-ups-sputnik-snmp.robot +++ b/tests/hardware/ups/inmatics/sputnik/snmp/hardware-ups-sputnik-snmp.robot @@ -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 diff --git a/tests/hardware/ups/socomec/netvision/snmp/battery-netvision5.robot b/tests/hardware/ups/socomec/netvision/snmp/battery-netvision5.robot index 0dc201ff1..5ac7ae815 100644 --- a/tests/hardware/ups/socomec/netvision/snmp/battery-netvision5.robot +++ b/tests/hardware/ups/socomec/netvision/snmp/battery-netvision5.robot @@ -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;;;; diff --git a/tests/hardware/ups/socomec/netvision/snmp/battery-netvision6.robot b/tests/hardware/ups/socomec/netvision/snmp/battery-netvision6.robot index 4c69a8e9c..3e00f3c3d 100644 --- a/tests/hardware/ups/socomec/netvision/snmp/battery-netvision6.robot +++ b/tests/hardware/ups/socomec/netvision/snmp/battery-netvision6.robot @@ -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;;;; diff --git a/tests/hardware/ups/standard/snmp/hardware-ups-standard-snmp.robot b/tests/hardware/ups/standard/snmp/hardware-ups-standard-snmp.robot index 90647bf96..21dcf72a4 100644 --- a/tests/hardware/ups/standard/snmp/hardware-ups-standard-snmp.robot +++ b/tests/hardware/ups/standard/snmp/hardware-ups-standard-snmp.robot @@ -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;;;; diff --git a/tests/monitoring/iplabel/ekara/restapi/incidents.robot b/tests/monitoring/iplabel/ekara/restapi/incidents.robot index e2343aefb..2547674e1 100644 --- a/tests/monitoring/iplabel/ekara/restapi/incidents.robot +++ b/tests/monitoring/iplabel/ekara/restapi/incidents.robot @@ -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. diff --git a/tests/monitoring/iplabel/ekara/restapi/scenarios.robot b/tests/monitoring/iplabel/ekara/restapi/scenarios.robot index 36ff9d1d8..88187d9fc 100644 --- a/tests/monitoring/iplabel/ekara/restapi/scenarios.robot +++ b/tests/monitoring/iplabel/ekara/restapi/scenarios.robot @@ -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) diff --git a/tests/network/3com/snmp/hardware.robot b/tests/network/3com/snmp/hardware.robot index 7225e3b9a..4da33907e 100644 --- a/tests/network/3com/snmp/hardware.robot +++ b/tests/network/3com/snmp/hardware.robot @@ -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] diff --git a/tests/network/aruba/aoscx/snmp/hardware.robot b/tests/network/aruba/aoscx/snmp/hardware.robot index 57d847816..6e251ab09 100644 --- a/tests/network/aruba/aoscx/snmp/hardware.robot +++ b/tests/network/aruba/aoscx/snmp/hardware.robot @@ -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;;;; diff --git a/tests/network/aruba/aoscx/snmp/interfaces.robot b/tests/network/aruba/aoscx/snmp/interfaces.robot index aa9fcd3b4..149a85d38 100644 --- a/tests/network/aruba/aoscx/snmp/interfaces.robot +++ b/tests/network/aruba/aoscx/snmp/interfaces.robot @@ -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) diff --git a/tests/network/aruba/aoscx/snmp/list-interfaces.robot b/tests/network/aruba/aoscx/snmp/list-interfaces.robot index 4359da80b..8b96fe6f6 100644 --- a/tests/network/aruba/aoscx/snmp/list-interfaces.robot +++ b/tests/network/aruba/aoscx/snmp/list-interfaces.robot @@ -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] diff --git a/tests/network/aruba/aoscx/snmp/list-spanning-trees.robot b/tests/network/aruba/aoscx/snmp/list-spanning-trees.robot index 9ea39e96b..4826b81d8 100644 --- a/tests/network/aruba/aoscx/snmp/list-spanning-trees.robot +++ b/tests/network/aruba/aoscx/snmp/list-spanning-trees.robot @@ -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] diff --git a/tests/network/aruba/aoscx/snmp/spanning-tree.robot b/tests/network/aruba/aoscx/snmp/spanning-tree.robot index b76b778c5..bb30cf0fa 100644 --- a/tests/network/aruba/aoscx/snmp/spanning-tree.robot +++ b/tests/network/aruba/aoscx/snmp/spanning-tree.robot @@ -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 diff --git a/tests/network/aruba/aoscx/snmp/stack.robot b/tests/network/aruba/aoscx/snmp/stack.robot index 85389a690..13afebed9 100644 --- a/tests/network/aruba/aoscx/snmp/stack.robot +++ b/tests/network/aruba/aoscx/snmp/stack.robot @@ -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] diff --git a/tests/network/aruba/aoscx/snmp/uptime.robot b/tests/network/aruba/aoscx/snmp/uptime.robot index cde460edb..0e962bdce 100644 --- a/tests/network/aruba/aoscx/snmp/uptime.robot +++ b/tests/network/aruba/aoscx/snmp/uptime.robot @@ -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; diff --git a/tests/network/aruba/instant/snmp/aruba-instant-ap-usage.robot b/tests/network/aruba/instant/snmp/aruba-instant-ap-usage.robot index 80bb70e4d..a864ee62b 100644 --- a/tests/network/aruba/instant/snmp/aruba-instant-ap-usage.robot +++ b/tests/network/aruba/instant/snmp/aruba-instant-ap-usage.robot @@ -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 diff --git a/tests/network/backbox/restapi/backup.robot b/tests/network/backbox/restapi/backup.robot index 0ae7ab5ef..65c82d73b 100644 --- a/tests/network/backbox/restapi/backup.robot +++ b/tests/network/backbox/restapi/backup.robot @@ -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 diff --git a/tests/network/backbox/restapi/configstatus.robot b/tests/network/backbox/restapi/configstatus.robot index 756ea45c8..b721357f0 100644 --- a/tests/network/backbox/restapi/configstatus.robot +++ b/tests/network/backbox/restapi/configstatus.robot @@ -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; diff --git a/tests/network/backbox/restapi/devicebackup.robot b/tests/network/backbox/restapi/devicebackup.robot index 713435cfd..ab0f7c32e 100644 --- a/tests/network/backbox/restapi/devicebackup.robot +++ b/tests/network/backbox/restapi/devicebackup.robot @@ -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. diff --git a/tests/network/backbox/restapi/intellicheck.robot b/tests/network/backbox/restapi/intellicheck.robot index c441e039b..2d8051fdb 100644 --- a/tests/network/backbox/restapi/intellicheck.robot +++ b/tests/network/backbox/restapi/intellicheck.robot @@ -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 diff --git a/tests/network/backbox/restapi/listdevices.robot b/tests/network/backbox/restapi/listdevices.robot index 37de3b693..fc04d5595 100644 --- a/tests/network/backbox/restapi/listdevices.robot +++ b/tests/network/backbox/restapi/listdevices.robot @@ -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 diff --git a/tests/network/chapsvision/crossing/snmp/antivirus.robot b/tests/network/chapsvision/crossing/snmp/antivirus.robot index f3a59c6cf..635a36ea0 100644 --- a/tests/network/chapsvision/crossing/snmp/antivirus.robot +++ b/tests/network/chapsvision/crossing/snmp/antivirus.robot @@ -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; diff --git a/tests/network/cisco/meraki/cloudcontroller/restapi/vpntunnels.robot b/tests/network/cisco/meraki/cloudcontroller/restapi/vpntunnels.robot index 8322075f7..814d69639 100644 --- a/tests/network/cisco/meraki/cloudcontroller/restapi/vpntunnels.robot +++ b/tests/network/cisco/meraki/cloudcontroller/restapi/vpntunnels.robot @@ -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 diff --git a/tests/network/cisco/smallbusiness/snmp/stack.robot b/tests/network/cisco/smallbusiness/snmp/stack.robot index c28d300a6..5f27b4b81 100644 --- a/tests/network/cisco/smallbusiness/snmp/stack.robot +++ b/tests/network/cisco/smallbusiness/snmp/stack.robot @@ -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; diff --git a/tests/network/cisco/standard/snmp/arp.robot b/tests/network/cisco/standard/snmp/arp.robot index 5e0c02dd8..5e4d9d4f0 100644 --- a/tests/network/cisco/standard/snmp/arp.robot +++ b/tests/network/cisco/standard/snmp/arp.robot @@ -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; diff --git a/tests/network/cisco/standard/snmp/configuration.robot b/tests/network/cisco/standard/snmp/configuration.robot index aa8682d3a..3b00af7fd 100644 --- a/tests/network/cisco/standard/snmp/configuration.robot +++ b/tests/network/cisco/standard/snmp/configuration.robot @@ -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; diff --git a/tests/network/cisco/standard/snmp/cpu.robot b/tests/network/cisco/standard/snmp/cpu.robot index 6685115c4..b85916d06 100644 --- a/tests/network/cisco/standard/snmp/cpu.robot +++ b/tests/network/cisco/standard/snmp/cpu.robot @@ -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) diff --git a/tests/network/cisco/standard/snmp/memory-flash.robot b/tests/network/cisco/standard/snmp/memory-flash.robot index f8f362e2d..50fab983d 100644 --- a/tests/network/cisco/standard/snmp/memory-flash.robot +++ b/tests/network/cisco/standard/snmp/memory-flash.robot @@ -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 diff --git a/tests/network/cisco/standard/snmp/memory.robot b/tests/network/cisco/standard/snmp/memory.robot index 7c53a9520..568b8d328 100644 --- a/tests/network/cisco/standard/snmp/memory.robot +++ b/tests/network/cisco/standard/snmp/memory.robot @@ -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 diff --git a/tests/network/cisco/standard/snmp/stack.robot b/tests/network/cisco/standard/snmp/stack.robot index 8019b9fb5..9d1676992 100644 --- a/tests/network/cisco/standard/snmp/stack.robot +++ b/tests/network/cisco/standard/snmp/stack.robot @@ -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; diff --git a/tests/network/cisco/standard/snmp/uptime.robot b/tests/network/cisco/standard/snmp/uptime.robot index eeb3da5cb..c5aa12fb0 100644 --- a/tests/network/cisco/standard/snmp/uptime.robot +++ b/tests/network/cisco/standard/snmp/uptime.robot @@ -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; diff --git a/tests/network/citrix/netscaler/snmp/mode/components/netscaler-health.robot b/tests/network/citrix/netscaler/snmp/mode/components/netscaler-health.robot index d9976e006..8390df671 100644 --- a/tests/network/citrix/netscaler/snmp/mode/components/netscaler-health.robot +++ b/tests/network/citrix/netscaler/snmp/mode/components/netscaler-health.robot @@ -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;;;; diff --git a/tests/network/cyberoam/snmp/ha-status.robot b/tests/network/cyberoam/snmp/ha-status.robot index 0d73df690..b89dd8124 100644 --- a/tests/network/cyberoam/snmp/ha-status.robot +++ b/tests/network/cyberoam/snmp/ha-status.robot @@ -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' diff --git a/tests/network/cyberoam/snmp/interfaces.robot b/tests/network/cyberoam/snmp/interfaces.robot index 565219665..b9e30eec2 100644 --- a/tests/network/cyberoam/snmp/interfaces.robot +++ b/tests/network/cyberoam/snmp/interfaces.robot @@ -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) diff --git a/tests/network/cyberoam/snmp/license.robot b/tests/network/cyberoam/snmp/license.robot index f81fc387b..2324404fa 100644 --- a/tests/network/cyberoam/snmp/license.robot +++ b/tests/network/cyberoam/snmp/license.robot @@ -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; diff --git a/tests/network/cyberoam/snmp/list-interfaces.robot b/tests/network/cyberoam/snmp/list-interfaces.robot index 0cf918c09..54faacbb9 100644 --- a/tests/network/cyberoam/snmp/list-interfaces.robot +++ b/tests/network/cyberoam/snmp/list-interfaces.robot @@ -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] diff --git a/tests/network/cyberoam/snmp/list-vpns.robot b/tests/network/cyberoam/snmp/list-vpns.robot index 8a94389ae..f696dcc3c 100644 --- a/tests/network/cyberoam/snmp/list-vpns.robot +++ b/tests/network/cyberoam/snmp/list-vpns.robot @@ -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] diff --git a/tests/network/cyberoam/snmp/memory.robot b/tests/network/cyberoam/snmp/memory.robot index e4a39d21f..a631cd06b 100644 --- a/tests/network/cyberoam/snmp/memory.robot +++ b/tests/network/cyberoam/snmp/memory.robot @@ -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 diff --git a/tests/network/cyberoam/snmp/requests.robot b/tests/network/cyberoam/snmp/requests.robot index 2630be215..2e997edb8 100644 --- a/tests/network/cyberoam/snmp/requests.robot +++ b/tests/network/cyberoam/snmp/requests.robot @@ -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; diff --git a/tests/network/cyberoam/snmp/services.robot b/tests/network/cyberoam/snmp/services.robot index 87c4012c5..5e2f77f80 100644 --- a/tests/network/cyberoam/snmp/services.robot +++ b/tests/network/cyberoam/snmp/services.robot @@ -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;;;; diff --git a/tests/network/cyberoam/snmp/storage.robot b/tests/network/cyberoam/snmp/storage.robot index 996df68f2..23fb61ddc 100644 --- a/tests/network/cyberoam/snmp/storage.robot +++ b/tests/network/cyberoam/snmp/storage.robot @@ -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 diff --git a/tests/network/cyberoam/snmp/vpn-status.robot b/tests/network/cyberoam/snmp/vpn-status.robot index 9ed8c243e..3ece88d83 100644 --- a/tests/network/cyberoam/snmp/vpn-status.robot +++ b/tests/network/cyberoam/snmp/vpn-status.robot @@ -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; diff --git a/tests/network/f5/bigip/snmp/apm.robot b/tests/network/f5/bigip/snmp/apm.robot index a87ddc037..7562592ce 100644 --- a/tests/network/f5/bigip/snmp/apm.robot +++ b/tests/network/f5/bigip/snmp/apm.robot @@ -21,7 +21,7 @@ apm ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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} OK: sessions-created : Buffer creation, active sessions: 3724, pending sessions: 146 - All virtual servers are ok diff --git a/tests/network/f5/bigip/snmp/certificates.robot b/tests/network/f5/bigip/snmp/certificates.robot index 290fc2a3b..c5f15afa3 100644 --- a/tests/network/f5/bigip/snmp/certificates.robot +++ b/tests/network/f5/bigip/snmp/certificates.robot @@ -26,7 +26,7 @@ certificates ${tc} ... ${CMD} ... ${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: Certificate 'Anonymized 165' has expired - Certificate 'Anonymized 186' has expired | 'certificates-count'=9;;;0; '_Anonymized 981'=212738332s;;@0:0;0; '_Anonymized 165'=0s;;@0:0;0; '_Anonymized 982'=384058793s;;@0:0;0; '_Anonymized 983'=145466616s;;@0:0;0; '_Anonymized 196'=122214889s;;@0:0;0; '_Anonymized 141'=67955030s;;@0:0;0; '_Anonymized 881'=68447205s;;@0:0;0; '_Anonymized 068'=145466616s;;@0:0;0; '_Anonymized 186'=0s;;@0:0;0; diff --git a/tests/network/f5/bigip/snmp/connections.robot b/tests/network/f5/bigip/snmp/connections.robot index b48c1c224..fae42f65f 100644 --- a/tests/network/f5/bigip/snmp/connections.robot +++ b/tests/network/f5/bigip/snmp/connections.robot @@ -21,7 +21,7 @@ connections ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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: Current client connections : 5395, Current client SSL connections : 0, client-ssl-tps : Buffer creation, Current server connections: 5242, Current server SSL connections : 4574 | 'connections.client.current.count'=5395;;;0; 'connections.client.ssl.current.count'=0;;;0; 'connections.server.current.count'=5242;;;0; 'connections.server.ssl.current.count'=4574;;;0; diff --git a/tests/network/f5/bigip/snmp/cpuusage.robot b/tests/network/f5/bigip/snmp/cpuusage.robot index 70a10cdf1..12eaf4245 100644 --- a/tests/network/f5/bigip/snmp/cpuusage.robot +++ b/tests/network/f5/bigip/snmp/cpuusage.robot @@ -21,7 +21,7 @@ cpu-usage ${tc} ... --snmp-community=network/f5/bigip/snmp/cpu ... ${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} --filter-counters='^usage-5s' --filter-name='10' OK: CPU '10' CPU Usage 5sec : 35 % | 'usage_5s'=35%;;;0;100 diff --git a/tests/network/f5/bigip/snmp/failover.robot b/tests/network/f5/bigip/snmp/failover.robot index 68f5f41dd..f0a798350 100644 --- a/tests/network/f5/bigip/snmp/failover.robot +++ b/tests/network/f5/bigip/snmp/failover.robot @@ -21,7 +21,7 @@ failover ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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: Sync status is 'inSync' - Failover status is 'active' diff --git a/tests/network/f5/bigip/snmp/hardware.robot b/tests/network/f5/bigip/snmp/hardware.robot index effccc357..b54441bb4 100644 --- a/tests/network/f5/bigip/snmp/hardware.robot +++ b/tests/network/f5/bigip/snmp/hardware.robot @@ -21,7 +21,7 @@ hardware ${tc} ... ${CMD} ... ${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 [4/4 fans, 2/2 psus, 1/1 temperatures]. | '1#hardware.fan.speed.rpm'=0rpm;;;0; '2#hardware.fan.speed.rpm'=0rpm;;;0; '3#hardware.fan.speed.rpm'=0rpm;;;0; '4#hardware.fan.speed.rpm'=0rpm;;;0; '1#hardware.temperature.celsius'=18.00C;;;; 'hardware.fan.count'=4;;;; 'hardware.psu.count'=2;;;; 'hardware.temperature.count'=1;;;; diff --git a/tests/network/f5/bigip/snmp/list-trunks.robot b/tests/network/f5/bigip/snmp/list-trunks.robot index 5356a69e8..a90d91422 100644 --- a/tests/network/f5/bigip/snmp/list-trunks.robot +++ b/tests/network/f5/bigip/snmp/list-trunks.robot @@ -21,7 +21,7 @@ list-trunks ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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 trunks: 'Anonymized 234' [status: up] [speed: 20000] diff --git a/tests/network/f5/bigip/snmp/list-virtualservers.robot b/tests/network/f5/bigip/snmp/list-virtualservers.robot index 6d78e72fe..8bd46489b 100644 --- a/tests/network/f5/bigip/snmp/list-virtualservers.robot +++ b/tests/network/f5/bigip/snmp/list-virtualservers.robot @@ -21,7 +21,7 @@ list-virtualservers ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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 virtual servers: [name: /Common/ActiveSync.app/ActiveSync_combined_http] [status: blue] [state: enabled] [name: /Common/ActiveSync.app/ActiveSync_combined_https] [status: green] [state: enabled] diff --git a/tests/network/f5/bigip/snmp/listnodes.robot b/tests/network/f5/bigip/snmp/listnodes.robot index 843127338..4d2f99063 100644 --- a/tests/network/f5/bigip/snmp/listnodes.robot +++ b/tests/network/f5/bigip/snmp/listnodes.robot @@ -21,7 +21,7 @@ list-nodes ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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 nodes: [name: /Common/172.20.15.202] [status: blue] [state: enabled] [name: /Common/172.20.2.117] [status: blue] [state: enabled] [name: /Common/172.20.2.127] [status: blue] [state: enabled] [name: /Common/172.20.2.132] [status: blue] [state: enabled] diff --git a/tests/network/f5/bigip/snmp/listpools.robot b/tests/network/f5/bigip/snmp/listpools.robot index 92836995c..7c06a3d28 100644 --- a/tests/network/f5/bigip/snmp/listpools.robot +++ b/tests/network/f5/bigip/snmp/listpools.robot @@ -21,7 +21,7 @@ list-pools ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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 pools: [name: /Common/AN-577_pool] [status: green] [state: enabled] [name: /Common/ActiveDirectory_pool] [status: green] [state: enabled] [name: /Common/ActiveSync.app/ActiveSync_as_pool7] [status: green] [state: enabled] [name: /Common/ActiveSync_cert.app/ActiveSync_cert_as_pool7] [status: green] [state: enabled] diff --git a/tests/network/f5/bigip/snmp/node-status.robot b/tests/network/f5/bigip/snmp/node-status.robot index 7e435d067..86447fd7f 100644 --- a/tests/network/f5/bigip/snmp/node-status.robot +++ b/tests/network/f5/bigip/snmp/node-status.robot @@ -21,7 +21,7 @@ node-status ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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} OK: All nodes are ok | '/Common/delco#node.connections.server.current.count'=0;;;0; diff --git a/tests/network/f5/bigip/snmp/pool-status.robot b/tests/network/f5/bigip/snmp/pool-status.robot index 8adfc28b8..f04861eb6 100644 --- a/tests/network/f5/bigip/snmp/pool-status.robot +++ b/tests/network/f5/bigip/snmp/pool-status.robot @@ -21,7 +21,7 @@ pool-status ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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} OK: All pools are ok | '/Common/IDM_pool#pool.connections.server.current.count'=0;;;0; '/Common/IDM_pool#pool.members.active.count'=0;;;0; diff --git a/tests/network/f5/bigip/snmp/tmm-usage.robot b/tests/network/f5/bigip/snmp/tmm-usage.robot index 5e9cbeaf4..092f62dfe 100644 --- a/tests/network/f5/bigip/snmp/tmm-usage.robot +++ b/tests/network/f5/bigip/snmp/tmm-usage.robot @@ -21,7 +21,7 @@ tmm-usage ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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} OK: All TMM are ok | '0.0#tmm.memory.usage.bytes'=2175382320B;;;0;22695378944 '0.0#tmm.cpu.utilization.1m.percentage'=15%;;;0;100 '0.0#tmm.cpu.utilization.5m.percentage'=15%;;;0;100 '0.0#tmm.connections.client.curent.count'=1324;;;0; '0.0#tmm.connections.server.current.count'=1303;;;0; '0.2#tmm.cpu.utilization.1m.percentage'=12%;;;0;100 '0.2#tmm.cpu.utilization.5m.percentage'=11%;;;0;100 '0.2#tmm.connections.client.curent.count'=1368;;;0; '0.2#tmm.connections.server.current.count'=1291;;;0; '0.4#tmm.cpu.utilization.1m.percentage'=11%;;;0;100 '0.4#tmm.cpu.utilization.5m.percentage'=10%;;;0;100 '0.4#tmm.connections.client.curent.count'=1369;;;0; '0.4#tmm.connections.server.current.count'=1331;;;0; '0.6#tmm.cpu.utilization.1m.percentage'=18%;;;0;100 '0.6#tmm.cpu.utilization.5m.percentage'=12%;;;0;100 '0.6#tmm.connections.client.curent.count'=1331;;;0; '0.6#tmm.connections.server.current.count'=1324;;;0; diff --git a/tests/network/f5/bigip/snmp/trunks.robot b/tests/network/f5/bigip/snmp/trunks.robot index fd681b1cc..44cdc0248 100644 --- a/tests/network/f5/bigip/snmp/trunks.robot +++ b/tests/network/f5/bigip/snmp/trunks.robot @@ -21,7 +21,7 @@ trunks ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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} OK: Trunk 'Anonymized 234' status is 'up', traffic in: Buffer creation, traffic out: Buffer creation, packets in error: Buffer creation, packets out error: Buffer creation, packets in drop: Buffer creation, packets out drop: Buffer creation diff --git a/tests/network/f5/bigip/snmp/virtualserver-status.robot b/tests/network/f5/bigip/snmp/virtualserver-status.robot index 0adb95f67..a6957b1ad 100644 --- a/tests/network/f5/bigip/snmp/virtualserver-status.robot +++ b/tests/network/f5/bigip/snmp/virtualserver-status.robot @@ -21,7 +21,7 @@ virtualserver-status ${tc} ... --snmp-community=network/f5/bigip/snmp/slim-f5-bigip ... ${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} OK: All virtual servers are ok | '/Common/OWA_vs#virtualserver.connections.client.current.count'=0;;;0; '/Common/Ibcm_vs#virtualserver.connections.client.current.count'=22;;;0; '/Common/SAML_vs#virtualserver.connections.client.current.count'=22;;;0; '/Common/Wtop_vs#virtualserver.connections.client.current.count'=0;;;0; diff --git a/tests/network/fortinet/fortigate/restapi/certificates.robot b/tests/network/fortinet/fortigate/restapi/certificates.robot index 12f9a390b..32de44271 100644 --- a/tests/network/fortinet/fortigate/restapi/certificates.robot +++ b/tests/network/fortinet/fortigate/restapi/certificates.robot @@ -25,7 +25,7 @@ certificates ${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 --filter-name='Fortinet_CA_SSL' OK: All certificates are ok \\\| 'Fortinet_CA_SSL#certificate.expires.seconds=\\\d+;;;0; 'Fortinet_CA_SSL1#certificate.expires.seconds=\\\d+;;;0; 'Fortinet_CA_SSL2#certificate.expires.seconds=\\\d+;;;0; diff --git a/tests/network/fortinet/fortigate/restapi/licenses.robot b/tests/network/fortinet/fortigate/restapi/licenses.robot index afb9954c1..2d2e6ebe7 100644 --- a/tests/network/fortinet/fortigate/restapi/licenses.robot +++ b/tests/network/fortinet/fortigate/restapi/licenses.robot @@ -24,7 +24,7 @@ licenses ${tc} ... ${CMD} ... --mode=licenses ... ${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 --warning-status='\\\%{name} eq /web_filtering/i' CRITICAL: License 'ai_malware_detection' status: expired - License 'antispam' status: expired - License 'antivirus' status: expired - License 'blacklisted_certificates' status: expired - License 'botnet_domain' status: expired - License 'ips' status: expired - License 'malicious_urls' status: expired - License 'mobile_malware' status: expired - License 'web_filtering' status: expired | 'ai_malware_detection#license.expires.seconds'=0s;;;0; 'antispam#license.expires.seconds'=0s;;;0; 'antivirus#license.expires.seconds'=0s;;;0; 'appctrl#license.expires.seconds'=0s;;;0; 'blacklisted_certificates#license.expires.seconds'=0s;;;0; 'botnet_domain#license.expires.seconds'=0s;;;0; 'device_os_id#license.expires.seconds'=0s;;;0; 'forticare:support:enhanced#license.expires.seconds'=0s;;;0; 'forticare:support:hardware#license.expires.seconds'=0s;;;0; 'forticloud_sandbox#license.expires.seconds'=0s;;;0; 'fortiems_cloud#license.expires.seconds'=0s;;;0; 'ips#license.expires.seconds'=0s;;;0; diff --git a/tests/network/fortinet/fortigate/snmp/link-monitor.robot b/tests/network/fortinet/fortigate/snmp/link-monitor.robot index 854474e2f..4675911e8 100644 --- a/tests/network/fortinet/fortigate/snmp/link-monitor.robot +++ b/tests/network/fortinet/fortigate/snmp/link-monitor.robot @@ -34,7 +34,7 @@ Network Fortinet Fortigate SNMP link monitor ${tc} ... --warning-packet-loss=${warningpacketloss} ... --critical-packet-loss=${criticalpacketloss} - 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 filterid filtername filtervdom customperfdatainstances unknownstatus warningstatus criticalstatus warninglatency criticallatency warningjitter criticaljitter warningpacketloss criticalpacketloss expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} ${EMPTY} OK: All link monitors are ok | 'MonitorWAN1~root#linkmonitor.latency.milliseconds'=39.739;;;0; 'MonitorWAN1~root#linkmonitor.jitter.milliseconds'=0.096;;;0; 'MonitorWAN1~root#linkmonitor.packet.loss.percentage'=0;;;0; 'MonitorWAN2~root#linkmonitor.latency.milliseconds'=46.446;;;0; 'MonitorWAN2~root#linkmonitor.jitter.milliseconds'=1.868;;;0; 'MonitorWAN2~root#linkmonitor.packet.loss.percentage'=1;;;0; 'MonitorWAN3~root#linkmonitor.latency.milliseconds'=0.000;;;0; 'MonitorWAN3~root#linkmonitor.jitter.milliseconds'=0.000;;;0; 'MonitorWAN3~root#linkmonitor.packet.loss.percentage'=100;;;0; diff --git a/tests/network/fortinet/fortigate/snmp/list-link-monitor.robot b/tests/network/fortinet/fortigate/snmp/list-link-monitor.robot index 53ddfd361..b2a17c5e0 100644 --- a/tests/network/fortinet/fortigate/snmp/list-link-monitor.robot +++ b/tests/network/fortinet/fortigate/snmp/list-link-monitor.robot @@ -24,7 +24,7 @@ Network Fortinet Fortigate SNMP list link monitor ${tc} ... --filter-name=${filtername} ... --filter-vdom=${filtervdom} - 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 filterstate filtername filtervdom expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} List link monitors: \n[Name = MonitorWAN1] [Vdom = root] [State = alive]\n[Name = MonitorWAN2] [Vdom = root] [State = alive]\n[Name = MonitorWAN3] [Vdom = root] [State = dead] diff --git a/tests/network/fortinet/fortigate/snmp/list-switches.robot b/tests/network/fortinet/fortigate/snmp/list-switches.robot index b35933e63..a74e2d460 100644 --- a/tests/network/fortinet/fortigate/snmp/list-switches.robot +++ b/tests/network/fortinet/fortigate/snmp/list-switches.robot @@ -21,7 +21,7 @@ list-switches ${tc} ... --snmp-community=network/fortinet/fortigate/snmp/slim_fortigate-switches ... ${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 switches: [Name = Anonymized 188] [Serial = Anonymized 209] [IP = 10.255.1.2] [Version = Anonymized 103] [State = up] [Admin = authorized] [Name = Anonymized 152] [Serial = Anonymized 146] [IP = 10.255.1.3] [Version = Anonymized 056] [State = up] [Admin = authorized] diff --git a/tests/network/fortinet/fortigate/snmp/sdawn.robot b/tests/network/fortinet/fortigate/snmp/sdawn.robot index 0792cc5d0..47e9dcff0 100644 --- a/tests/network/fortinet/fortigate/snmp/sdawn.robot +++ b/tests/network/fortinet/fortigate/snmp/sdawn.robot @@ -24,7 +24,7 @@ sdwan ${tc} ... --snmp-retries=3 ... ${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-vdom='root' OK: sd-wan 'fgVWLHealthCheckLinkName' [vdom: root] [interface: wan1] state: up - traffic traffic-in : Buffer creation, traffic-out : Buffer creation, traffic-bi : Buffer creation - latency: 8.617ms - jitter: 0.065ms - packet loss: 0.000% | 'root~fgVWLHealthCheckLinkName~wan1#sdwan.latency.milliseconds'=8.62ms;;;0; 'root~fgVWLHealthCheckLinkName~wan1#sdwan.jitter.milliseconds'=0.07ms;;;0; 'root~fgVWLHealthCheckLinkName~wan1#sdwan.packetloss.percentage'=0.000%;;;0;100 diff --git a/tests/network/fortinet/fortigate/snmp/switch-usage.robot b/tests/network/fortinet/fortigate/snmp/switch-usage.robot index 2af329ec4..7ab5dba1c 100644 --- a/tests/network/fortinet/fortigate/snmp/switch-usage.robot +++ b/tests/network/fortinet/fortigate/snmp/switch-usage.robot @@ -21,7 +21,7 @@ switch-usage ${tc} ... --snmp-community=network/fortinet/fortigate/snmp/slim_fortigate-switches ... ${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 switches are ok | 'cpu_Anonymized 188'=21.00%;;;0;100 'memory_Anonymized 188'=38.00%;;;0;100 'cpu_Anonymized 152'=7.00%;;;0;100 'memory_Anonymized 152'=65.00%;;;0;100 diff --git a/tests/network/fortinet/fortigate/snmp/vpn.robot b/tests/network/fortinet/fortigate/snmp/vpn.robot index ba6d86535..2f1c6e421 100644 --- a/tests/network/fortinet/fortigate/snmp/vpn.robot +++ b/tests/network/fortinet/fortigate/snmp/vpn.robot @@ -23,7 +23,7 @@ vpn ${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} OK: Virtual domain 'Anonymized 220' Logged users: 0, Active web sessions: 0, Active tunnels: 0, IPSec tunnels state up: 6 - All vpn are ok | 'users'=0users;;;0; 'sessions'=0sessions;;;0; 'active_tunnels'=0tunnels;;;0; 'ipsec-tunnels-count'=6tunnels;;;0; diff --git a/tests/network/hp/procurve/snmp/list-spanning-trees.robot b/tests/network/hp/procurve/snmp/list-spanning-trees.robot index 7856f910d..50400e1a0 100644 --- a/tests/network/hp/procurve/snmp/list-spanning-trees.robot +++ b/tests/network/hp/procurve/snmp/list-spanning-trees.robot @@ -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 --filter-port='Anonymized 029' List ports with spanning tree protocol: [port = Anonymized 029] [state = forwarding] [op_status = up] [admin_status = up] [index = 2] \ No newline at end of file diff --git a/tests/network/hp/procurve/snmp/spanning-tree.robot b/tests/network/hp/procurve/snmp/spanning-tree.robot index 83e6a750c..fb0814743 100644 --- a/tests/network/hp/procurve/snmp/spanning-tree.robot +++ b/tests/network/hp/procurve/snmp/spanning-tree.robot @@ -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 diff --git a/tests/network/hp/procurve/snmp/stack.robot b/tests/network/hp/procurve/snmp/stack.robot index fdb4bb2ac..bc3236f9a 100644 --- a/tests/network/hp/procurve/snmp/stack.robot +++ b/tests/network/hp/procurve/snmp/stack.robot @@ -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 ${\n}checking stack member 'Anonymized 238'${\n}${SPACE}${SPACE}${SPACE}${SPACE}role: active [state: standby]${\n}${SPACE}${SPACE}${SPACE}${SPACE}port '1' operational status: up [admin status: enabled]${\n}${SPACE}${SPACE}${SPACE}${SPACE}port '2' operational status: up [admin status: enabled]${\n}checking stack member 'Anonymized 239'${\n}${SPACE}${SPACE}${SPACE}${SPACE}role: notReady [state: commander]${\n}${SPACE}${SPACE}${SPACE}${SPACE}port '1' operational status: up [admin status: enabled]${\n}${SPACE}${SPACE}${SPACE}${SPACE}port '2' operational status: up [admin status: enabled] diff --git a/tests/network/huawei/wlc/snmp/ap-health.robot b/tests/network/huawei/wlc/snmp/ap-health.robot index b92a177cc..c1bb42b0c 100644 --- a/tests/network/huawei/wlc/snmp/ap-health.robot +++ b/tests/network/huawei/wlc/snmp/ap-health.robot @@ -23,7 +23,7 @@ ap-health ${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 --filter-name='Anonymized 065' OK: access point 'Anonymized 065' data link state: run, power-supply: normal, access point temperature: 42.00 C, access point Anonymized 065 online time is: 1d 22h 48m 58s, access point bootcount total: 424, access point memory: 22.00 %, access point cpu: 1.00%, access point up-Port speed: 1000 b/s, access point up-Port packet errors: 0.00%, access online user nums: 2 | 'Anonymized 065#ap.temperature.celsius'=42.00C;;;; 'Anonymized 065#ap.online.time'=168538;;;; 'Anonymized 065#ap.boot.total.count'=424;;;; 'Anonymized 065#ap.memory.used.percentage'=22.00%;;;; 'Anonymized 065#ap.cpu.used.percentage'=1.00%;;;; 'Anonymized 065#ap.up.port.bitspersecond'=1000b/s;;;; 'Anonymized 065#ap.up.port.package.error.percentage'=0.00;;;; 'Anonymized 065#ap.online.user.count'=2;;;; checking access point 'Anonymized 065' data link state: run, power-supply: normal, access point temperature: 42.00 C, access point Anonymized 065 online time is: 1d 22h 48m 58s, access point bootcount total: 424, access point memory: 22.00 %, access point cpu: 1.00%, access point up-Port speed: 1000 b/s, access point up-Port packet errors: 0.00%, access online user nums: 2 diff --git a/tests/network/huawei/wlc/snmp/ap-radio.robot b/tests/network/huawei/wlc/snmp/ap-radio.robot index 7b2de0455..c0ced86a6 100644 --- a/tests/network/huawei/wlc/snmp/ap-radio.robot +++ b/tests/network/huawei/wlc/snmp/ap-radio.robot @@ -23,7 +23,7 @@ ap-radio ${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-name='Anonymized 015' OK: access point 'Anonymized 015' run state: up, radio package error rate: 0.00%, radio noise: -95 dBm, radio channel utilization rate: 13.00%, radio channel interference rate: 6.00%, radio channel receive rate: 0 b/s, radio channel send rate: 523000 b/s | 'Anonymized 015#ap.radio.packageerror.percentage'=0.00%;;;; 'Anonymized 015#ap.radio.noise.dbm'=-95dBm;;;; 'Anonymized 015#ap.radio.channel.utilization.percentage'=13.00%;;;; 'Anonymized 015#ap.radio.channel.interference.percentage'=6.00%;;;; 'Anonymized 015#ap.radio.receive.bitspersecond'=0b/s;;;; 'Anonymized 015#ap.radio.send.bitspersecond'=523000b/s;;;; diff --git a/tests/network/huawei/wlc/snmp/ap-status.robot b/tests/network/huawei/wlc/snmp/ap-status.robot index fddbc5a8b..86038fdbf 100644 --- a/tests/network/huawei/wlc/snmp/ap-status.robot +++ b/tests/network/huawei/wlc/snmp/ap-status.robot @@ -23,7 +23,7 @@ ap-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 --verbose --filter-name='Anonymized 015' OK: Access points total: 1, idle: 0, autofind: 0, fault: 0, config: 0, config failed: 0, download: 0, normal: 1, committing: 0, commit failed: 0, standby: 0, version mismatch: 0, name conflicted: 0, invalid: 0, country code mismatch: 0 - access point 'Anonymized 015' status: normal | 'total'=1;;;0; 'total_idle'=0;;;0; 'total_autofind'=0;;;0; 'total_type_not_match'=0;;;0; 'total_fault'=0;;;0; 'total_config'=0;;;0; 'total_config_failed'=0;;;0; 'total_download'=0;;;0; 'total_normal'=1;;;0; 'total_committing'=0;;;0; 'total_commit_failed'=0;;;0; 'total_standby'=0;;;0; 'total_version_mismatch'=0;;;0; 'total_name_conflicted'=0;;;0; 'total_invalid'=0;;;0; 'total_country_code_mismatch'=0;;;0; checking access point 'Anonymized 015' status: normal diff --git a/tests/network/huawei/wlc/snmp/cpu.robot b/tests/network/huawei/wlc/snmp/cpu.robot index f6bac6d39..c8d37ba60 100644 --- a/tests/network/huawei/wlc/snmp/cpu.robot +++ b/tests/network/huawei/wlc/snmp/cpu.robot @@ -23,7 +23,7 @@ cpu ${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 CPU usages are ok | 'cpu_1'=14.00%;;;0;100 'cpu_2'=16.00%;;;0;100 'cpu_3'=14.00%;;;0;100 'cpu_4'=12.00%;;;0;100 'cpu_5'=13.00%;;;0;100 'cpu_6'=13.00%;;;0;100 'cpu_7'=21.00%;;;0;100 'cpu_8'=10.00%;;;0;100${\n}CPU '1' Usage : 14.00 %${\n}CPU '2' Usage : 16.00 %${\n}CPU '3' Usage : 14.00 %${\n}CPU '4' Usage : 12.00 %${\n}CPU '5' Usage : 13.00 %${\n}CPU '6' Usage : 13.00 %${\n}CPU '7' Usage : 21.00 %${\n}CPU '8' Usage : 10.00 % diff --git a/tests/network/huawei/wlc/snmp/interfaces.robot b/tests/network/huawei/wlc/snmp/interfaces.robot index 673810b59..f79ac27cc 100644 --- a/tests/network/huawei/wlc/snmp/interfaces.robot +++ b/tests/network/huawei/wlc/snmp/interfaces.robot @@ -24,7 +24,7 @@ interfaces ${tc} ... ${extra_options} Run ${command} - Ctn Verify Command Output ${command} ${expected_result} + Ctn Verify Command Without Connector Output ${command} ${expected_result} Examples: tc extra_options expected_result -- ... 1 --verbose CRITICAL: Interface 'Anonymized 012' Status : down (admin: up) - Interface 'Anonymized 221' Status : down (admin: up) - Interface 'Anonymized 003' Status : down (admin: up) - Interface 'Anonymized 232' Status : down (admin: up) - Interface 'Anonymized 109' Status : down (admin: up) - Interface 'Anonymized 034' Status : down (admin: up) - Interface 'Anonymized 012' Status : down (admin: up) - Interface 'Anonymized 016' Status : down (admin: up) - Interface 'Anonymized 214' Status : down (admin: up) - Interface 'Anonymized 118' Status : down (admin: up) - Interface 'Anonymized 039' Status : down (admin: up) - Interface 'Anonymized 180' Status : down (admin: up) - Interface 'Anonymized 164' Status : down (admin: up) - Interface 'Anonymized 082' Status : down (admin: up) - Interface 'Anonymized 149' Status : down (admin: up) - Interface 'Anonymized 144' Status : down (admin: up) - Interface 'Anonymized 052' Status : down (admin: up) - Interface 'Anonymized 126' Status : down (admin: up) diff --git a/tests/network/huawei/wlc/snmp/list-aps.robot b/tests/network/huawei/wlc/snmp/list-aps.robot index 9876d7ea6..a700956b6 100644 --- a/tests/network/huawei/wlc/snmp/list-aps.robot +++ b/tests/network/huawei/wlc/snmp/list-aps.robot @@ -23,7 +23,7 @@ list-aps ${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 --filter-name='Anonymized 058' List aps [oid_path: 100.19.171.37.61.112] [name: Anonymized 058] [serial: Anonymized 021] [address: 192.168.42.33] [hardware: Anonymized 104] [software: Anonymized 014] [run_time: 1w 4d 3h 1m 45s] [ap_group: Anonymized 214] [oid_path: 128.105.51.109.163.32] [name: Anonymized 058] [serial: Anonymized 025] [address: 192.168.42.225] [hardware: Anonymized 167] [software: Anonymized 034] [run_time: 11M 1w 1d 6h 12m 17s] [ap_group: Anonymized 040] [oid_path: 52.30.107.186.232.64] [name: Anonymized 058] [serial: Anonymized 073] [address: 192.168.42.66] [hardware: Anonymized 033] [software: Anonymized 168] [run_time: 11M 1w 1d 6h 15m 30s] [ap_group: Anonymized 124] diff --git a/tests/network/huawei/wlc/snmp/list-interfaces.robot b/tests/network/huawei/wlc/snmp/list-interfaces.robot index 0b4a1a64f..264985aaa 100644 --- a/tests/network/huawei/wlc/snmp/list-interfaces.robot +++ b/tests/network/huawei/wlc/snmp/list-interfaces.robot @@ -23,7 +23,7 @@ list-interfaces ${tc} ... --snmp-timeout=1 ... ${extra_options} | grep -v 'skipping interface' | wc -l - Ctn Verify Command Output ${command} ${expected_result} + Ctn Verify Command Without Connector Output ${command} ${expected_result} Examples: tc extra_options expected_result -- ... 1 ${EMPTY} 185 diff --git a/tests/network/huawei/wlc/snmp/list-radios.robot b/tests/network/huawei/wlc/snmp/list-radios.robot index 9ecf1e534..151cace63 100644 --- a/tests/network/huawei/wlc/snmp/list-radios.robot +++ b/tests/network/huawei/wlc/snmp/list-radios.robot @@ -23,7 +23,7 @@ list-radios ${tc} ... --snmp-timeout=1 ... ${extra_options} | wc -l - Ctn Verify Command Output ${command} ${expected_result} + Ctn Verify Command Without Connector Output ${command} ${expected_result} Examples: tc extra_options expected_result -- ... 1 --filter-name='Anonymized 0' 100 diff --git a/tests/network/huawei/wlc/snmp/memory.robot b/tests/network/huawei/wlc/snmp/memory.robot index 4dce930eb..977723c55 100644 --- a/tests/network/huawei/wlc/snmp/memory.robot +++ b/tests/network/huawei/wlc/snmp/memory.robot @@ -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: All memory usages are ok | 'used_1'=271388616B;;;0;1765801984 'used_2'=271382292B;;;0;1765801984 'used_3'=73684888B;;;0;1765801984 'used_4'=73684936B;;;0;1765801984 'used_5'=73708228B;;;0;1765801984 'used_6'=73690100B;;;0;1765801984 'used_7'=385327944B;;;0;1832910848 'used_8'=397826128B;;;0;1832910848 diff --git a/tests/network/huawei/wlc/snmp/uptime.robot b/tests/network/huawei/wlc/snmp/uptime.robot index c8bcd56e1..417db268b 100644 --- a/tests/network/huawei/wlc/snmp/uptime.robot +++ b/tests/network/huawei/wlc/snmp/uptime.robot @@ -23,7 +23,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 --verbose OK: System uptime is: 288d 20h 33m 6s | 'uptime'=24957186.00s;;;0; diff --git a/tests/network/huawei/wlc/snmp/wlan-global.robot b/tests/network/huawei/wlc/snmp/wlan-global.robot index e5a142a96..67b5fb38a 100644 --- a/tests/network/huawei/wlc/snmp/wlan-global.robot +++ b/tests/network/huawei/wlc/snmp/wlan-global.robot @@ -23,7 +23,7 @@ wlan-global ${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: Access Points normal state 509 on 525 (96.95%), Access Points user authentications 92.06% (1113 on 1209) | 'total'=525;;;0; 'normal'=509;;;0; 'fault'=16;;;0; 'normal-prct'=96.95%;;;0;100 'fault-prct'=3.05%;;;0;100 'current-user'=1209;;;0; 'current-auth-user'=1113;;;0; 'current-auth-user-prct'=92.06%;;;0;100 diff --git a/tests/network/juniper/mseries/netconf/bgp.robot b/tests/network/juniper/mseries/netconf/bgp.robot index f3c1260ab..cd32bef52 100644 --- a/tests/network/juniper/mseries/netconf/bgp.robot +++ b/tests/network/juniper/mseries/netconf/bgp.robot @@ -22,7 +22,7 @@ Bgp ${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 --filter-snmp-index=1 diff --git a/tests/network/juniper/mseries/netconf/cpu.robot b/tests/network/juniper/mseries/netconf/cpu.robot index 9e85b4b77..cbdf62cdd 100644 --- a/tests/network/juniper/mseries/netconf/cpu.robot +++ b/tests/network/juniper/mseries/netconf/cpu.robot @@ -22,7 +22,7 @@ Cpu ${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} diff --git a/tests/network/juniper/mseries/netconf/disks.robot b/tests/network/juniper/mseries/netconf/disks.robot index c7a521929..5bf5ddb8d 100644 --- a/tests/network/juniper/mseries/netconf/disks.robot +++ b/tests/network/juniper/mseries/netconf/disks.robot @@ -22,7 +22,7 @@ Disk ${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} diff --git a/tests/network/juniper/mseries/netconf/hardware.robot b/tests/network/juniper/mseries/netconf/hardware.robot index 49f570249..5aa5da655 100644 --- a/tests/network/juniper/mseries/netconf/hardware.robot +++ b/tests/network/juniper/mseries/netconf/hardware.robot @@ -22,7 +22,7 @@ Hardware ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}hardware.netconf" ... ${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 --component=fan @@ -43,7 +43,7 @@ Hardware no fan ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}hardware_no_fan.netconf" ... ${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 --component=fan --no-component=unknown diff --git a/tests/network/juniper/mseries/netconf/interfaces.robot b/tests/network/juniper/mseries/netconf/interfaces.robot index e50205e7f..4c326a9b9 100644 --- a/tests/network/juniper/mseries/netconf/interfaces.robot +++ b/tests/network/juniper/mseries/netconf/interfaces.robot @@ -22,7 +22,7 @@ Interface ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}interfaces.netconf" ... ${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} @@ -49,7 +49,7 @@ Interface regex ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}interfaces.netconf" ... ${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} --verbose @@ -70,7 +70,7 @@ Optical Interface ${tc} ... --sshcli-option="-f=${CURDIR}${/}data${/}interfaces_optical.netconf" ... ${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 --add-optical diff --git a/tests/network/juniper/mseries/netconf/ldp.robot b/tests/network/juniper/mseries/netconf/ldp.robot index a103ca61b..35f75fd81 100644 --- a/tests/network/juniper/mseries/netconf/ldp.robot +++ b/tests/network/juniper/mseries/netconf/ldp.robot @@ -22,7 +22,7 @@ Ldp ${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} diff --git a/tests/network/juniper/mseries/netconf/list-bgp.robot b/tests/network/juniper/mseries/netconf/list-bgp.robot index 12cce0119..a0fc7eeaa 100644 --- a/tests/network/juniper/mseries/netconf/list-bgp.robot +++ b/tests/network/juniper/mseries/netconf/list-bgp.robot @@ -22,7 +22,7 @@ List Bgp ${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} ^List BGP peers: (\\\\n\\\\[.*\\\\]){5}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-disks.robot b/tests/network/juniper/mseries/netconf/list-disks.robot index bfd557982..5c16d2f36 100644 --- a/tests/network/juniper/mseries/netconf/list-disks.robot +++ b/tests/network/juniper/mseries/netconf/list-disks.robot @@ -22,7 +22,7 @@ List-Disks ${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} ^List disks: (\\\\n\\\\[.*\\\\]){5}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-interfaces.robot b/tests/network/juniper/mseries/netconf/list-interfaces.robot index 3022bce08..e0544b9f4 100644 --- a/tests/network/juniper/mseries/netconf/list-interfaces.robot +++ b/tests/network/juniper/mseries/netconf/list-interfaces.robot @@ -22,7 +22,7 @@ List Interface ${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} ^List interfaces: (\\\\n\\\\[.*\\\\]){6}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-ldp.robot b/tests/network/juniper/mseries/netconf/list-ldp.robot index 4a8bb5c8c..77bcdd1a6 100644 --- a/tests/network/juniper/mseries/netconf/list-ldp.robot +++ b/tests/network/juniper/mseries/netconf/list-ldp.robot @@ -22,7 +22,7 @@ List Ldp ${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} ^List LDP sessions: (\\\\n\\\\[.*\\\\]){4}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-lsp.robot b/tests/network/juniper/mseries/netconf/list-lsp.robot index 419980d73..a97cec6b6 100644 --- a/tests/network/juniper/mseries/netconf/list-lsp.robot +++ b/tests/network/juniper/mseries/netconf/list-lsp.robot @@ -22,7 +22,7 @@ List Lsp ${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} ^List LSP sessions: (\\\\n\\\\[.*\\\\]){3}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-rsvp.robot b/tests/network/juniper/mseries/netconf/list-rsvp.robot index 1ad750b64..af3e3fcd3 100644 --- a/tests/network/juniper/mseries/netconf/list-rsvp.robot +++ b/tests/network/juniper/mseries/netconf/list-rsvp.robot @@ -22,7 +22,7 @@ List Rsvp ${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} ^List RSVP sessions: (\\\\n\\\\[.*\\\\]){2}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/list-services-rpm.robot b/tests/network/juniper/mseries/netconf/list-services-rpm.robot index 4d5961d36..f7f847fad 100644 --- a/tests/network/juniper/mseries/netconf/list-services-rpm.robot +++ b/tests/network/juniper/mseries/netconf/list-services-rpm.robot @@ -22,7 +22,7 @@ List Service Rpm ${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} ^List services RPM: (\\\\n\\\\[.*\\\\]){2}\\\\Z diff --git a/tests/network/juniper/mseries/netconf/lsp.robot b/tests/network/juniper/mseries/netconf/lsp.robot index fc677ea94..47408c8f6 100644 --- a/tests/network/juniper/mseries/netconf/lsp.robot +++ b/tests/network/juniper/mseries/netconf/lsp.robot @@ -22,7 +22,7 @@ Lsp ${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} diff --git a/tests/network/juniper/mseries/netconf/memory.robot b/tests/network/juniper/mseries/netconf/memory.robot index 97d0fdcf7..656ecbf7c 100644 --- a/tests/network/juniper/mseries/netconf/memory.robot +++ b/tests/network/juniper/mseries/netconf/memory.robot @@ -22,7 +22,7 @@ Memory ${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} diff --git a/tests/network/juniper/mseries/netconf/ospf.robot b/tests/network/juniper/mseries/netconf/ospf.robot index ed6a21611..56193e30a 100644 --- a/tests/network/juniper/mseries/netconf/ospf.robot +++ b/tests/network/juniper/mseries/netconf/ospf.robot @@ -22,7 +22,7 @@ Ospf ${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} diff --git a/tests/network/juniper/mseries/netconf/rsvp.robot b/tests/network/juniper/mseries/netconf/rsvp.robot index 60369e503..62c250125 100644 --- a/tests/network/juniper/mseries/netconf/rsvp.robot +++ b/tests/network/juniper/mseries/netconf/rsvp.robot @@ -22,7 +22,7 @@ Rsvp ${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} diff --git a/tests/network/juniper/mseries/netconf/services-rpm.robot b/tests/network/juniper/mseries/netconf/services-rpm.robot index 652019b2a..30cec5e0d 100644 --- a/tests/network/juniper/mseries/netconf/services-rpm.robot +++ b/tests/network/juniper/mseries/netconf/services-rpm.robot @@ -22,7 +22,7 @@ Service Rpm ${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} diff --git a/tests/network/keysight/nvos/restapi/license.robot b/tests/network/keysight/nvos/restapi/license.robot index 6f7a0cffb..5bf7e08cc 100644 --- a/tests/network/keysight/nvos/restapi/license.robot +++ b/tests/network/keysight/nvos/restapi/license.robot @@ -30,7 +30,7 @@ license ${tc} ... ${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 --verbose OK: status : skipped (no value(s)) diff --git a/tests/network/keysight/nvos/restapi/ports.robot b/tests/network/keysight/nvos/restapi/ports.robot index a02a3eab6..775152911 100644 --- a/tests/network/keysight/nvos/restapi/ports.robot +++ b/tests/network/keysight/nvos/restapi/ports.robot @@ -29,7 +29,7 @@ ports ${tc} ... --mode=ports ... ${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 --verbose OK: All ports are ok | 'P14#port.traffic.out.percentage'=0.00%;;;0;100 'P17#port.traffic.out.percentage'=0.00%;;;0;100 checking port 'P01' license status: valid link operational status: up [admin: enabled] checking port 'P12' license status: valid link operational status: up [admin: enabled] checking port 'P14' license status: valid link operational status: up [admin: enabled] traffic out: 0.00%, traffic-out : Buffer creation packets packets-out : Buffer creation, packets-dropped : Buffer creation, packets-pass : Buffer creation, packets-insp : Buffer creation checking port 'P17' license status: valid link operational status: up [admin: enabled] traffic out: 0.00%, traffic-out : Buffer creation packets packets-out : Buffer creation, packets-dropped : Buffer creation, packets-pass : Buffer creation, packets-insp : Buffer creation diff --git a/tests/network/mikrotik/snmp/listlteinterfaces.robot b/tests/network/mikrotik/snmp/listlteinterfaces.robot index 81ed0e37c..be1ecf8c5 100644 --- a/tests/network/mikrotik/snmp/listlteinterfaces.robot +++ b/tests/network/mikrotik/snmp/listlteinterfaces.robot @@ -22,7 +22,7 @@ listlteinterfaces ${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: 'lte1' [speed = ][status = up][id = 9] diff --git a/tests/network/mikrotik/snmp/lteinterfaces.robot b/tests/network/mikrotik/snmp/lteinterfaces.robot index 72994d389..28e8f92c9 100644 --- a/tests/network/mikrotik/snmp/lteinterfaces.robot +++ b/tests/network/mikrotik/snmp/lteinterfaces.robot @@ -25,7 +25,7 @@ lteinterfaces ${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 ${EMPTY} OK: Interface 'lte1' [imei: 863359044096580] Status : up (admin: up), rsrp: -94 dBm, rsrq: -13 dB, rssi: -65 dBm, sinr: 0 dB | 'lte1~863359044096580#interface.signal.rsrp.dbm'=-94;;;0; 'lte1~863359044096580#interface.signal.rsrq.db'=-13;;;0; 'lte1~863359044096580#interface.signal.rssi.dbm'=-65;;;0; 'lte1~863359044096580#interface.signal.sinr.dbm'=0;;;0; diff --git a/tests/network/moxa/switch/snmp/interfaces.robot b/tests/network/moxa/switch/snmp/interfaces.robot index f097fcdd6..20c809c54 100644 --- a/tests/network/moxa/switch/snmp/interfaces.robot +++ b/tests/network/moxa/switch/snmp/interfaces.robot @@ -21,7 +21,7 @@ network interface ${tc} ... ${CMD} ... ${arguments} - 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 expected_result -- ... 1 --verbose --add-duplex-status OK: All interfaces are ok Interface 'lo' Status : up (admin: up) (duplex: fullDuplex) Interface 'eth0' Status : up (admin: up) (duplex: halfDuplex) Interface 'eth1' Status : up (admin: up) (duplex: unknown) Interface 'eth2' Status : up (admin: up) (duplex: fullDuplex) Interface 'eth3' Status : up (admin: up) (duplex: fullDuplex) \ No newline at end of file diff --git a/tests/network/nokia/timos/snmp/sas-alarm.robot b/tests/network/nokia/timos/snmp/sas-alarm.robot index 7a2ef38ba..2f9cda2b3 100644 --- a/tests/network/nokia/timos/snmp/sas-alarm.robot +++ b/tests/network/nokia/timos/snmp/sas-alarm.robot @@ -23,7 +23,7 @@ sas-alarm ${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 CRITICAL: Alarm input 'PSU_1_Sammelalarm' Alarm input status : alarm (Alarm input admin state: up (Alarm output severity: major) Alarm input 'PSU_1_Sammelalarm' Alarm input status : alarm (Alarm input admin state: up (Alarm output severity: major) Alarm input 'PSU_1_230V_fehlt' Alarm input status : noAlarm (Alarm input admin state: up (Alarm output severity: major) Alarm input 'PSU_2_Sammelalarm' Alarm input status : noAlarm (Alarm input admin state: up (Alarm output severity: major) Alarm input 'PSU_2_230V_fehlt' Alarm input status : noAlarm (Alarm input admin state: up (Alarm output severity: major) diff --git a/tests/network/sonus/sbc/snmp/call-statistics.robot b/tests/network/sonus/sbc/snmp/call-statistics.robot index 4f714280b..112f46dd5 100644 --- a/tests/network/sonus/sbc/snmp/call-statistics.robot +++ b/tests/network/sonus/sbc/snmp/call-statistics.robot @@ -22,7 +22,7 @@ call-statistics ${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 ports call statistics are ok | '1#port.calls.current.count'=5;;;0; '2#port.calls.current.count'=7;;;0; '3#port.calls.current.count'=9;;;0; diff --git a/tests/network/sonus/sbc/snmp/channels.robot b/tests/network/sonus/sbc/snmp/channels.robot index 4c1151735..6341e3ed6 100644 --- a/tests/network/sonus/sbc/snmp/channels.robot +++ b/tests/network/sonus/sbc/snmp/channels.robot @@ -22,7 +22,7 @@ channels ${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 channels are ok | 'channels.total.count'=4;;;0; 'channels.outofservice.count'=0;;;0; 'channels.idle.count'=4;;;0; 'channels.pending.count'=0;;;0; 'channels.waiting_for_route.count'=0;;;0; 'channels.action_list.count'=0;;;0; 'channels.waiting_for_digits.count'=0;;;0; 'channels.remote_setup.count'=0;;;0; 'channels.peer_setup.count'=0;;;0; 'channels.alerting.count'=0;;;0; 'channels.inband_info.count'=0;;;0; 'channels.connected.count'=0;;;0; 'channels.tone_generation.count'=0;;;0; 'channels.releasing.count'=0;;;0; 'channels.aborting.count'=0;;;0; 'channels.resetting.count'=0;;;0; 'channels.up.count'=0;;;0; 'channels.down.count'=0;;;0; 'shelf1~slot0~port1~channel1#channel.lifetime.seconds'=43316s;;;0; 'shelf1~slot0~port1~channel2#channel.lifetime.seconds'=42338s;;;0; 'shelf1~slot1~port1~channel1#channel.lifetime.seconds'=515930s;;;0; 'shelf1~slot1~port2~channel1#channel.lifetime.seconds'=138887s;;;0; diff --git a/tests/network/sonus/sbc/snmp/dsp-stats.robot b/tests/network/sonus/sbc/snmp/dsp-stats.robot index 1db9511c8..ecce83c9e 100644 --- a/tests/network/sonus/sbc/snmp/dsp-stats.robot +++ b/tests/network/sonus/sbc/snmp/dsp-stats.robot @@ -22,7 +22,7 @@ dsp-stats ${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: DSP '9' state is 'up', CPU usage: 1.00 %, active channels: 0 | '9#dsp.cpu.utilization.percentage'=1.00%;;;0;100 '9#dsp.channels.active.count'=0;;;0; diff --git a/tests/network/sonus/sbc/snmp/interfaces.robot b/tests/network/sonus/sbc/snmp/interfaces.robot index e93ae6b93..cb6adb719 100644 --- a/tests/network/sonus/sbc/snmp/interfaces.robot +++ b/tests/network/sonus/sbc/snmp/interfaces.robot @@ -22,7 +22,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 'Anonymized 073' Status : down (admin: up) - Interface 'Anonymized 232' Status : down (admin: up) diff --git a/tests/network/sonus/sbc/snmp/list-interfaces.robot b/tests/network/sonus/sbc/snmp/list-interfaces.robot index acc6b1f1d..8564f11d8 100644 --- a/tests/network/sonus/sbc/snmp/list-interfaces.robot +++ b/tests/network/sonus/sbc/snmp/list-interfaces.robot @@ -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 ${EMPTY} --name --interface='Anonymized 049' List interfaces: 'Anonymized 049' [speed = ][status = up][id = 1078199296][type = voiceFXS] 'Anonymized 049' [speed = ][status = up][id = 1079510016][type = voiceFXS] diff --git a/tests/network/stormshield/api/vpn-tunnels.robot b/tests/network/stormshield/api/vpn-tunnels.robot index c00df3405..a9741c9e0 100644 --- a/tests/network/stormshield/api/vpn-tunnels.robot +++ b/tests/network/stormshield/api/vpn-tunnels.robot @@ -29,7 +29,7 @@ vpn-tunnels ${tc} ... --mode=vpn-tunnels ... ${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: Total VPN tunnels: 22 - All VPN tunnels are ok | 'vpn.tunnels.total.count'=22;;;0; diff --git a/tests/network/stormshield/snmp/hardware.robot b/tests/network/stormshield/snmp/hardware.robot index 93ded48be..eee75ef61 100644 --- a/tests/network/stormshield/snmp/hardware.robot +++ b/tests/network/stormshield/snmp/hardware.robot @@ -23,7 +23,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 --critical='temperature,.*,50' CRITICAL: temperature 'cpu1' is 70 celsius | 'cpu1#hardware.temperature.celsius'=70C;;0:50;0; 'cpu2#hardware.temperature.celsius'=30C;;0:50;0; 'cpu3#hardware.temperature.celsius'=0C;;0:50;0; 'hardware.temperature.count'=3;;;; diff --git a/tests/network/teldat/snmp/cellsradio.robot b/tests/network/teldat/snmp/cellsradio.robot index 7aa5ccd9f..8c7848730 100644 --- a/tests/network/teldat/snmp/cellsradio.robot +++ b/tests/network/teldat/snmp/cellsradio.robot @@ -33,7 +33,7 @@ Cells radio ${tc} ... --warning-module-cellradio-snr=${warningmodulecellradiosnr} ... --critical-module-cellradio-snr=${criticalmodulecellradiosnr} - 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 customperfdatainstances criticalstatus warningmodulescellradiodetected criticalmodulescellradiodetected warningmodulecellradiorsrp criticalmodulecellradiorsrp warningmodulecellradiorsrq criticalmodulecellradiorsrq warningmodulecellradiocsq criticalmodulecellradiocsq warningmodulecellradiosnr criticalmodulecellradiosnr expected_result -- diff --git a/tests/network/teldat/snmp/cpu.robot b/tests/network/teldat/snmp/cpu.robot index 571b3c19a..b4f2ff0c9 100644 --- a/tests/network/teldat/snmp/cpu.robot +++ b/tests/network/teldat/snmp/cpu.robot @@ -27,7 +27,7 @@ CPU ${tc} ... --warning-cpu-utilization-5m=${warningcpuutilization5m} ... --critical-cpu-utilization-5m=${criticalcpuutilization5m} - 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 warningcpuutilization5s criticalcpuutilization5s warningcpuutilization1m criticalcpuutilization1m warningcpuutilization5m criticalcpuutilization5m expected_result -- diff --git a/tests/network/teldat/snmp/memory.robot b/tests/network/teldat/snmp/memory.robot index 04f05fbc6..12d4c1bfa 100644 --- a/tests/network/teldat/snmp/memory.robot +++ b/tests/network/teldat/snmp/memory.robot @@ -27,7 +27,7 @@ Memory ${tc} ... --warning-usage-prct=${warningusageprct} ... --critical-usage-prct=${criticalusageprct} - 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 warningusage criticalusage warningusagefree criticalusagefree warningusageprct criticalusageprct expected_result -- diff --git a/tests/os/f5os/snmp/cpu-usage.robot b/tests/os/f5os/snmp/cpu-usage.robot index eb672a527..dde60f905 100644 --- a/tests/os/f5os/snmp/cpu-usage.robot +++ b/tests/os/f5os/snmp/cpu-usage.robot @@ -21,7 +21,7 @@ cpu-usage ${tc} ... --snmp-community=os/f5os/snmp/f5os ... ${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: CPU(s) average usage is: 8.00 % | 'cpu.usage.percent'=8.00%;;;0;100 '0#cpu.core.current.usage.percent'=0%;;;0;100 '0#cpu.core.usage.avg.5s.percent'=0%;;;0;100 '0#cpu.core.usage.avg.1m.percent'=1%;;;0;100 '0#cpu.core.usage.avg.5m.percent'=1%;;;0;100 '1#cpu.core.current.usage.percent'=16%;;;0;100 '1#cpu.core.usage.avg.5s.percent'=10%;;;0;100 '1#cpu.core.usage.avg.1m.percent'=15%;;;0;100 '1#cpu.core.usage.avg.5m.percent'=50%;;;0;100 diff --git a/tests/os/f5os/snmp/hardware.robot b/tests/os/f5os/snmp/hardware.robot index 38fffc04d..c57dbec36 100644 --- a/tests/os/f5os/snmp/hardware.robot +++ b/tests/os/f5os/snmp/hardware.robot @@ -21,7 +21,7 @@ hardware ${tc} ... --snmp-community=os/f5os/snmp/f5os ... ${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: Current temperature: 31.6 C, average: 32.1 C, minimum: 31.2 C, maximum: 33.8 C - All fans are ok | 'temperature.current.celsius'=31.6C;;;; 'temperature.average.1h.celsius'=32.1C;;;; 'temperature.min.1h.celsius'=31.2C;;;; 'temperature#temperature.max.1h.celsius'=33.8C;;;; '1#fantray.fanspeed.rpm'=15482rpm;;;0; '2#fantray.fanspeed.rpm'=17323rpm;;;0; '3#fantray.fanspeed.rpm'=17121rpm;;;0; '4#fantray.fanspeed.rpm'=17512rpm;;;0; '5#fantray.fanspeed.rpm'=17695rpm;;;0; '6#fantray.fanspeed.rpm'=13543rpm;;;0; '7#fantray.fanspeed.rpm'=16678rpm;;;0; '8#fantray.fanspeed.rpm'=17843rpm;;;0; diff --git a/tests/os/f5os/snmp/memory.robot b/tests/os/f5os/snmp/memory.robot index c9f5e5bd6..917e8d98b 100644 --- a/tests/os/f5os/snmp/memory.robot +++ b/tests/os/f5os/snmp/memory.robot @@ -21,7 +21,7 @@ memory ${tc} ... --snmp-community=os/f5os/snmp/f5os ... ${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: Memory total: 15.00 GB used: 6.60 GB (43.99%) free: 8.40 GB (56.01%) | 'memory.usage.bytes'=7085105152B;;;0;16107667456 'memory.free.bytes'=9022562304B;;;0;16107667456 'memory.usage.percent'=43.99%;;;0;100 'memory.free.percent'=56.01%;;;0;100 diff --git a/tests/os/freebsd/snmp/storage.robot b/tests/os/freebsd/snmp/storage.robot index 8a5353d43..4820c4d79 100644 --- a/tests/os/freebsd/snmp/storage.robot +++ b/tests/os/freebsd/snmp/storage.robot @@ -24,7 +24,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 ${EMPTY} OK: All storages are ok | 'count'=3;;;0; 'used_/'=4534042624B;;;0;10352734208 'used_/dev'=0B;;;0;1024 'used_/boot/efi'=662528B;;;0;33550336 diff --git a/tests/os/linux/local/List-Systemdservices-v219.robot b/tests/os/linux/local/List-Systemdservices-v219.robot index db2e09eff..fcd25c1bf 100644 --- a/tests/os/linux/local/List-Systemdservices-v219.robot +++ b/tests/os/linux/local/List-Systemdservices-v219.robot @@ -22,7 +22,7 @@ List-Systemdservices v219 ${tc} ... --filter-name='${filtername}' ... --filter-description='${filterdescription}' - 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 filtername filterdescription expected_result -- ... 1 toto ${EMPTY} List systemd services: diff --git a/tests/os/linux/local/List-Systemdservices-v252.robot b/tests/os/linux/local/List-Systemdservices-v252.robot index a0ec2e145..4a86c47c0 100644 --- a/tests/os/linux/local/List-Systemdservices-v252.robot +++ b/tests/os/linux/local/List-Systemdservices-v252.robot @@ -22,7 +22,7 @@ List-Systemdservices v252 ${tc} ... --filter-name='${filtername}' ... --filter-description='${filterdescription}' - 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 filtername filterdescription expected_result -- ... 1 toto ${EMPTY} List systemd services: diff --git a/tests/os/linux/local/process.robot b/tests/os/linux/local/process.robot index b16d0bba4..23ab37e8e 100644 --- a/tests/os/linux/local/process.robot +++ b/tests/os/linux/local/process.robot @@ -23,7 +23,7 @@ Process ${tc} ... --critical-total='${critical}' ... --filter-command='${filter_command}' - 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 ps_output filter_command warning critical expected_result -- ... 1 ps-centreon.output cs.sapC4P_C00 ${EMPTY} ${EMPTY} OK: Number of current processes: 0 | 'processes.total.count'=0;;;0; diff --git a/tests/os/linux/snmp/arp.robot b/tests/os/linux/snmp/arp.robot index fe82acb6f..805b9ac1b 100644 --- a/tests/os/linux/snmp/arp.robot +++ b/tests/os/linux/snmp/arp.robot @@ -24,7 +24,7 @@ arp ${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-macaddr OK: total entries 3 - duplicate mac address 0 - duplicate ip address 0 | 'arp.total.entries.count'=3;;;0; 'arp.duplicate.macaddr.count'=0;;;0; 'arp.duplicate.ipaddr.count'=0;;;0; diff --git a/tests/os/linux/snmp/cpu-d.robot b/tests/os/linux/snmp/cpu-d.robot new file mode 100644 index 000000000..97ee7acd7 --- /dev/null +++ b/tests/os/linux/snmp/cpu-d.robot @@ -0,0 +1,38 @@ +*** Settings *** +Documentation Check cpu table + +Resource ${CURDIR}${/}..${/}..${/}..${/}resources/import.resource + +Suite Setup Ctn Generic Suite Setup +Test Timeout 120s + + +*** Variables *** +${CMD} ${CENTREON_PLUGINS} --plugin=os::linux::snmp::plugin + +*** Test Cases *** +cpu ${tc} + [Tags] os linux + ${command} Catenate + ... ${CMD} + ... --mode=cpu + ... --hostname=${HOSTNAME} + ... --snmp-version=${SNMPVERSION} + ... --snmp-port=${SNMPPORT} + ... --snmp-community=os/linux/snmp/network-interfaces + ... --snmp-timeout=1 + ... ${extra_options} + + Run Command And Check Result As Strings ${tc} ${command} ${expected_result} + + Examples: tc extra_options expected_result -- + ... 1 --use-ucd='0' OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 + ... 2 --warning-average OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 + ... 3 --critical-average OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 + ... 4 --warning-core OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 + ... 5 --critical-core OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 + ... 6 --verbose OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 CPU '0' usage : 2.00 % + ... 7 --warning-average='0' WARNING: 1 CPU(s) average usage is 2.00 % | 'total_cpu_avg'=2.00%;0:0;;0;100 'cpu'=2.00%;;;0;100 + ... 8 --critical-average='0' CRITICAL: 1 CPU(s) average usage is 2.00 % | 'total_cpu_avg'=2.00%;;0:0;0;100 'cpu'=2.00%;;;0;100 + ... 9 --warning-core='0' WARNING: CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;0:0;;0;100 + ... 10 --critical-core='0' CRITICAL: CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;0:0;0;100 diff --git a/tests/os/linux/snmp/cpu-detailed.robot b/tests/os/linux/snmp/cpu-detailed.robot index be9f03cf1..d8ef66a80 100644 --- a/tests/os/linux/snmp/cpu-detailed.robot +++ b/tests/os/linux/snmp/cpu-detailed.robot @@ -24,7 +24,7 @@ cpu-detailed ${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 --critical-guest OK: CPU Usage: user : Buffer creation, nice : Buffer creation, system : Buffer creation, idle : Buffer creation, wait : Buffer creation, kernel : Buffer creation, interrupt : Buffer creation, softirq : Buffer creation, steal : Buffer creation, guest : Buffer creation, guestnice : Buffer creation diff --git a/tests/os/linux/snmp/cpu.robot b/tests/os/linux/snmp/cpu.robot index 963c506c5..8790b3ba0 100644 --- a/tests/os/linux/snmp/cpu.robot +++ b/tests/os/linux/snmp/cpu.robot @@ -10,7 +10,6 @@ Test Timeout 120s *** Variables *** ${CMD} ${CENTREON_PLUGINS} --plugin=os::linux::snmp::plugin - *** Test Cases *** cpu ${tc} [Tags] os linux @@ -22,9 +21,9 @@ cpu ${tc} ... --snmp-port=${SNMPPORT} ... --snmp-community=os/linux/snmp/network-interfaces ... --snmp-timeout=1 - ... ${extra_options} + ... ${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 --use-ucd='0' OK: 1 CPU(s) average usage is 2.00 % - CPU '0' usage : 2.00 % | 'total_cpu_avg'=2.00%;;;0;100 'cpu'=2.00%;;;0;100 diff --git a/tests/os/linux/snmp/disk-usage.robot b/tests/os/linux/snmp/disk-usage.robot index af95e117c..1b8080a3e 100644 --- a/tests/os/linux/snmp/disk-usage.robot +++ b/tests/os/linux/snmp/disk-usage.robot @@ -24,7 +24,7 @@ disk-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 --filter-counters OK: All partitions are ok | 'count'=5;;;0; 'used_/'=7394013184B;;;0;105088212992 'free_/'=97694199808B;;;0;105088212992 'used_prct_/'=7.04%;;;0;100 'inodes_/'=6%;;;0;100 'used_/dev/shm'=0B;;;0;1031299072 'free_/dev/shm'=1031299072B;;;0;1031299072 'used_prct_/dev/shm'=0.00%;;;0;100 'inodes_/dev/shm'=0%;;;0;100 'used_/run'=532480B;;;0;206262272 'free_/run'=205729792B;;;0;206262272 'used_prct_/run'=0.26%;;;0;100 'inodes_/run'=0%;;;0;100 'used_/run/lock'=0B;;;0;5242880 'free_/run/lock'=5242880B;;;0;5242880 'used_prct_/run/lock'=0.00%;;;0;100 'inodes_/run/lock'=0%;;;0;100 'used_/run/user/0'=0B;;;0;206258176 'free_/run/user/0'=206258176B;;;0;206258176 'used_prct_/run/user/0'=0.00%;;;0;100 'inodes_/run/user/0'=0%;;;0;100 diff --git a/tests/os/linux/snmp/diskio.robot b/tests/os/linux/snmp/diskio.robot index d6cd17b19..8a1559714 100644 --- a/tests/os/linux/snmp/diskio.robot +++ b/tests/os/linux/snmp/diskio.robot @@ -24,7 +24,7 @@ diskio ${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 --device='1' OK: Device 'sda' Read I/O : Buffer creation, Write I/O : Buffer creation, Read IOPs : Buffer creation, Write IOPs : Buffer creation diff --git a/tests/os/linux/snmp/inodes.robot b/tests/os/linux/snmp/inodes.robot index 4f512b83a..ba3837cfe 100644 --- a/tests/os/linux/snmp/inodes.robot +++ b/tests/os/linux/snmp/inodes.robot @@ -24,7 +24,7 @@ inodes ${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-path='' OK: All inode partitions are ok | 'used_/'=6%;;;0;100 'used_/dev/shm'=0%;;;0;100 'used_/run'=0%;;;0;100 'used_/run/lock'=0%;;;0;100 'used_/run/user/0'=0%;;;0;100 diff --git a/tests/os/linux/snmp/list-diskspath.robot b/tests/os/linux/snmp/list-diskspath.robot index 0b72d2cfc..aec1b9fb7 100644 --- a/tests/os/linux/snmp/list-diskspath.robot +++ b/tests/os/linux/snmp/list-diskspath.robot @@ -24,7 +24,7 @@ list-diskspath ${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 --skip-total-size-zero='' List disk path: ${SPACE}'/run/user/0' [id = 25] ${SPACE} '/run' [id = 5] ${SPACE} '/' [id = 6] ${SPACE} '/dev/shm' [id = 8] ${SPACE} '/run/lock' [id = 9] @@ -33,4 +33,4 @@ list-diskspath ${tc} ... 4 --display-transform-dst='run' List disk path: ${SPACE}'/run/user/0' [id = 25] ${SPACE} '/run' [id = 5] ${SPACE} '/' [id = 6] ${SPACE} '/dev/shm' [id = 8] ${SPACE} '/run/lock' [id = 9] ... 5 --skip-total-size-zero List disk path: ${SPACE}'/run/user/0' [id = 25] ${SPACE} '/run' [id = 5] ${SPACE} '/' [id = 6] ${SPACE} '/dev/shm' [id = 8] ${SPACE} '/run/lock' [id = 9] ... 6 --regexp-insensitive List disk path: ${SPACE}'/run/user/0' [id = 25] ${SPACE} '/run' [id = 5] ${SPACE} '/' [id = 6] ${SPACE} '/dev/shm' [id = 8] ${SPACE} '/run/lock' [id = 9] - ... 7 --regexp List disk path: ${SPACE}'/run/user/0' [id = 25] ${SPACE} '/run' [id = 5] ${SPACE} '/' [id = 6] ${SPACE} '/dev/shm' [id = 8] ${SPACE} '/run/lock' [id = 9] + ... 7 --regexp List disk path: ${SPACE}'/run/user/0' [id = 25] ${SPACE} '/run' [id = 5] ${SPACE} '/' [id = 6] ${SPACE} '/dev/shm' [id = 8] ${SPACE} '/run/lock' [id = 9] \ No newline at end of file diff --git a/tests/os/linux/snmp/list-interfaces.robot b/tests/os/linux/snmp/list-interfaces.robot index 69dab437b..a43f9c56c 100644 --- a/tests/os/linux/snmp/list-interfaces.robot +++ b/tests/os/linux/snmp/list-interfaces.robot @@ -24,7 +24,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: ${SPACE}'lo' [speed = 10][status = up][id = 1][alias = ][type = softwareLoopback] 'eth0' [speed = 1000][status = up][id = 2][alias = ][type = ethernetCsmacd] ${SPACE} 'eth1' [speed = 1000][status = up][id = 3][alias = ][type = ethernetCsmacd] diff --git a/tests/os/linux/snmp/list-processes.robot b/tests/os/linux/snmp/list-processes.robot index d42bdaf6d..efee431f5 100644 --- a/tests/os/linux/snmp/list-processes.robot +++ b/tests/os/linux/snmp/list-processes.robot @@ -24,7 +24,7 @@ list-processes ${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 -- ... 2 --filter-name='centreontrapd' List processes: [name = centreontrapd] [path = /usr/bin/perl] [parameters = /usr/share/centreon/bin/centreontrapd --logfile=/var/log/centreon/centreontrapd.log --severity=error --config=/etc/centreon/conf] [type = application] [pid = 317] [status = runnable] diff --git a/tests/os/linux/snmp/list-storages.robot b/tests/os/linux/snmp/list-storages.robot index 17e0ece6c..f84203ed5 100644 --- a/tests/os/linux/snmp/list-storages.robot +++ b/tests/os/linux/snmp/list-storages.robot @@ -24,7 +24,7 @@ list-storages ${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 --display-transform-src='dev' List storage: ${SPACE}Skipping storage 'Physical memory': no type or no matching filter type ${SPACE}Skipping storage 'Swap space': no type or no matching filter type ${SPACE}Skipping storage 'Available memory': no type or no matching filter type ${SPACE}Skipping storage 'Virtual memory': no type or no matching filter type ${SPACE}'/run' [size = 206262272B] [id = 35] ${SPACE} '/' [size = 105088212992B] [id = 36] ${SPACE} '//shm' [size = 1031299072B] [id = 38] ${SPACE} '/run/lock' [size = 5242880B] [id = 39] ${SPACE}'/run/user/0' [size = 206258176B] [id = 55] ${SPACE} Skipping storage 'Memory buffers': no type or no matching filter type ${SPACE} Skipping storage 'Cached memory': no type or no matching filter type ${SPACE} Skipping storage 'Shared memory': no type or no matching filter type diff --git a/tests/os/linux/snmp/load.robot b/tests/os/linux/snmp/load.robot index d00e5b4cb..078a7819a 100644 --- a/tests/os/linux/snmp/load.robot +++ b/tests/os/linux/snmp/load.robot @@ -26,7 +26,7 @@ load ${tc} ... --average ... ${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 critical warning extra_options expected_result -- ... 1 '6,5,4' '4,3,2' ${EMPTY} OK: Load average: 0.43 [0.87/2 CPUs], 0.32 [0.63/2 CPUs], 0.23 [0.47/2 CPUs] | 'avg_load1'=0.43;0:4;0:6;0; 'avg_load5'=0.32;0:3;0:5;0; 'avg_load15'=0.23;0:2;0:4;0; 'load1'=0.87;0:8;0:12;0; 'load5'=0.63;0:6;0:10;0; 'load15'=0.47;0:4;0:8;0; diff --git a/tests/os/linux/snmp/memory-centreonvault.robot b/tests/os/linux/snmp/memory-centreonvault.robot index b9359e395..ed5d8356c 100644 --- a/tests/os/linux/snmp/memory-centreonvault.robot +++ b/tests/os/linux/snmp/memory-centreonvault.robot @@ -27,7 +27,7 @@ Linux Memory with vault ${tc} ... --vault-cache=${VAULT_CACHE} ... ${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 secret vault_config extra_options expected_regexp -- ... 1 Linux ${EMPTY} ${EMPTY} UNKNOWN: Please provide a Centreon Vault configuration file path with --vault-config option diff --git a/tests/os/linux/snmp/memory.robot b/tests/os/linux/snmp/memory.robot index c6024cb98..c452fe79d 100644 --- a/tests/os/linux/snmp/memory.robot +++ b/tests/os/linux/snmp/memory.robot @@ -26,7 +26,7 @@ memory ${tc} ... --force-64bits-counters ... ${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 snmpver extra_options expected_result -- ... 1 1 --verbose OK: Ram Total: 1.92 GB Used (-buffers/cache): 702.20 MB (35.70%) Free: 1.24 GB (64.30%), Buffer: 35.86 MB, Cached: 498.80 MB, Shared: 28.91 MB | 'used'=736309248B;;;0;2062598144 'free'=1326288896B;;;0;2062598144 'used_prct'=35.70%;;;0;100 'buffer'=37601280B;;;0; 'cached'=523030528B;;;0; 'shared'=30310400B;;;0; diff --git a/tests/os/linux/snmp/network-interfaces.robot b/tests/os/linux/snmp/network-interfaces.robot index ca07724a7..8b33cd57c 100644 --- a/tests/os/linux/snmp/network-interfaces.robot +++ b/tests/os/linux/snmp/network-interfaces.robot @@ -26,7 +26,7 @@ Interfaces by id ${tc} ... --interface='${filter}' ... ${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 extra_options expected_result -- ... 1 1 ${EMPTY} OK: Interface 'lo' Status : up (admin: up) @@ -47,7 +47,7 @@ Interfaces by id regexp ${tc} ... --regex-id ... ${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 extra_options expected_result -- ... 1 ^1$ ${EMPTY} OK: Interface 'lo' Status : up (admin: up) diff --git a/tests/os/linux/snmp/processcount.robot b/tests/os/linux/snmp/processcount.robot index 4ed4598ea..f63e99dd5 100644 --- a/tests/os/linux/snmp/processcount.robot +++ b/tests/os/linux/snmp/processcount.robot @@ -24,7 +24,7 @@ processcount ${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 --critical-cpu-total OK: Number of current processes running: 86 | 'nbproc'=86;;;0; diff --git a/tests/os/linux/snmp/storage.robot b/tests/os/linux/snmp/storage.robot index 2eb6dada5..cb83e56bb 100644 --- a/tests/os/linux/snmp/storage.robot +++ b/tests/os/linux/snmp/storage.robot @@ -24,7 +24,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 --filter-duplicate='' OK: All storages are ok | 'count'=5;;;0; 'used_/run'=532480B;;;0;206262272 'used_/'=7394013184B;;;0;105088212992 'used_/dev/shm'=0B;;;0;1031299072 'used_/run/lock'=0B;;;0;5242880 'used_/run/user/0'=0B;;;0;206258176 diff --git a/tests/os/linux/snmp/swap.robot b/tests/os/linux/snmp/swap.robot index 4ff0180c4..99500c3ef 100644 --- a/tests/os/linux/snmp/swap.robot +++ b/tests/os/linux/snmp/swap.robot @@ -30,7 +30,7 @@ swap ${tc} ... --critical-usage-free=${critical-usage-free} ... --critical-usage-prct=${critical-usage-prct} - 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 no-swap warning-usage warning-usage-free warning-usage-prct critical-usage critical-usage-free critical-usage-prct expected_result -- ... 1 ${EMPTY} ${EMPTY} ${EMPTY} '10' ${EMPTY} ${EMPTY} '30' OK: Swap Total: 976.00 MB Used: 0.00 B (0.00%) Free: 976.00 MB (100.00%) | 'used'=0B;;;0;1023406080 'free'=1023406080B;;;0;1023406080 'used_prct'=0.00%;0:10;0:30;0;100 diff --git a/tests/os/linux/snmp/udpcon.robot b/tests/os/linux/snmp/udpcon.robot index 37149ea7f..2ae62da71 100644 --- a/tests/os/linux/snmp/udpcon.robot +++ b/tests/os/linux/snmp/udpcon.robot @@ -23,7 +23,7 @@ udpcon ${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: Total connections: 7 | 'service_total'=7;;;0; 'con_listen'=7;;;0; diff --git a/tests/os/linux/snmp/uptime.robot b/tests/os/linux/snmp/uptime.robot index 5ba1fec0c..aa1986589 100644 --- a/tests/os/linux/snmp/uptime.robot +++ b/tests/os/linux/snmp/uptime.robot @@ -24,7 +24,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 --warning-uptime='2' WARNING: System uptime is: 38m 39s | 'uptime'=2319.00s;0:2;;0; diff --git a/tests/os/windows/snmp/cpu.robot b/tests/os/windows/snmp/cpu.robot index da73a4b74..f8a9f91f9 100644 --- a/tests/os/windows/snmp/cpu.robot +++ b/tests/os/windows/snmp/cpu.robot @@ -27,7 +27,7 @@ cpu ${tc} ... --warning-core=${warning-core} ... --critical-core=${critical-core} - 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 critical-average warning-average warning-core critical-core expected_result -- ... 2 '90' '80' ${EMPTY} ${EMPTY} OK: 2 CPU(s) average usage is 0.50 % | 'total_cpu_avg'=0.50%;0:80;0:90;0;100 'cpu_0'=1.00%;;;0;100 'cpu_1'=0.00%;;;0;100 diff --git a/tests/os/windows/snmp/interfaces.robot b/tests/os/windows/snmp/interfaces.robot index d7c387694..d0953cf52 100644 --- a/tests/os/windows/snmp/interfaces.robot +++ b/tests/os/windows/snmp/interfaces.robot @@ -24,7 +24,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 --verbose CRITICAL: Interface 'Anonymized 232' Status : down (admin: up) - Interface 'Anonymized 184' Status : down (admin: up) - Interface 'Anonymized 101' Status : down (admin: up) - Interface 'Anonymized 012' Status : down (admin: up) - Interface 'Anonymized 232' Status : down (admin: up) - Interface 'Anonymized 072' Status : down (admin: up)${SPACE}Interface 'Anonymized 250' Status : up (admin: up)${SPACE}Interface 'Anonymized 012' Status : notPresent (admin: down)${SPACE}Interface 'Anonymized 118' Status : notPresent (admin: down)${SPACE}Interface 'Anonymized 073' Status : up (admin: up)${SPACE}Interface 'Anonymized 071' Status : up (admin: up)${SPACE}Interface 'Anonymized 073' Status : up (admin: up)${SPACE}Interface 'Anonymized 232' Status : down (admin: up)${SPACE}Interface 'Anonymized 191' Status : up (admin: up)${SPACE}Interface 'Anonymized 242' Status : up (admin: up)${SPACE}Interface 'Anonymized 175' Status : up (admin: up)${SPACE}Interface 'Anonymized 128' Status : up (admin: up)${SPACE}Interface 'Anonymized 037' Status : notPresent (admin: down)${SPACE}Interface 'Anonymized 080' Status : up (admin: up)${SPACE}Interface 'Anonymized 229' Status : up (admin: up)${SPACE}Interface 'Anonymized 248' Status : up (admin: up)${SPACE}Interface 'Anonymized 092' Status : up (admin: up)${SPACE}Interface 'Anonymized 187' Status : up (admin: up)${SPACE}Interface 'Anonymized 184' Status : down (admin: up)${SPACE}Interface 'Anonymized 101' Status : down (admin: up)${SPACE}Interface 'Anonymized 252' Status : notPresent (admin: down)${SPACE}Interface 'Anonymized 012' Status : down (admin: up)${SPACE}Interface 'Anonymized 232' Status : down (admin: up)${SPACE}Interface 'Anonymized 072' Status : down (admin: up)${SPACE}Interface 'Anonymized 037' Status : up (admin: up) diff --git a/tests/os/windows/snmp/list-interfaces.robot b/tests/os/windows/snmp/list-interfaces.robot index 78a8c9bf4..7e5949e26 100644 --- a/tests/os/windows/snmp/list-interfaces.robot +++ b/tests/os/windows/snmp/list-interfaces.robot @@ -22,7 +22,7 @@ list-interfaces ${tc} ... --snmp-community=os/windows/snmp/list-interfaces ... ${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 --add-extra-oid='alias,.1.3.6.1.2.1.31.1.1.1.18' List interfaces:${SPACE}'loopback_0' [speed = 1073][status = up][id = 1][alias = Loopback Pseudo-Interface 1][type = softwareLoopback] diff --git a/tests/os/windows/snmp/list-services.robot b/tests/os/windows/snmp/list-services.robot index 9c769895e..e32d31f8b 100644 --- a/tests/os/windows/snmp/list-services.robot +++ b/tests/os/windows/snmp/list-services.robot @@ -23,7 +23,7 @@ list-services ${tc} ... --snmp-community=os/windows/snmp/services-en ... ${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='Windows Security Service' List services: [name = Windows Security Service] [operating = active] [installed = installed] diff --git a/tests/os/windows/snmp/list-storages.robot b/tests/os/windows/snmp/list-storages.robot index 4e317613f..19bb7daac 100644 --- a/tests/os/windows/snmp/list-storages.robot +++ b/tests/os/windows/snmp/list-storages.robot @@ -24,7 +24,7 @@ list-storages ${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 --display-transform-src='dev' List storage: 'Serial Number 5a987053' [size = 63720910848B] [id = 1] Skipping storage 'D:\\\\ Label:SSS_X64FRE_FR-FR_DV9 Serial Number cf70e675': no type or no matching filter type Skipping storage 'Virtual Memory': no type or no matching filter type Skipping storage 'Physical Memory': no type or no matching filter type diff --git a/tests/os/windows/snmp/memory.robot b/tests/os/windows/snmp/memory.robot index f9103764c..161fa1a95 100644 --- a/tests/os/windows/snmp/memory.robot +++ b/tests/os/windows/snmp/memory.robot @@ -24,7 +24,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 --verbose OK: Ram Total: 4.00GB Used: 557.94MB (13.62%) Free: 3.45GB (86.38%) | 'used'=585039872B;;;0;4294377472 diff --git a/tests/os/windows/snmp/processcount.robot b/tests/os/windows/snmp/processcount.robot index 7cb8971a4..9901203b5 100644 --- a/tests/os/windows/snmp/processcount.robot +++ b/tests/os/windows/snmp/processcount.robot @@ -24,7 +24,7 @@ processcount ${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 --critical-cpu-total OK: Number of current processes running: 317 | 'nbproc'=317;;;0; diff --git a/tests/os/windows/snmp/services-en.robot b/tests/os/windows/snmp/services-en.robot index 8fe4c3a1a..e8dee42a7 100644 --- a/tests/os/windows/snmp/services-en.robot +++ b/tests/os/windows/snmp/services-en.robot @@ -25,7 +25,7 @@ Windows Services EN ${tc} ... --filter-name='${filter}' ... ${extra_option} - 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 extra_option expected_result -- ... 1 ${EMPTY} ${EMPTY} OK: All services are ok | 'services.total.count'=168;;;0; 'services.active.count'=168;;;0; 'services.continue.pending.count'=0;;;0; 'services.pause.pending.count'=0;;;0; 'services.paused.count'=0;;;0; diff --git a/tests/os/windows/snmp/storage.robot b/tests/os/windows/snmp/storage.robot index 34c44de5a..793d78f40 100644 --- a/tests/os/windows/snmp/storage.robot +++ b/tests/os/windows/snmp/storage.robot @@ -24,7 +24,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 --filter-storage-type OK: All storages are ok | 'count'=4;;;0; 'used_Serial Number 5a987053'=31299354624B;;;0;63720910848 'used_D:\\\\ Label:SSS_X64FRE_FR-FR_DV9 Serial Number cf70e675'=5566558208B;;;0;5566558208 'used_Virtual Memory'=493027328B;;;0;5099683840 'used_Physical Memory'=585039872B;;;0;4294377472 diff --git a/tests/os/windows/snmp/swap.robot b/tests/os/windows/snmp/swap.robot index 652a1ba32..5ba53a58d 100644 --- a/tests/os/windows/snmp/swap.robot +++ b/tests/os/windows/snmp/swap.robot @@ -23,7 +23,7 @@ swap ${tc} ... --snmp-community=os/windows/snmp/windows_anon ... ${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 --real-swap=0 OK: Swap Total: 4.75 GB Used: 470.19 MB (9.67%) Free: 4.29 GB (90.33%) | 'used'=493027328B;;;0;5099683840 diff --git a/tests/os/windows/snmp/uptime.robot b/tests/os/windows/snmp/uptime.robot index 07eb741b0..4a30725f6 100644 --- a/tests/os/windows/snmp/uptime.robot +++ b/tests/os/windows/snmp/uptime.robot @@ -25,7 +25,7 @@ uptime ${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 -- diff --git a/tests/resources/resources.resource b/tests/resources/resources.resource index d8c67a3ab..5736cfdd6 100644 --- a/tests/resources/resources.resource +++ b/tests/resources/resources.resource @@ -72,8 +72,8 @@ Stop Connector Remove File /tmp/connector.log Ctn Stop Connector -Ctn Run Command And Check Result As Regexp - [Arguments] ${command} ${expected_result} +Ctn Run Command Without Connector And Check Result As Regexp + [Arguments] ${tc} ${command} ${expected_result} ${output} Run ${command} ${output} Strip String ${output} Should Match Regexp @@ -82,8 +82,8 @@ Ctn Run Command And Check Result As Regexp ... Wrong output result for command:\n${command}\n\nObtained:\n${output}\n\nExpected regular expression:\n${expected_result}\n ... values=False -Ctn Run Command And Check Result As Strings - [Arguments] ${command} ${expected_result} +Ctn Run Command Without Connector And Check Result As Strings + [Arguments] ${tc} ${command} ${expected_result} ${output} Run ${command} ${output} Strip String ${output} Should Be Equal As Strings @@ -93,8 +93,8 @@ Ctn Run Command And Check Result As Strings ... values=False ... collapse_spaces=True -Ctn Verify Command Output - [Arguments] ${command} ${expected_result} +Ctn Verify Command Without Connector Output + [Arguments] ${tc} ${command} ${expected_result} ${output} Run ${command} ${output} Strip String ${output} Should Contain @@ -108,7 +108,6 @@ Ctn Run Command With Connector And Check Result As Strings [Arguments] ${tc} ${command} ${expected_result} ${timeout}=${TIMEOUT} Remove File /tmp/connector.output Remove File /tmp/connector.command.log -# Ctn Start Connector Ctn Send To Connector ${tc} ${command} ${timeout} # 1. Extract the result from the log and write to /tmp/connector.output Ctn Extract Result From Log ${tc} @@ -119,12 +118,10 @@ Ctn Run Command With Connector And Check Result As Strings Should Be Equal As Strings ${output} ${expected_result} - Ctn Run Command With Connector And Check Result As Regexp [Arguments] ${tc} ${command} ${expected_result} ${timeout}=${TIMEOUT} Remove File /tmp/connector.output Remove File /tmp/connector.command.log -# Ctn Start Connector Ctn Send To Connector ${tc} ${command} ${timeout} # 1. Extract the result from the log and write to /tmp/connector.output Ctn Extract Result From Log ${tc} @@ -146,6 +143,27 @@ Ctn Run Command With Connector And Check Multiline Result ${output} Strip String ${output} Should Be Equal As Strings ${output} ${expected_result} + +Run Command And Check Result As Strings + [Arguments] ${tc} ${command} ${expected_result} ${timeout}=${TIMEOUT} + Remove File /tmp/connector.output + Remove File /tmp/connector.command.log + IF "centreon_plugins.pl" in $command + Ctn Run Command Without Connector And Check Result As Strings ${tc} ${command} ${expected_result} + ELSE + Ctn Run Command With Connector And Check Result As Strings ${tc} ${command} ${expected_result} ${timeout} + END + +Run Command And Check Result As Regexp + [Arguments] ${tc} ${command} ${expected_result} ${timeout}=${TIMEOUT} + Remove File /tmp/connector.output + Remove File /tmp/connector.command.log + IF "centreon_plugins.pl" in $command + Ctn Run Command Without Connector And Check Result As Regexp ${tc} ${command} ${expected_result} + ELSE + Ctn Run Command With Connector And Check Result As Regexp ${tc} ${command} ${expected_result} ${timeout} + END + Ctn Run Command And Check Result As Json [Arguments] ${command} ${expected} Log To Console ${command} diff --git a/tests/storage/datacore/restapi/alert-count.robot b/tests/storage/datacore/restapi/alert-count.robot index 3752916ff..e02b6f7ab 100644 --- a/tests/storage/datacore/restapi/alert-count.robot +++ b/tests/storage/datacore/restapi/alert-count.robot @@ -26,7 +26,7 @@ Datacore check alert count ${tc} ... --warning-warning=${warning-warning} ... --critical-warning=${critical-warning} - 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-error critical-error warning-warning critical-warning expected_result -- ... 1 0 1 5 5 WARNING: number of error alerts : 1 | 'datacore.event.error.count'=1;0:0;0:1;0; 'datacore.alerts.warning.count'=1;0:5;0:5;0; 'datacore.alerts.info.count'=0;;;0; 'datacore.alerts.trace.count'=0;;;0; diff --git a/tests/storage/datacore/restapi/pool-usage.robot b/tests/storage/datacore/restapi/pool-usage.robot index 08c3a7145..5e7da0696 100644 --- a/tests/storage/datacore/restapi/pool-usage.robot +++ b/tests/storage/datacore/restapi/pool-usage.robot @@ -27,7 +27,7 @@ Datacore check pool usage ${tc} ... --critical-bytesallocatedpercentage=${critical-bytesallocatedpercentage} ... --pool-id=B5C140F5-6B13-4CAD-AF9D-F7C4172B3A1D:{4dec1b5a-2577-11e5-80c3-00155d651622} - 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-bytesallocatedpercentage critical-bytesallocatedpercentage warning-oversubscribed critical-oversubscribed expected_result -- ... 1 2 5 -1 3 CRITICAL: Bytes Allocated : 12 % WARNING: Over subscribed bytes : 0 | 'datacore.pool.bytesallocated.percentage'=12%;0:2;0:5;0;100 'datacore.pool.oversubscribed.bytes'=0bytes;0:-1;0:3;0; diff --git a/tests/storage/datacore/restapi/status-monitor.robot b/tests/storage/datacore/restapi/status-monitor.robot index b1372fed4..55ca94879 100644 --- a/tests/storage/datacore/restapi/status-monitor.robot +++ b/tests/storage/datacore/restapi/status-monitor.robot @@ -23,7 +23,7 @@ Datacore check status monitor ${tc} ... --mode=status-monitor ... --statefile-dir=/dev/shm/ - 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 CRITICAL: 'State of HostVM2' status : 'Critical', message is 'Connected' diff --git a/tests/storage/emc/datadomain/snmp/alerts.robot b/tests/storage/emc/datadomain/snmp/alerts.robot index 93a124fc2..555828d3c 100644 --- a/tests/storage/emc/datadomain/snmp/alerts.robot +++ b/tests/storage/emc/datadomain/snmp/alerts.robot @@ -24,7 +24,7 @@ alerts ${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 --truly-alert='\\\%{severity} =~ /emergency|alert|warning|critical/i' OK: current alerts: 0 | 'alerts.current.count'=0;;;0; diff --git a/tests/storage/emc/datadomain/snmp/cleaning.robot b/tests/storage/emc/datadomain/snmp/cleaning.robot index 5076884c8..2625c3476 100644 --- a/tests/storage/emc/datadomain/snmp/cleaning.robot +++ b/tests/storage/emc/datadomain/snmp/cleaning.robot @@ -27,7 +27,7 @@ cleaning ${tc} # first run to build cache Run ${command} # second run to control the output - 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 snmp_community expected_result -- diff --git a/tests/storage/emc/datadomain/snmp/filesystems.robot b/tests/storage/emc/datadomain/snmp/filesystems.robot index cf78950d7..b3e47315a 100644 --- a/tests/storage/emc/datadomain/snmp/filesystems.robot +++ b/tests/storage/emc/datadomain/snmp/filesystems.robot @@ -24,7 +24,7 @@ filesystems ${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 filesystems are ok | 'filesystems.detected.count'=5;;;0; '/ddvar#filesystem.space.usage.bytes'=11274289152B;;;0;50036368998 '/ddvar#filesystem.space.free.bytes'=38762079846B;;;0;50036368998 '/ddvar#filesystem.space.usage.percentage'=22.53%;;;0;100 '/ddvar#filesystem.space.cleanable.bytes'=0B;;;0; '/ddvar/core#filesystem.space.usage.bytes'=107374182B;;;0;584867171532 '/ddvar/core#filesystem.space.free.bytes'=584759797350B;;;0;584867171532 '/ddvar/core#filesystem.space.usage.percentage'=0.02%;;;0;100 '/ddvar/core#filesystem.space.cleanable.bytes'=0B;;;0; 'Anonymized 056#filesystem.space.usage.bytes'=53328461430784B;;;0;90263462189465 'Anonymized 056#filesystem.space.free.bytes'=36935000758681B;;;0;90263462189465 'Anonymized 056#filesystem.space.usage.percentage'=59.08%;;;0;100 'Anonymized 056#filesystem.space.cleanable.bytes'=145169894604B;;;0; 'Anonymized 157#filesystem.space.usage.bytes'=533971809075B;;;0;755377373183 'Anonymized 157#filesystem.space.free.bytes'=221405564108B;;;0;755377373183 'Anonymized 157#filesystem.space.usage.percentage'=70.69%;;;0;100 'Anonymized 157#filesystem.space.cleanable.bytes'=0B;;;0; 'Anonymized 246#filesystem.space.usage.bytes'=988878746314342B;;;0;988878746314342 'Anonymized 246#filesystem.space.free.bytes'=0B;;;0;988878746314342 'Anonymized 246#filesystem.space.usage.percentage'=100.00%;;;0;100 'Anonymized 246#filesystem.space.cleanable.bytes'=0B;;;0; checking filesystem '/ddvar' space usage total: 46.60 GB used: 10.50 GB (22.53%) free: 36.10 GB (77.47%) space cleanable: 0.00B checking filesystem '/ddvar/core' space usage total: 544.70 GB used: 102.40 MB (0.02%) free: 544.60 GB (99.98%) space cleanable: 0.00B checking filesystem 'Anonymized 056' space usage total: 82.09 TB used: 48.50 TB (59.08%) free: 33.59 TB (40.92%) space cleanable: 135.20GB checking filesystem 'Anonymized 157' space usage total: 703.50 GB used: 497.30 GB (70.69%) free: 206.20 GB (29.31%) space cleanable: 0.00B checking filesystem 'Anonymized 246' space usage total: 899.38 TB used: 899.38 TB (100.00%) free: 0.00 B (0.00%) space cleanable: 0.00B diff --git a/tests/storage/emc/datadomain/snmp/hardware.robot b/tests/storage/emc/datadomain/snmp/hardware.robot index cf4c61b9e..4bc294304 100644 --- a/tests/storage/emc/datadomain/snmp/hardware.robot +++ b/tests/storage/emc/datadomain/snmp/hardware.robot @@ -24,7 +24,7 @@ Hardware ${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 --verbose UNKNOWN: Disk '4.1' status is 'unknown' - Disk '4.2' status is 'unknown' - Disk '4.3' status is 'unknown' - Disk '4.4' status is 'unknown' - Disk '4.5' status is 'unknown' - Disk '4.6' status is 'unknown' - Disk '4.7' status is 'unknown' - Disk '4.8' status is 'unknown' - Disk '4.9' status is 'unknown' - Disk '4.10' status is 'unknown' - Disk '4.11' status is 'unknown' - Disk '4.12' status is 'unknown' - Disk '4.13' status is 'unknown' - Disk '4.14' status is 'unknown' - Disk '4.15' status is 'unknown' diff --git a/tests/storage/emc/datadomain/snmp/interfaces.robot b/tests/storage/emc/datadomain/snmp/interfaces.robot index 3eda42085..d557ab5cd 100644 --- a/tests/storage/emc/datadomain/snmp/interfaces.robot +++ b/tests/storage/emc/datadomain/snmp/interfaces.robot @@ -24,7 +24,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 --verbose OK: All interfaces are ok Interface 'lo' Status : up (admin: up) Interface 'Anonymized 012' Status : up (admin: up) Interface 'Anonymized 118' Status : down (admin: down) Interface 'Anonymized 073' Status : down (admin: down) Interface 'Anonymized 071' Status : up (admin: up) Interface 'Anonymized 073' Status : up (admin: up) Interface 'Anonymized 232' Status : up (admin: up) Interface 'Anonymized 191' Status : up (admin: up) Interface 'Anonymized 242' Status : up (admin: up) Interface 'Anonymized 175' Status : up (admin: up) Interface 'Anonymized 128' Status : up (admin: up) Interface 'Anonymized 037' Status : down (admin: down) Interface 'Anonymized 184' Status : down (admin: down) Interface 'Anonymized 252' Status : down (admin: down) Interface 'Anonymized 012' Status : down (admin: down) Interface 'Anonymized 232' Status : up (admin: up) Interface 'Anonymized 072' Status : up (admin: up) Interface 'Anonymized 037' Status : up (admin: up) diff --git a/tests/storage/emc/datadomain/snmp/list-filesystems.robot b/tests/storage/emc/datadomain/snmp/list-filesystems.robot index dccc4f651..7e552099e 100644 --- a/tests/storage/emc/datadomain/snmp/list-filesystems.robot +++ b/tests/storage/emc/datadomain/snmp/list-filesystems.robot @@ -24,7 +24,7 @@ list-filesystems ${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 filesystems: [name = /ddvar][total = 50036368998][used = 11274289152] [name = /ddvar/core][total = 584867171532][used = 107374182] [name = Anonymized 056][total = 90263462189465][used = 53328461430784] [name = Anonymized 157][total = 755377373183][used = 533971809075] [name = Anonymized 246][total = 988878746314342][used = 988878746314342] diff --git a/tests/storage/emc/datadomain/snmp/list-mtrees.robot b/tests/storage/emc/datadomain/snmp/list-mtrees.robot index 6e67c3cc6..9ef9030f5 100644 --- a/tests/storage/emc/datadomain/snmp/list-mtrees.robot +++ b/tests/storage/emc/datadomain/snmp/list-mtrees.robot @@ -24,7 +24,7 @@ list-mtrees ${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 MTrees: [name = /data/col1/SQL_prod_DTX][status = readOnly] [name = /data/col1/Veeam_StorageUnit_DTX][status = readOnly] [name = /data/col1/Veeam_StorageUnit_PA6][status = retentionLockEnabled] [name = /data/col1/backup][status = readWrite] [name = /data/col1/cofpr3ubkp01p][status = readWrite] diff --git a/tests/storage/emc/datadomain/snmp/list-replications.robot b/tests/storage/emc/datadomain/snmp/list-replications.robot index bbc66f7b0..31e760cb6 100644 --- a/tests/storage/emc/datadomain/snmp/list-replications.robot +++ b/tests/storage/emc/datadomain/snmp/list-replications.robot @@ -24,7 +24,7 @@ list-replications ${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 replications: [index = 1][type = 1][source = Anonymized 127][destination = Anonymized 057][state = normal][status = idle][initiator = 0] [index = 2][type = 2][source = Anonymized 224][destination = Anonymized 079][state = normal][status = idle][initiator = 0] [index = 3][type = 3][source = Anonymized 016][destination = Anonymized 146][state = normal][status = idle][initiator = 0] diff --git a/tests/storage/emc/datadomain/snmp/mtrees.robot b/tests/storage/emc/datadomain/snmp/mtrees.robot index b8a731b91..76a900db7 100644 --- a/tests/storage/emc/datadomain/snmp/mtrees.robot +++ b/tests/storage/emc/datadomain/snmp/mtrees.robot @@ -24,7 +24,7 @@ mtrees ${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 MTrees are ok | 'mtrees.detected.count'=5;;;0; '/data/col1/SQL_prod_DTX#mtree.precompression.space.usage.bytes'=71739590364364.8B;;;0; '/data/col1/SQL_prod_DTX#mtree.daily.precompression.data.written.bytes'=411672615321B;;;0; '/data/col1/SQL_prod_DTX#mtree.daily.postcompression.data.written.bytes'=4617089843B;;;0; '/data/col1/Veeam_StorageUnit_DTX#mtree.precompression.space.usage.bytes'=633367338103603B;;;0; '/data/col1/Veeam_StorageUnit_DTX#mtree.daily.precompression.data.written.bytes'=1781445060198B;;;0; '/data/col1/Veeam_StorageUnit_DTX#mtree.daily.postcompression.data.written.bytes'=261778256691B;;;0; '/data/col1/Veeam_StorageUnit_PA6#mtree.precompression.space.usage.bytes'=283773213710746B;;;0; '/data/col1/Veeam_StorageUnit_PA6#mtree.daily.precompression.data.written.bytes'=2615957205811B;;;0; '/data/col1/Veeam_StorageUnit_PA6#mtree.daily.postcompression.data.written.bytes'=252651451187B;;;0; '/data/col1/backup#mtree.precompression.space.usage.bytes'=0B;;;0; '/data/col1/backup#mtree.daily.precompression.data.written.bytes'=0B;;;0; '/data/col1/backup#mtree.daily.postcompression.data.written.bytes'=0B;;;0; '/data/col1/cofpr3ubkp01p#mtree.precompression.space.usage.bytes'=0B;;;0; '/data/col1/cofpr3ubkp01p#mtree.daily.precompression.data.written.bytes'=0B;;;0; '/data/col1/cofpr3ubkp01p#mtree.daily.postcompression.data.written.bytes'=0B;;;0; checking MTree '/data/col1/SQL_prod_DTX' status: readOnly space precompression used: 65.25 TB daily data written precompression: 383.40 GB, postcompression: 4.30 GB checking MTree '/data/col1/Veeam_StorageUnit_DTX' status: readOnly space precompression used: 576.04 TB daily data written precompression: 1.62 TB, postcompression: 243.80 GB checking MTree '/data/col1/Veeam_StorageUnit_PA6' status: retentionLockEnabled space precompression used: 258.09 TB daily data written precompression: 2.38 TB, postcompression: 235.30 GB checking MTree '/data/col1/backup' status: readWrite space precompression used: 0.00 B daily data written precompression: 0.00 B, postcompression: 0.00 B checking MTree '/data/col1/cofpr3ubkp01p' status: readWrite space precompression used: 0.00 B daily data written precompression: 0.00 B, postcompression: 0.00 B diff --git a/tests/storage/emc/datadomain/snmp/process.robot b/tests/storage/emc/datadomain/snmp/process.robot index 17922384c..b8010f506 100644 --- a/tests/storage/emc/datadomain/snmp/process.robot +++ b/tests/storage/emc/datadomain/snmp/process.robot @@ -24,7 +24,7 @@ process ${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: NFS status: enabled - CIFS status: enabledRunning - DDBoost status: enabled - VTL process state: stopped [admin state: disabled] diff --git a/tests/storage/emc/datadomain/snmp/replications.robot b/tests/storage/emc/datadomain/snmp/replications.robot index b32d1a8d7..e2506e157 100644 --- a/tests/storage/emc/datadomain/snmp/replications.robot +++ b/tests/storage/emc/datadomain/snmp/replications.robot @@ -24,7 +24,7 @@ replications ${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 --filter-counters='^status$' OK: All replications are ok diff --git a/tests/storage/netapp/ontap/restapi/aggregates.robot b/tests/storage/netapp/ontap/restapi/aggregates.robot index 2e44c0eda..396e5ef0a 100644 --- a/tests/storage/netapp/ontap/restapi/aggregates.robot +++ b/tests/storage/netapp/ontap/restapi/aggregates.robot @@ -28,7 +28,7 @@ Aggregates ${tc} ... ${CMD} ... ${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: Aggregates 'aggregate1' state: online, space usage total: 9.46 GB used: 1.99 MB (0.02%) free: 9.46 GB (100.00%), read iops: 500, write iops: 200, other iops: 100, total iops: 1000, read latency: 500 µs, write latency: 200 µs, other latency: 100 µs, total latency: 1000 µs | 'aggregate1#aggregate.space.usage.bytes'=2088960B;;;0;10156769280 'aggregate1#aggregate.space.free.bytes'=10156560384B;;;0;10156769280 'aggregate1#aggregate.space.usage.percentage'=0.02%;;;0;100 'aggregate1#aggregate.io.read.usage.bytespersecond'=500B/s;;;; 'aggregate1#aggregate.io.write.usage.bytespersecond'=200B/s;;;0; 'aggregate1#aggregate.io.other.usage.bytespersecond'=100B/s;;;0; 'aggregate1#aggregate.io.total.usage.bytespersecond'=1000B/s;;;0; 'aggregate1#aggregate.io.read.usage.iops'=500iops;;;0; 'aggregate1#aggregate.io.write.usage.iops'=200iops;;;0; 'aggregate1#aggregate.io.other.usage.iops'=100iops;;;0; 'aggregate1#aggregate.io.total.usage.iops'=1000iops;;;0; 'aggregate1#aggregate.io.read.latency.microseconds'=500µs;;;0; 'aggregate1#aggregate.io.write.latency.microseconds'=200µs;;;0; 'aggregate1#aggregate.io.other.latency.microseconds'=100µs;;;0; 'aggregate1#aggregate.io.total.latency.microseconds'=1000µs;;;0; diff --git a/tests/storage/netapp/ontap/restapi/cluster.robot b/tests/storage/netapp/ontap/restapi/cluster.robot index d494fb91b..9a6bfe3be 100644 --- a/tests/storage/netapp/ontap/restapi/cluster.robot +++ b/tests/storage/netapp/ontap/restapi/cluster.robot @@ -28,7 +28,7 @@ Cluster ${tc} ... ${CMD} ... ${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: cluster 'cluster1' read : Buffer creation, write : Buffer creation, other : Buffer creation, total : Buffer creation, read iops: 200, write iops: 100, other iops: 100, total iops: 1000, read latency: 200 ms, write latency: 100 ms, other latency: 100 ms, total latency: 1000 ms - node 'node-01' state: online [link status: string] | 'cluster1#cluster.io.read.usage.iops'=200iops;;;0; 'cluster1#cluster.io.write.usage.iops'=100iops;;;0; 'cluster1#cluster.io.other.usage.iops'=100iops;;;0; 'cluster1#cluster.io.total.usage.iops'=1000iops;;;0; 'cluster.io.read.latency.milliseconds'=200ms;;;0; 'cluster1#cluster.io.write.latency.milliseconds'=100ms;;;0; 'cluster.io.other.latency.milliseconds'=100ms;;;0; 'cluster1#cluster.io.total.latency.milliseconds'=1000ms;;;0; diff --git a/tests/storage/netapp/ontap/restapi/hardware.robot b/tests/storage/netapp/ontap/restapi/hardware.robot index daade8f7e..8efac3b10 100644 --- a/tests/storage/netapp/ontap/restapi/hardware.robot +++ b/tests/storage/netapp/ontap/restapi/hardware.robot @@ -28,7 +28,7 @@ Hardware ${tc} ... ${CMD} ... ${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 4 components are ok [1/1 bays, 1/1 disks, 1/1 frus, 1/1 shelfs]. | 'hardware.bay.count'=1;;;; 'hardware.disk.count'=1;;;; 'hardware.fru.count'=1;;;; 'hardware.shelf.count'=1;;;; diff --git a/tests/storage/netapp/ontap/restapi/luns.robot b/tests/storage/netapp/ontap/restapi/luns.robot index 80b9a68af..dda539c27 100644 --- a/tests/storage/netapp/ontap/restapi/luns.robot +++ b/tests/storage/netapp/ontap/restapi/luns.robot @@ -28,7 +28,7 @@ Luns ${tc} ... ${CMD} ... ${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: Lun '/vol/volume1/qtree1/lun1' state: online [container state: string] diff --git a/tests/storage/netapp/ontap/restapi/quotas.robot b/tests/storage/netapp/ontap/restapi/quotas.robot index d17c9fa4f..3d8bfe2a7 100644 --- a/tests/storage/netapp/ontap/restapi/quotas.robot +++ b/tests/storage/netapp/ontap/restapi/quotas.robot @@ -28,7 +28,7 @@ Quotas ${tc} ... ${CMD} ... ${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: Quota 'vserver:svm1,volume:volume1,qtree:qt1' total: 100.00 B used: 50.00 B (50.00%) free: 50.00 B (50.00%) | 'vserver:svm1~volume:volume1~qtree:qt1#quota.space.usage.bytes'=50B;0:90;;0;100 'vserver:svm1~volume:volume1~qtree:qt1#quota.space.free.bytes'=50B;;;0;100 'vserver:svm1~volume:volume1~qtree:qt1#quota.space.usage.percentage'=50.00%;;;0;100 diff --git a/tests/storage/netapp/ontap/restapi/snapmirrors.robot b/tests/storage/netapp/ontap/restapi/snapmirrors.robot index bbee4dd80..a5a745327 100644 --- a/tests/storage/netapp/ontap/restapi/snapmirrors.robot +++ b/tests/storage/netapp/ontap/restapi/snapmirrors.robot @@ -28,7 +28,7 @@ Snapmirrors ${tc} ... ${CMD} ... ${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 --critical-status='' OK: Snapmirror 'svm1:volume1-svm1:volume1' healthy: false [state: snapmirrored] [transfer state: string] diff --git a/tests/storage/netapp/ontap/restapi/volumes.robot b/tests/storage/netapp/ontap/restapi/volumes.robot index 8f963a54f..1a231af61 100644 --- a/tests/storage/netapp/ontap/restapi/volumes.robot +++ b/tests/storage/netapp/ontap/restapi/volumes.robot @@ -28,7 +28,7 @@ Volumes ${tc} ... ${CMD} ... ${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: Volume 'svm1:volume1' state: online, space usage total: 4.00 TB used: 2.82 TB (90.42%) free: 392.42 GB (9.58%), logical-usage : skipped (no value(s)), logical-usage-free : skipped (no value(s)), logical-usage-prct : skipped (no value(s)), read iops: 200, write iops: 100, other iops: 100, total iops: 1000, read latency: 0.2 ms, write latency: 0.1 ms, other latency: 0.1 ms, total latency: 1 ms | 'svm1:volume1#volume.space.usage.bytes'=3097083330560B;;;0;4398046511104 'svm1:volume1#volume.space.free.bytes'=421353881600B;;;0;4398046511104 'svm1:volume1#volume.space.usage.percentage'=90.42%;;;0;100 'svm1:volume1#volume.io.read.usage.bytespersecond'=200B/s;;;; 'svm1:volume1#volume.io.write.usage.bytespersecond'=100B/s;;;0; 'svm1:volume1#volume.io.other.usage.bytespersecond'=100B/s;;;0; 'svm1:volume1#volume.io.total.usage.bytespersecond'=1000B/s;;;0; 'svm1:volume1#volume.io.read.usage.iops'=200iops;;;0; 'svm1:volume1#volume.io.write.usage.iops'=100iops;;;0; 'svm1:volume1#volume.io.other.usage.iops'=100iops;;;0; 'svm1:volume1#volume.io.total.usage.iops'=1000iops;;;0; 'svm1:volume1#volume.io.read.latency.milliseconds'=0.2ms;;;0; 'svm1:volume1#volume.io.write.latency.milliseconds'=0.1ms;;;0; 'svm1:volume1#volume.io.other.latency.milliseconds'=0.1ms;;;0; 'svm1:volume1#volume.io.total.latency.milliseconds'=1ms;;;0; diff --git a/tests/storage/purestorage/flasharray/v2/restapi/alerts.robot b/tests/storage/purestorage/flasharray/v2/restapi/alerts.robot index 8a5589e24..e495e6d2b 100644 --- a/tests/storage/purestorage/flasharray/v2/restapi/alerts.robot +++ b/tests/storage/purestorage/flasharray/v2/restapi/alerts.robot @@ -24,7 +24,7 @@ alerts ${tc} ${command} Catenate ... ${CMD} ... ${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} CRITICAL: 1 problem(s) detected | 'alerts.detected.count'=1;;;0; diff --git a/tests/storage/purestorage/flasharray/v2/restapi/array.robot b/tests/storage/purestorage/flasharray/v2/restapi/array.robot index 17e45f015..9907bfa1d 100644 --- a/tests/storage/purestorage/flasharray/v2/restapi/array.robot +++ b/tests/storage/purestorage/flasharray/v2/restapi/array.robot @@ -25,7 +25,7 @@ arrays ${tc} ${command} Catenate ... ${CMD} ... ${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: Array 'array-1' space usage total: 10.00 TB used: 0.00 B (0.00%) free: 10.00 TB (100.00%) - data reduction: 0.000 - read bytes: 94.48 KB/s, bytes read: 0.00 B, read: 6/s, service usec read operation: 169 µs, usec per read operation: 171 µs, queue usec per read operation: 2 µs, write bytes: 44.68 KB/s, bytes write: 0.00 B, write: 2/s, service usec read operation: 188 µs, usec per write operation: 190 µs, queue usec per write operation: 2 µs | 'array-1#array.space.usage.bytes'=0B;;;0;10995116277760 'array-1#array.space.free.bytes'=10995116277760B;;;0;10995116277760 'array-1#array.space.usage.percentage'=0.00%;;;0;100 'array-1#array.data.reduction.count'=0.000;;;0; 'array-1~5m#array.io.read.usage.bytespersecond'=96748B/s;;;0; 'array-1~5m#array.io.read.usage.bytesperread'=0B;;;0; 'array-1~5m#array.io.read.usage.readspersec'=6/s;;;0; 'array-1~5m#array.io.read.usage.serviceusecperreadop'=169B;;;0; 'array-1~5m#array.io.read.usage.usecperreadop'=171B;;;0; 'array-1~5m#array.io.read.usage.queueusecperreadop'=2B;;;0; 'array-1~5m#array.io.write.usage.bytespersecond'=45754B/s;;;0; 'array-1~5m#array.io.write.usage.bytesperwrite'=0B;;;0; 'array-1~5m#array.io.write.usage.writespersec'=2/s;;;0; 'array-1~5m#array.io.write.usage.serviceusecwriteop'=188B;;;0; 'array-1~5m#array.io.write.usage.usecperwriteop'=190B;;;0; 'array-1~5m#array.io.write.usage.queueusecperwriteop'=2B;;;0; diff --git a/tests/storage/qnap/snmp/hardware.robot b/tests/storage/qnap/snmp/hardware.robot index 61638b2ac..35d94b93d 100644 --- a/tests/storage/qnap/snmp/hardware.robot +++ b/tests/storage/qnap/snmp/hardware.robot @@ -22,7 +22,7 @@ Hardware ${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} CRITICAL: Raid 'Anonymized 241' status is Anonymized 197. UNKNOWN: Disk '7' - 'Anonymized 109' [Anonymized 058] status is Anonymized 095. - Disk '8' - 'Anonymized 206' [Anonymized 133] status is Anonymized 113. - Disk '9' - 'Anonymized 217' [Anonymized 072] status is Anonymized 004. - Disk '10' - 'Anonymized 174' [Anonymized 195] status is Anonymized 169. - Disk '11' - 'Anonymized 201' [Anonymized 184] status is Anonymized 133. - Disk '12' - 'Anonymized 181' [Anonymized 221] status is Anonymized 161. | '1#hardware.disk.temperature.celsius'=24C;;;; '2#hardware.disk.temperature.celsius'=24C;;;; '3#hardware.disk.temperature.celsius'=24C;;;; '4#hardware.disk.temperature.celsius'=24C;;;; '5#hardware.disk.temperature.celsius'=24C;;;; '6#hardware.disk.temperature.celsius'=24C;;;; '1#hardware.fan.speed.rpm'=6286rpm;;;0; '2#hardware.fan.speed.rpm'=6143rpm;;;0; '3#hardware.fan.speed.rpm'=6196rpm;;;0; '1#hardware.powersupply.fan.speed.rpm'=2040rpm;;;0; '1#hardware.powersupply.temperature.celsius'=27C;;;; '2#hardware.powersupply.fan.speed.rpm'=1980rpm;;;0; '2#hardware.powersupply.temperature.celsius'=28C;;;; '3#hardware.powersupply.fan.speed.rpm'=0rpm;;;0; '3#hardware.powersupply.temperature.celsius'=0C;;;; '4#hardware.powersupply.fan.speed.rpm'=0rpm;;;0; '4#hardware.powersupply.temperature.celsius'=0C;;;; 'hardware.disk.count'=6;;;; 'hardware.fan.count'=3;;;; 'hardware.psu.count'=4;;;; 'hardware.raid.count'=1;;;; diff --git a/tests/storage/qnap/snmp/pools.robot b/tests/storage/qnap/snmp/pools.robot index 459fb6d28..4935e9265 100644 --- a/tests/storage/qnap/snmp/pools.robot +++ b/tests/storage/qnap/snmp/pools.robot @@ -22,7 +22,7 @@ Pools ${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: pool '1' status: ready diff --git a/tests/storage/qnap/snmp/volumes.robot b/tests/storage/qnap/snmp/volumes.robot index b58b33f6f..3bc87301e 100644 --- a/tests/storage/qnap/snmp/volumes.robot +++ b/tests/storage/qnap/snmp/volumes.robot @@ -22,7 +22,7 @@ volumes ${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: All volumes are ok diff --git a/tests/storage/synology/snmp/Components.robot b/tests/storage/synology/snmp/Components.robot index 9e1c40c87..70125d143 100644 --- a/tests/storage/synology/snmp/Components.robot +++ b/tests/storage/synology/snmp/Components.robot @@ -20,7 +20,7 @@ Components ${tc} ... --snmp-port=${SNMPPORT} ... --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 snmpcommunity expected_result -- ... 1 storage/synology/snmp/synology-disk-ok OK: All 8 components are ok [2/2 disk, 2/2 fan, 1/1 psu, 2/2 raid, 1/1 system]. | 'Disk 1#hardware.disk.bad_sectors.count'=0;;;0; 'Disk 2#hardware.disk.bad_sectors.count'=0;;;0; 'hardware.disk.count'=2;;;; 'hardware.fan.count'=2;;;; 'hardware.psu.count'=1;;;; 'hardware.raid.count'=2;;;; 'hardware.system.count'=1;;;; diff --git a/tests/storage/synology/snmp/Uptime.robot b/tests/storage/synology/snmp/Uptime.robot index f86a7b9bf..f6857a033 100644 --- a/tests/storage/synology/snmp/Uptime.robot +++ b/tests/storage/synology/snmp/Uptime.robot @@ -22,7 +22,7 @@ Uptime ${tc} ... --warning-uptime=${warning} ... --critical-uptime=${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: tc warning critical expected_result -- ... 1 ${Empty} ${Empty} OK: System uptime is: 46m 5s | 'uptime'=2765.00s;;;0; diff --git a/tests/storage/wd/nas/snmp/hardware.robot b/tests/storage/wd/nas/snmp/hardware.robot index 85e5c8fbb..cd9e5f2bd 100644 --- a/tests/storage/wd/nas/snmp/hardware.robot +++ b/tests/storage/wd/nas/snmp/hardware.robot @@ -21,7 +21,7 @@ Hardware${tc} ... --snmp-community=storage/wd/nas/snmp/nas-wd ... ${extra_option} - 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_option expected_result -- ... 1 --warning-fan-status='\\\%{status} =~ "running"' WARNING: fan '0' status: running | 'system#hardware.temperature.celsius'=34C;;;; 'drive:WD-WCC130163701#hardware.temperature.celsius'=40C;;;; 'drive:WD-WCC4E0HRX2TN#hardware.temperature.celsius'=36C;;;; 'drive:WD-WCC4E6KA8V1T#hardware.temperature.celsius'=37C;;;; 'drive:WD-WCC4E7ZHA6A7#hardware.temperature.celsius'=36C;;;; diff --git a/tests/storage/wd/nas/snmp/listvolumes.robot b/tests/storage/wd/nas/snmp/listvolumes.robot index 9dab15d8f..d51dbdb4e 100644 --- a/tests/storage/wd/nas/snmp/listvolumes.robot +++ b/tests/storage/wd/nas/snmp/listvolumes.robot @@ -21,7 +21,7 @@ listvolumes${tc} ... --snmp-community=storage/wd/nas/snmp/nas-wd ... ${extra_option} - 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_option expected_result -- ... 1 --snmp-tls-their-identity List volumes: [name: Volume_1] [type: ext4] diff --git a/tests/storage/wd/nas/snmp/volumes.robot b/tests/storage/wd/nas/snmp/volumes.robot index e28a8bddf..890b0b90f 100644 --- a/tests/storage/wd/nas/snmp/volumes.robot +++ b/tests/storage/wd/nas/snmp/volumes.robot @@ -21,7 +21,7 @@ Volumes${tc} ... --snmp-community=storage/wd/nas/snmp/nas-wd ... ${extra_option} - 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_option expected_result -- ... 1 --filter-name OK: volume 'Volume_1' space usage total: 7.20 TB used: 5.30 TB (73.61%) free: 1.90 TB (26.39%) | 'Volume_1#volume.space.usage.bytes'=5827411627212B;;;0;7916483719987.2 'Volume_1#volume.space.free.bytes'=2089072092774B;;;0;7916483719987.2 'Volume_1#volume.space.usage.percentage'=73.61%;;;0;100