- Added component locks
[public/netxms.git] / sql / events.in
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' CONCAT
10 'Parameters:\n' CONCAT
11 ' No message-specific parameters'
12 );
13 INSERT INTO events (id,severity,flags,message,description) VALUES
14 (
15 2, 0, 0,
16 'Subnet added',
17 'Generated when new subnet object added to the database.\n' CONCAT
18 'Parameters:\n' CONCAT
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' CONCAT
26 'Please note that source of event is node, not an interface itself.\n' CONCAT
27 'Parameters:\n' CONCAT
28 ' 1) Interface object ID\n' CONCAT
29 ' 2) Interface name\n' CONCAT
30 ' 3) Interface IP address\n' CONCAT
31 ' 4) Interface netmask\n' CONCAT
32 ' 5) Interface index'
33 );
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' CONCAT
39 'Please note that source of event is node, not an interface itself.\n' CONCAT
40 'Parameters:\n' CONCAT
41 ' 1) Interface object ID\n' CONCAT
42 ' 2) Interface name\n' CONCAT
43 ' 3) Interface IP address\n' CONCAT
44 ' 4) Interface netmask\n' CONCAT
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' CONCAT
52 'Please note that source of event is node, not an interface itself.\n' CONCAT
53 'Parameters:\n' CONCAT
54 ' 1) Interface object ID\n' CONCAT
55 ' 2) Interface name\n' CONCAT
56 ' 3) Interface IP address\n' CONCAT
57 ' 4) Interface netmask\n' CONCAT
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' CONCAT
65 'Parameters:\n' CONCAT
66 ' 1) Previous node status'
67 );
68 INSERT INTO events (id,severity,flags,message,description) VALUES
69 (
70 7, 1, 1,
71 'Node status changed to MINOR',
72 'Generated when node status changed to "Minor Problem" (informational).\n' CONCAT
73 'Parameters:\n' CONCAT
74 ' 1) Previous node status'
75 );
76 INSERT INTO events (id,severity,flags,message,description) VALUES
77 (
78 8, 2, 1,
79 'Node status changed to WARNING',
80 'Generated when node status changed to "Warning".\n' CONCAT
81 'Parameters:\n' CONCAT
82 ' 1) Previous node status'
83 );
84 INSERT INTO events (id,severity,flags,message,description) VALUES
85 (
86 9, 3, 1,
87 'Node status changed to MAJOR',
88 'Generated when node status changed to "Major Problem".\n' CONCAT
89 'Parameters:\n' CONCAT
90 ' 1) Previous node status'
91 );
92 INSERT INTO events (id,severity,flags,message,description) VALUES
93 (
94 10, 4, 1,
95 'Node status changed to CRITICAL',
96 'Generated when node status changed to critical.\n' CONCAT
97 'Parameters:\n' CONCAT
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' CONCAT
105 'Parameters:\n' CONCAT
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' CONCAT
113 'Parameters:\n' CONCAT
114 ' 1) Previous node status'
115 );
116 INSERT INTO events (id,severity,flags,message,description) VALUES
117 (
118 13, 0, 0,
119 'Node capabilities changed (Old: %1; New: %2)',
120 'Generated when node capabilities changed.\n' CONCAT
121 'Parameters:\n' CONCAT
122 ' 1) Old capabilities' CONCAT
123 ' 2) New capabilities'
124 );
125 INSERT INTO events (id,severity,flags,message,description) VALUES
126 (
127 14, 0, 0,
128 'SNMP agent is not responding',
129 'Generated when node''s SNMP agent is not responding.\n' CONCAT
130 'Parameters:\n' CONCAT
131 ' No message-specific parameters'
132 );
133 INSERT INTO events (id,severity,flags,message,description) VALUES
134 (
135 15, 0, 0,
136 'Native agent is not responding',
137 'Generated when node''s native agent is not responding.\n' CONCAT
138 'Parameters:\n' CONCAT
139 ' No message-specific parameters'
140 );
141 INSERT INTO events (id,severity,flags,message,description) VALUES
142 (
143 16, 0, 1,
144 'Interface "%2" deleted (IP Addr: %3/%4, IfIndex: %1)',
145 'Generated when new interface object deleted from the database.\n' CONCAT
146 'Please note that source of event is node, not an interface itself.\n' CONCAT
147 'Parameters:\n' CONCAT
148 ' 1) Interface index\n' CONCAT
149 ' 2) Interface name\n' CONCAT
150 ' 3) Interface IP address\n' CONCAT
151 ' 4) Interface netmask'
152 );
153 INSERT INTO events (id,severity,flags,message,description) VALUES
154 (
155 1001, 4, 1,
156 'Thread "%1" is not responding',
157 'Generated when one of the system threads hangs or stops unexpectedly.\n' CONCAT
158 'Parameters:\n' CONCAT
159 ' 1) Thread name'
160 );