Fix awplus typo (#8215)

This commit is contained in:
Tony Murray
2018-02-06 22:42:07 -06:00
committed by GitHub
parent 913d6dc641
commit e97c3bcb0c
2 changed files with 1 additions and 2 deletions

View File

@@ -4,6 +4,6 @@ modules:
data:
-
oid: cpuUtilisationStackEntry
data: cpuUtilisationStackAvgLastMinute
value: cpuUtilisationStackAvgLastMinute
num_oid: '.1.3.6.1.4.1.207.8.4.4.3.3.8.1.4.{{ $index }}'
descr: 'Processor {{ $index }}'

View File

@@ -162,7 +162,6 @@ class YamlTest extends TestCase
$required_keys = array('oid', 'num_oid');
$optional_keys = array('value', 'index', 'descr', 'type', 'skip_values', 'snmp_flags', 'entPhysicalIndex');
if ($module == 'processors') {
$optional_keys[] = 'data';
$optional_keys[] = 'precision';
}
$this->checkDiscoveryData($file, $module, $item_data, $required_keys, $optional_keys, $index);