Fixed
Details
Assignee
Patrick SchweizerPatrick SchweizerReporter
John BlakeJohn BlakeFix versions
Priority
Major
Details
Details
Assignee
Patrick Schweizer
Patrick SchweizerReporter
John Blake
John BlakeFix versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created January 15, 2018 at 6:16 PM
Updated July 4, 2018 at 7:26 AM
Resolved July 4, 2018 at 7:26 AM
In an event file, there is the option to match on data in varbinds.
Since the matching needs to have the varbind number AND the value to be matched, those 2 elements should be required. If they are required, the "config-tester" should test for those if one or the other is in the event configuration file.
It currently does not.
for example, this is attempting to match on 2 different varbinds and is correct syntax:
:
<varbind>
<vbnumber>8</vbnumber>
<vbvalue>~.ISDMCDWSS.</vbvalue>
<vbvalue>ISDMCDWSS%</vbvalue>
</varbind>
<varbind>
<vbnumber>4</vbnumber>
<vbvalue>1</vbvalue>
</varbind>
The below is incorrect but the config-test script does not error out.
<varbind>
<vbvalue>~.ISDMCDWSS.</vbvalue>
<vbvalue>ISDMCDWSS%</vbvalue>
</varbind>
<varbind>
<vbnumber>4</vbnumber>
<vbvalue>1</vbvalue>
</varbind>