mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
updates
This commit is contained in:
parent
75949691f3
commit
6c0e2d23de
@ -63,6 +63,7 @@ CREATE TABLE IF NOT EXISTS `tncm_agent` (
|
|||||||
`id_model` bigint(20) unsigned NOT NULL,
|
`id_model` bigint(20) unsigned NOT NULL,
|
||||||
`protocol` int unsigned not null default 0,
|
`protocol` int unsigned not null default 0,
|
||||||
`cred_key` varchar(100),
|
`cred_key` varchar(100),
|
||||||
|
`adv_key` varchar(100),
|
||||||
`port` int(4) unsigned default 22,
|
`port` int(4) unsigned default 22,
|
||||||
`status` int(4) NOT NULL default 5,
|
`status` int(4) NOT NULL default 5,
|
||||||
`updated_at` bigint(20) NOT NULL default 0,
|
`updated_at` bigint(20) NOT NULL default 0,
|
||||||
@ -74,7 +75,9 @@ CREATE TABLE IF NOT EXISTS `tncm_agent` (
|
|||||||
PRIMARY KEY (`id_agent`),
|
PRIMARY KEY (`id_agent`),
|
||||||
FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,
|
FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
FOREIGN KEY (`cred_key`) REFERENCES `tcredential_store`(`identifier`) ON UPDATE CASCADE ON DELETE SET NULL,
|
FOREIGN KEY (`cred_key`) REFERENCES `tcredential_store`(`identifier`) ON UPDATE CASCADE ON DELETE SET NULL,
|
||||||
FOREIGN KEY (`id_template`) REFERENCES `tncm_template`(`id`) ON UPDATE CASCADE ON DELETE CASCADE
|
FOREIGN KEY (`id_template`) REFERENCES `tncm_template`(`id`) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
|
FOREIGN KEY (`id_vendor`) REFERENCES `tncm_vendor`(`id`) ON UPDATE CASCADE ON DELETE SET NULL,
|
||||||
|
FOREIGN KEY (`id_model`) REFERENCES `tncm_model`(`id`) ON UPDATE CASCADE ON DELETE SET NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `tncm_agent_data` (
|
CREATE TABLE IF NOT EXISTS `tncm_agent_data` (
|
||||||
|
@ -4155,6 +4155,7 @@ CREATE TABLE IF NOT EXISTS `tncm_agent` (
|
|||||||
`id_model` bigint(20) unsigned NOT NULL,
|
`id_model` bigint(20) unsigned NOT NULL,
|
||||||
`protocol` int unsigned not null default 0,
|
`protocol` int unsigned not null default 0,
|
||||||
`cred_key` varchar(100),
|
`cred_key` varchar(100),
|
||||||
|
`adv_key` varchar(100),
|
||||||
`port` int(4) unsigned default 22,
|
`port` int(4) unsigned default 22,
|
||||||
`status` int(4) NOT NULL default 5,
|
`status` int(4) NOT NULL default 5,
|
||||||
`updated_at` bigint(20) NOT NULL default 0,
|
`updated_at` bigint(20) NOT NULL default 0,
|
||||||
@ -4166,7 +4167,9 @@ CREATE TABLE IF NOT EXISTS `tncm_agent` (
|
|||||||
PRIMARY KEY (`id_agent`),
|
PRIMARY KEY (`id_agent`),
|
||||||
FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,
|
FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
FOREIGN KEY (`cred_key`) REFERENCES `tcredential_store`(`identifier`) ON UPDATE CASCADE ON DELETE SET NULL,
|
FOREIGN KEY (`cred_key`) REFERENCES `tcredential_store`(`identifier`) ON UPDATE CASCADE ON DELETE SET NULL,
|
||||||
FOREIGN KEY (`id_template`) REFERENCES `tncm_template`(`id`) ON UPDATE CASCADE ON DELETE CASCADE
|
FOREIGN KEY (`id_template`) REFERENCES `tncm_template`(`id`) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
|
FOREIGN KEY (`id_vendor`) REFERENCES `tncm_vendor`(`id`) ON UPDATE CASCADE ON DELETE SET NULL,
|
||||||
|
FOREIGN KEY (`id_model`) REFERENCES `tncm_model`(`id`) ON UPDATE CASCADE ON DELETE SET NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- ----------------------------------------------------------------------
|
-- ----------------------------------------------------------------------
|
||||||
|
@ -4087,10 +4087,11 @@ CREATE TABLE IF NOT EXISTS `tncm_template_scripts` (
|
|||||||
-- ----------------------------------------------------------------------
|
-- ----------------------------------------------------------------------
|
||||||
CREATE TABLE IF NOT EXISTS `tncm_agent` (
|
CREATE TABLE IF NOT EXISTS `tncm_agent` (
|
||||||
`id_agent` int(10) unsigned NOT NULL,
|
`id_agent` int(10) unsigned NOT NULL,
|
||||||
`id_vendor` bigint(20) unsigned NOT NULL,
|
`id_vendor` bigint(20) unsigned,
|
||||||
`id_model` bigint(20) unsigned NOT NULL,
|
`id_model` bigint(20) unsigned,
|
||||||
`protocol` int unsigned not null default 0,
|
`protocol` int unsigned not null default 0,
|
||||||
`cred_key` varchar(100),
|
`cred_key` varchar(100),
|
||||||
|
`adv_key` varchar(100),
|
||||||
`port` int(4) unsigned default 22,
|
`port` int(4) unsigned default 22,
|
||||||
`status` int(4) NOT NULL default 5,
|
`status` int(4) NOT NULL default 5,
|
||||||
`updated_at` bigint(20) NOT NULL default 0,
|
`updated_at` bigint(20) NOT NULL default 0,
|
||||||
@ -4102,7 +4103,9 @@ CREATE TABLE IF NOT EXISTS `tncm_agent` (
|
|||||||
PRIMARY KEY (`id_agent`),
|
PRIMARY KEY (`id_agent`),
|
||||||
FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,
|
FOREIGN KEY (`id_agent`) REFERENCES `tagente`(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
FOREIGN KEY (`cred_key`) REFERENCES `tcredential_store`(`identifier`) ON UPDATE CASCADE ON DELETE SET NULL,
|
FOREIGN KEY (`cred_key`) REFERENCES `tcredential_store`(`identifier`) ON UPDATE CASCADE ON DELETE SET NULL,
|
||||||
FOREIGN KEY (`id_template`) REFERENCES `tncm_template`(`id`) ON UPDATE CASCADE ON DELETE CASCADE
|
FOREIGN KEY (`id_template`) REFERENCES `tncm_template`(`id`) ON UPDATE CASCADE ON DELETE CASCADE,
|
||||||
|
FOREIGN KEY (`id_vendor`) REFERENCES `tncm_vendor`(`id`) ON UPDATE CASCADE ON DELETE SET NULL,
|
||||||
|
FOREIGN KEY (`id_model`) REFERENCES `tncm_model`(`id`) ON UPDATE CASCADE ON DELETE SET NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- ----------------------------------------------------------------------
|
-- ----------------------------------------------------------------------
|
||||||
|
@ -687,6 +687,12 @@ syslog_max 65535
|
|||||||
# Address
|
# Address
|
||||||
# sync_address
|
# sync_address
|
||||||
|
|
||||||
|
# Network manager configuration server (PANDORA FMS ENTERPRISE ONLY).
|
||||||
|
#ncmserver 1
|
||||||
|
|
||||||
|
# Threads for NCM server (PANDORA FMS ENTERPRISE ONLY).
|
||||||
|
ncmserver_threads 1
|
||||||
|
|
||||||
# Pandora FMS Daemon Watchdog execution interval in seconds (PANDORA FMS ENTERPRISE ONLY).
|
# Pandora FMS Daemon Watchdog execution interval in seconds (PANDORA FMS ENTERPRISE ONLY).
|
||||||
ha_interval 30
|
ha_interval 30
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user