-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
*** Settings *** | ||
Documentation Hardware Video Appeartv Alarms | ||
Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}..${/}resources/import.resource | ||
|
||
Suite Setup Ctn Generic Suite Setup | ||
Test Timeout 120s | ||
|
||
|
||
*** Variables *** | ||
${CMD} ${CENTREON_PLUGINS} | ||
... --plugin=hardware::devices::video::appeartv::snmp::plugin | ||
... --mode=alarms | ||
... --hostname=${HOSTNAME} | ||
... --snmp-port=${SNMPPORT} | ||
... --snmp-community=hardware/devices/video/appeartv/snmp/appeartv | ||
|
||
*** Test Cases *** | ||
Avigilon camera Memory ${tc}/3 | ||
[Documentation] Hardware Video AppeartTV Alarms | ||
[Tags] hardware appeartv alarms | ||
${command} Catenate | ||
... ${CMD} | ||
... --verbose | ||
|
||
Ctn Run Command And Check Result As Strings ${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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.1.3.6.1.4.1.23916.3.1.4.1.3.0 = STRING: "Alarm 1" | ||
.1.3.6.1.4.1.23916.3.1.4.1.4.0 = STRING: "Disconnected sound" | ||
.1.3.6.1.4.1.23916.3.1.4.1.6.0 = STRING: "2024-09-16 14:49:18" | ||
.1.3.6.1.4.1.23916.3.1.4.1.13.0 = INTEGER: 1 |