# Remote Workers
CREATE TABLE IF NOT EXISTS `nagiosxi` . `xi_remote_workers` (
    `id` int auto_increment,
    `identifier` varchar(255),
    `host_name` varchar(255),
    `ssh_username` varchar(255),
    `ssh_password` varchar(255),
    `debug` int,
    `logfile` varchar(255),
    `server` varchar(255),
    `dupserver` varchar(255),
    `eventhandler` ENUM('yes', 'no'),
    `notifications` ENUM('yes', 'no'),
    `services` ENUM('yes', 'no'),
    `hosts` ENUM('yes', 'no'),
    `hostgroups` varchar(255),
    `servicegroups` varchar(255),
    `encryption` ENUM('yes', 'no'),
    `key` varchar(255),
    `keyfile` varchar(255),
    `pidfile` varchar(255),
    `job_timeout` int,
    `min_workers` int,
    `max_workers` int,
    `idle_timeout` int,
    `max_jobs` int,
    `max_age` int,
    `spawn_rate` int,
    `fork_on_exec` ENUM('yes', 'no'),
    `load_limit1` double,
    `load_limit5` double,
    `load_limit15` double,
    `show_error_output` ENUM('yes', 'no'),
    `timeout_return` int,
    `dup_results_are_passive` ENUM('yes', 'no'),
    `gearman_connection_timeout` int,
    `restrict_path` varchar(255),
    `restrict_command_characters` varchar(255),
    `workaround_rc_25` ENUM('yes', 'no'),
    `deployed` int,
    `synced` int,
    `command_id` int,
    primary key(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;