Skip to content

Commit 2466c35

Browse files
committed
Fix sql update statement
1 parent f1e3d03 commit 2466c35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

etc/config.yml.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ query_handler: /opt/naemon/var/naemon.qh
245245

246246
# Pass external commands to the external commands file.
247247
# Naemon and Nagios
248-
submit_method: cmd
248+
#submit_method: cmd
249249

250250
# Pass external commands to the query handler
251251
# Naemon only at the moment, but i but i recommend to use this, with Naemon
@@ -254,7 +254,7 @@ submit_method: cmd
254254
# Pass external commands through the Statusengine Broker using the statusngin_cmd queue
255255
# Requires to use the C++ Statusengine Broker: https://github.com/statusengine/broker
256256
# Supports Naemon and Nagios
257-
#submit_method: broker
257+
submit_method: broker
258258

259259
############
260260
# SYSLOG CONFIGURATION

lib/mysql_update.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ ALTER TABLE `statusengine_service_downtimehistory` ADD `entry_time_usec` INT UNS
4141
UPDATE `statusengine_service_downtimehistory` SET `entry_time_usec`=FLOOR(RAND() * 100000000);
4242
ALTER TABLE `statusengine`.`statusengine_service_downtimehistory` ADD INDEX `reports` (`hostname`, `service_description`, `entry_time`, `entry_time_usec`, `scheduled_start_time`, `scheduled_end_time`, `was_cancelled`);
4343

44-
INSERT INTO statusengine_dbversion (id, dbversion)VALUES(1, '3.7.0') ON DUPLICATE KEY UPDATE dbversion='3.7.0'
44+
INSERT INTO statusengine_dbversion (id, dbversion)VALUES(1, '3.7.0') ON DUPLICATE KEY UPDATE dbversion='3.7.0';

0 commit comments

Comments
 (0)