b23dd769f6d452b4c5c9979d1e59dae0243d9995
[public/netxms.git] / src / agent / subagents / bind9 / src / main / java / com / github / tomaskir / netxms / subagents / bind9 / Parameters.java
1 package com.github.tomaskir.netxms.subagents.bind9;
2
3 import lombok.Getter;
4
5 import java.util.ArrayList;
6 import java.util.List;
7
8 /**
9 * Contains a {@code List<String[]>} of all parameters provided by this Subagent Plugin.<br><br>
10 * Each entry in the list has the following format:<br>
11 * entry[0] - Parameter name<br>
12 * entry[1] - Parameter description<br>
13 * entry[2] - name in bind9 statistics file<br>
14 *
15 * @author Tomas Kirnak
16 * @since 2.1-M1
17 */
18 public final class Parameters {
19
20 @Getter
21 private final List<String[]> list = new ArrayList<>();
22
23 // constructor
24 Parameters() {
25 list.add(new String[]{
26 "bind9.Requests.Received.IPv4",
27 "Received IPv4 requests since bind9 started",
28 "IPv4 requests received"
29 });
30 list.add(new String[]{
31 "bind9.Requests.Received.IPv6",
32 "Received IPv6 requests since bind9 started",
33 "IPv6 requests received"
34 });
35 list.add(new String[]{
36 "bind9.Requests.Recursive.Rejected",
37 "Rejected recursive queries since bind9 started",
38 "recursive queries rejected"
39 });
40 list.add(new String[]{
41 "bind9.Answers.Auth",
42 "Queries that resulted in an authoritative answer since bind9 started",
43 "queries resulted in authoritative answer"
44 });
45 list.add(new String[]{
46 "bind9.Answers.NonAuth",
47 "Queries that resulted in a non-authoritative answer since bind9 started",
48 "queries resulted in non authoritative answer"
49 });
50 list.add(new String[]{
51 "bind9.Answers.nxrrset",
52 "Queries that resulted in a nxrrset answer since bind9 started",
53 "queries resulted in nxrrset"
54 });
55 list.add(new String[]{
56 "bind9.Answers.SERVFAIL",
57 "Queries that resulted in a SERVFAIL answer since bind9 started",
58 "queries resulted in SERVFAIL"
59 });
60 list.add(new String[]{
61 "bind9.Answers.NXDOMAIN",
62 "Queries that resulted in a NXDOMAIN answer since bind9 started",
63 "queries resulted in NXDOMAIN"
64 });
65 list.add(new String[]{
66 "bind9.Answers.Recursive",
67 "Queries that caused recursion since bind9 started",
68 "queries caused recursion"
69 });
70 list.add(new String[]{
71 "bind9.Requests.Failed.Other",
72 "Other query failures since bind9 started",
73 "other query failures"
74 });
75 list.add(new String[]{
76 "bind9.Notifies.Sent.IPv4",
77 "Sent IPv4 notifies since bind9 started",
78 "IPv4 notifies sent"
79 });
80 list.add(new String[]{
81 "bind9.Notifies.Sent.IPv6",
82 "Sent IPv6 notifies since bind9 started",
83 "IPv6 notifies sent"
84 });
85 list.add(new String[]{
86 "bind9.Notifies.Received.IPv4",
87 "Received IPv4 notifies since bind9 started",
88 "IPv4 notifies received"
89 });
90 list.add(new String[]{
91 "bind9.Notifies.Received.IPv6",
92 "Received IPv6 notifies since bind9 started",
93 "IPv6 notifies received"
94 });
95 }
96
97 }