| 1 |
*** Settings *** |
| 2 |
Documentation hardware mode |
| 3 |
Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}..${/}resources/import.resource |
| 4 |
|
| 5 |
Test Timeout 120s |
| 6 |
|
| 7 |
|
| 8 |
*** Variables *** |
| 9 |
${SNMPCOMMUNITY} hardware/kvm/avocent/acs/8000/avocent8000 |
| 10 |
|
| 11 |
|
| 12 |
*** Test Cases *** |
| 13 |
Hardware |
| 14 |
[Tags] hardware kvm avocent hardware-mode snmp |
| 15 |
${output} Run Avocent 8000 Plugin "hardware" "" |
| 16 |
|
| 17 |
${output} Strip String ${output} |
| 18 |
Should Be Equal As Strings |
| 19 |
... ${output} |
| 20 |
... OK: All 2 components are ok [2/2 psus]. | 'hardware.psu.count'=2;;;; |
| 21 |
... Wrong output result for command:{\n}${output}{\n}{\n}{\n} |
| 22 |
|
| 23 |
*** Keywords *** |
| 24 |
Run Avocent 8000 Plugin |
| 25 |
[Arguments] ${mode} ${extraoptions} |
| 26 |
${command} Catenate |
| 27 |
... ${CENTREON_PLUGINS} |
| 28 |
... --plugin=hardware::kvm::avocent::acs::8000::snmp::plugin |
| 29 |
... --mode=${mode} |
| 30 |
... --hostname=${HOSTNAME} |
| 31 |
... --snmp-version=${SNMPVERSION} |
| 32 |
... --snmp-port=${SNMPPORT} |
| 33 |
... --snmp-community=${SNMPCOMMUNITY} |
| 34 |
... ${extraoptions} |
| 35 |
|
| 36 |
${output} Run ${command} |
| 37 |
RETURN ${output} |