New events and configuration parameters added
authorVictor Kirhenshtein <victor@netxms.org>
Mon, 28 Feb 2005 09:49:38 +0000 (09:49 +0000)
committerVictor Kirhenshtein <victor@netxms.org>
Mon, 28 Feb 2005 09:49:38 +0000 (09:49 +0000)
sql/events.in
sql/setup.in

index 749dde4..c195376 100644 (file)
@@ -481,3 +481,30 @@ INSERT INTO event_cfg (event_code,event_name,severity,flags,message,description)
                'Parameters:#0D#0A' CONCAT
                THRESHOLD_EVENT_PARAMS
        );
+INSERT INTO event_cfg (event_code,event_name,severity,flags,message,description) VALUES
+       (
+               4009, 'DC_HDD_TEMP_WARNING',
+               EVENT_SEVERITY_WARNING, 1,
+               'Temperature of hard disk %6 is above warning level of %3 (current: %4)',
+               'Custom data collection threshold event.#0D#0A' CONCAT
+               'Parameters:#0D#0A' CONCAT
+               THRESHOLD_EVENT_PARAMS
+       );
+INSERT INTO event_cfg (event_code,event_name,severity,flags,message,description) VALUES
+       (
+               4010, 'DC_HDD_TEMP_MAJOR',
+               EVENT_SEVERITY_MAJOR, 1,
+               'Temperature of hard disk %6 is above %3 (current: %4)',
+               'Custom data collection threshold event.#0D#0A' CONCAT
+               'Parameters:#0D#0A' CONCAT
+               THRESHOLD_EVENT_PARAMS
+       );
+INSERT INTO event_cfg (event_code,event_name,severity,flags,message,description) VALUES
+       (
+               4011, 'DC_HDD_TEMP_CRITICAL',
+               EVENT_SEVERITY_CRITICAL, 1,
+               'Temperature of hard disk %6 is above critical level of %3 (current: %4)',
+               'Custom data collection threshold event.#0D#0A' CONCAT
+               'Parameters:#0D#0A' CONCAT
+               THRESHOLD_EVENT_PARAMS
+       );
index 5a9e854..7b26bc3 100644 (file)
@@ -66,6 +66,8 @@ INSERT INTO config (var_name,var_value,is_visible,need_server_restart)
        VALUES ('SMTPFromAddr','netxms@localhost',1,0);
 INSERT INTO config (var_name,var_value,is_visible,need_server_restart)
        VALUES ('AgentUpgradeWaitTime','600',1,0);
+INSERT INTO config (var_name,var_value,is_visible,need_server_restart)
+       VALUES ('NumberOfUpgradeThreads','10',1,0);
 
 
 /*