aboutsummaryrefslogtreecommitdiffstats
path: root/UniversalVesAdapter/src/main/resources/MapperConfigFullFormat.json
blob: 059dc2eeb5d3ee7e00bae387c5c1dcacd1537352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
	"entries" : [
		{
			"priority" : 1,
			"evaluation" : {
					"operand" : "EQUALS",
					"field" : "notify OID",
					"value" : ".1.3.6.1.4.1.74.2.46.12.1.1",
					"datatype" : "string",
					"lhs" : null,
					"rhs" : null	
				},
			"result" : "snmpTrapToVes.xml"
		},
		{
			"priority" : 2,
			"evaluation" : {
				"operand" : "AND",
				"field" : null,
				"value" : null,
				"datatype" : null,
				"lhs" : {
					"operand" : "OR",
					"field" : null,
					"value" : null,
					"datatype" : null,
					"lhs" : {
						"operand" : "EQUALS",
						"field" : "domain",
						"value" : "snmp-heartbeat",
						"datatype" : "string",
						"lhs" : null,
						"rhs" : null
					},
					"rhs" : {
						"operand" : "EQUALS",
						"field" : "domain",
						"value" : "snmp-fault",
						"datatype" : "string",
						"lhs" : null,
						"rhs" : null						
					}
				},
				"rhs" : {
					"operand" : "EQUALS",
					"field" : "trap version",
					"value" : "1.2",
					"datatype" : "float",
					"lhs" : null,
					"rhs" : null	
				}
			},
			"result" : "smooks.config"
		}		
	]
}