Commit | Line | Data |
---|---|---|
c1142e46 VK |
1 | -- |
2 | -- System-defined events | |
3 | -- | |
4 | ||
5 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
6 | ( | |
7 | 1, 0, 1, | |
8 | 'Node added', | |
9 | 'Generated when new node object added to the database.\n' | |
10 | 'Parameters:\n' | |
11 | ' No message-specific parameters' | |
12 | ); | |
13 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
14 | ( | |
15 | 2, 0, 1, | |
16 | 'Subnet added', | |
17 | 'Generated when new subnet object added to the database.\n' | |
18 | 'Parameters:\n' | |
19 | ' No message-specific parameters' | |
20 | ); | |
21 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
22 | ( | |
23 | 3, 0, 1, | |
24 | 'Interface %2 added (IP Addr: %3/%4, IfIndex: %5)', | |
25 | 'Generated when new interface object added to the database.\n' | |
26 | 'Please note that source of event is node, not an interface itself.\n' | |
27 | 'Parameters:\n' | |
28 | ' 1) Interface object ID\n' | |
29 | ' 2) Interface name\n' | |
30 | ' 3) Interface IP address\n' | |
31 | ' 4) Interface netmask\n' | |
32 | ' 5) Interface index' | |
33 | ); | |
071a9d0a VK |
34 | INSERT INTO events (id,severity,flags,message,description) VALUES |
35 | ( | |
36 | 4, 0, 1, | |
37 | 'Interface %2 changed state to UP (IP Addr: %3/%4, IfIndex: %5)', | |
38 | 'Generated when interface goes up.\n' | |
39 | 'Please note that source of event is node, not an interface itself.\n' | |
40 | 'Parameters:\n' | |
41 | ' 1) Interface object ID\n' | |
42 | ' 2) Interface name\n' | |
43 | ' 3) Interface IP address\n' | |
44 | ' 4) Interface netmask\n' | |
45 | ' 5) Interface index' | |
46 | ); | |
47 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
48 | ( | |
49 | 5, 2, 1, | |
50 | 'Interface %2 changed state to DOWN (IP Addr: %3/%4, IfIndex: %5)', | |
51 | 'Generated when interface goes down.\n' | |
52 | 'Please note that source of event is node, not an interface itself.\n' | |
53 | 'Parameters:\n' | |
54 | ' 1) Interface object ID\n' | |
55 | ' 2) Interface name\n' | |
56 | ' 3) Interface IP address\n' | |
57 | ' 4) Interface netmask\n' | |
58 | ' 5) Interface index' | |
59 | ); | |
60 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
61 | ( | |
62 | 6, 0, 1, | |
63 | 'Node status changed to NORMAL', | |
64 | 'Generated when node status changed to normal.\n' | |
65 | 'Parameters:\n' | |
66 | ' 1) Previous node status' | |
67 | ); | |
68 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
69 | ( | |
9b057805 | 70 | 7, 1, 1, |
8bf20f8c VK |
71 | 'Node status changed to MINOR', |
72 | 'Generated when node status changed to "Minor Problem" (informational).\n' | |
071a9d0a VK |
73 | 'Parameters:\n' |
74 | ' 1) Previous node status' | |
75 | ); | |
76 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
77 | ( | |
9b057805 | 78 | 8, 2, 1, |
071a9d0a | 79 | 'Node status changed to WARNING', |
8bf20f8c | 80 | 'Generated when node status changed to "Warning".\n' |
071a9d0a VK |
81 | 'Parameters:\n' |
82 | ' 1) Previous node status' | |
83 | ); | |
84 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
85 | ( | |
9b057805 | 86 | 9, 3, 1, |
8bf20f8c VK |
87 | 'Node status changed to MAJOR', |
88 | 'Generated when node status changed to "Major Problem".\n' | |
071a9d0a VK |
89 | 'Parameters:\n' |
90 | ' 1) Previous node status' | |
91 | ); | |
c1142e46 VK |
92 | INSERT INTO events (id,severity,flags,message,description) VALUES |
93 | ( | |
9b057805 | 94 | 10, 4, 1, |
071a9d0a VK |
95 | 'Node status changed to CRITICAL', |
96 | 'Generated when node status changed to critical.\n' | |
97 | 'Parameters:\n' | |
98 | ' 1) Previous node status' | |
99 | ); | |
100 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
101 | ( | |
102 | 11, 0, 1, | |
103 | 'Node status changed to UNKNOWN', | |
104 | 'Generated when node status changed to unknown.\n' | |
105 | 'Parameters:\n' | |
106 | ' 1) Previous node status' | |
107 | ); | |
108 | INSERT INTO events (id,severity,flags,message,description) VALUES | |
109 | ( | |
110 | 12, 0, 1, | |
111 | 'Node status changed to UNMANAGED', | |
112 | 'Generated when node status changed to unmanaged.\n' | |
113 | 'Parameters:\n' | |
114 | ' 1) Previous node status' | |
c1142e46 | 115 | ); |