- Added component locks
[public/netxms.git] / sql / events.in
CommitLineData
6c9e7d36
VK
1/*
2** System-defined events
3*/
c1142e46
VK
4
5INSERT INTO events (id,severity,flags,message,description) VALUES
6 (
7 1, 0, 1,
8 'Node added',
77f69c9d
VK
9 'Generated when new node object added to the database.\n' CONCAT
10 'Parameters:\n' CONCAT
c1142e46
VK
11 ' No message-specific parameters'
12 );
13INSERT INTO events (id,severity,flags,message,description) VALUES
14 (
6a402fbc 15 2, 0, 0,
c1142e46 16 'Subnet added',
77f69c9d
VK
17 'Generated when new subnet object added to the database.\n' CONCAT
18 'Parameters:\n' CONCAT
c1142e46
VK
19 ' No message-specific parameters'
20 );
21INSERT INTO events (id,severity,flags,message,description) VALUES
22 (
23 3, 0, 1,
6a402fbc 24 'Interface "%2" added (IP Addr: %3/%4, IfIndex: %5)',
77f69c9d
VK
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
c1142e46
VK
32 ' 5) Interface index'
33 );
071a9d0a
VK
34INSERT INTO events (id,severity,flags,message,description) VALUES
35 (
36 4, 0, 1,
6a402fbc 37 'Interface "%2" changed state to UP (IP Addr: %3/%4, IfIndex: %5)',
77f69c9d
VK
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
071a9d0a
VK
45 ' 5) Interface index'
46 );
47INSERT INTO events (id,severity,flags,message,description) VALUES
48 (
49 5, 2, 1,
6a402fbc 50 'Interface "%2" changed state to DOWN (IP Addr: %3/%4, IfIndex: %5)',
77f69c9d
VK
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
071a9d0a
VK
58 ' 5) Interface index'
59 );
60INSERT INTO events (id,severity,flags,message,description) VALUES
61 (
62 6, 0, 1,
63 'Node status changed to NORMAL',
77f69c9d
VK
64 'Generated when node status changed to normal.\n' CONCAT
65 'Parameters:\n' CONCAT
071a9d0a
VK
66 ' 1) Previous node status'
67 );
68INSERT INTO events (id,severity,flags,message,description) VALUES
69 (
9b057805 70 7, 1, 1,
8bf20f8c 71 'Node status changed to MINOR',
77f69c9d
VK
72 'Generated when node status changed to "Minor Problem" (informational).\n' CONCAT
73 'Parameters:\n' CONCAT
071a9d0a
VK
74 ' 1) Previous node status'
75 );
76INSERT INTO events (id,severity,flags,message,description) VALUES
77 (
9b057805 78 8, 2, 1,
071a9d0a 79 'Node status changed to WARNING',
77f69c9d
VK
80 'Generated when node status changed to "Warning".\n' CONCAT
81 'Parameters:\n' CONCAT
071a9d0a
VK
82 ' 1) Previous node status'
83 );
84INSERT INTO events (id,severity,flags,message,description) VALUES
85 (
9b057805 86 9, 3, 1,
8bf20f8c 87 'Node status changed to MAJOR',
77f69c9d
VK
88 'Generated when node status changed to "Major Problem".\n' CONCAT
89 'Parameters:\n' CONCAT
071a9d0a
VK
90 ' 1) Previous node status'
91 );
c1142e46
VK
92INSERT INTO events (id,severity,flags,message,description) VALUES
93 (
9b057805 94 10, 4, 1,
071a9d0a 95 'Node status changed to CRITICAL',
77f69c9d
VK
96 'Generated when node status changed to critical.\n' CONCAT
97 'Parameters:\n' CONCAT
071a9d0a
VK
98 ' 1) Previous node status'
99 );
100INSERT INTO events (id,severity,flags,message,description) VALUES
101 (
102 11, 0, 1,
103 'Node status changed to UNKNOWN',
77f69c9d
VK
104 'Generated when node status changed to unknown.\n' CONCAT
105 'Parameters:\n' CONCAT
071a9d0a
VK
106 ' 1) Previous node status'
107 );
108INSERT INTO events (id,severity,flags,message,description) VALUES
109 (
110 12, 0, 1,
111 'Node status changed to UNMANAGED',
77f69c9d
VK
112 'Generated when node status changed to unmanaged.\n' CONCAT
113 'Parameters:\n' CONCAT
071a9d0a 114 ' 1) Previous node status'
c1142e46 115 );
ba1ececc
VK
116INSERT INTO events (id,severity,flags,message,description) VALUES
117 (
118 13, 0, 0,
119 'Node capabilities changed (Old: %1; New: %2)',
77f69c9d
VK
120 'Generated when node capabilities changed.\n' CONCAT
121 'Parameters:\n' CONCAT
122 ' 1) Old capabilities' CONCAT
ba1ececc
VK
123 ' 2) New capabilities'
124 );
125INSERT INTO events (id,severity,flags,message,description) VALUES
126 (
127 14, 0, 0,
128 'SNMP agent is not responding',
77f69c9d
VK
129 'Generated when node''s SNMP agent is not responding.\n' CONCAT
130 'Parameters:\n' CONCAT
ba1ececc
VK
131 ' No message-specific parameters'
132 );
133INSERT INTO events (id,severity,flags,message,description) VALUES
134 (
135 15, 0, 0,
136 'Native agent is not responding',
77f69c9d
VK
137 'Generated when node''s native agent is not responding.\n' CONCAT
138 'Parameters:\n' CONCAT
ba1ececc
VK
139 ' No message-specific parameters'
140 );
dfd34016
VK
141INSERT INTO events (id,severity,flags,message,description) VALUES
142 (
143 16, 0, 1,
6a402fbc 144 'Interface "%2" deleted (IP Addr: %3/%4, IfIndex: %1)',
77f69c9d
VK
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
ac13a9dd 151 ' 4) Interface netmask'
dfd34016 152 );
6a402fbc
VK
153INSERT INTO events (id,severity,flags,message,description) VALUES
154 (
155 1001, 4, 1,
156 'Thread "%1" is not responding',
77f69c9d
VK
157 'Generated when one of the system threads hangs or stops unexpectedly.\n' CONCAT
158 'Parameters:\n' CONCAT
6a402fbc
VK
159 ' 1) Thread name'
160 );