Merge branch 'ent-9395-14081-Politicas-no-aplican-a-grupos-secundarios' into 'develop'
make policy group application optional See merge request artica/pandorafms!5138
This commit is contained in:
commit
099bfe2e61
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,5 @@
|
|||
START TRANSACTION;
|
||||
|
||||
|
||||
|
||||
COMMIT;
|
|
@ -2513,6 +2513,7 @@ CREATE TABLE IF NOT EXISTS `tpolicies` (
|
|||
`id_group` INT UNSIGNED DEFAULT 0,
|
||||
`status` INT UNSIGNED NOT NULL DEFAULT 0,
|
||||
`force_apply` TINYINT DEFAULT 0,
|
||||
`apply_to_secondary_groups` TINYINT NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||
|
||||
|
|
|
@ -1209,12 +1209,12 @@ INSERT INTO `tskin` VALUES (2,'Black theme', 'pandora_black.css', 'Black&#x
|
|||
INSERT INTO `tcollection` VALUES (1,'Apache Enterprise Plugin','apache_plugin',0,'Apache Enterprise Plugin to monitor Apache web server using a Perl script.',0);
|
||||
|
||||
|
||||
INSERT INTO `tpolicies` VALUES (1,'Basic Windows Monitoring','Basic local checks to monitor Windows Systems.
Requires Powershell 3+.',2,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (2,'Basic Linux Monitoring','Basic local checks to monitor: 
- CentOS
- RedHat
- Debian
- SUSE',2,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (3,'Basic Solaris Local Monitoring','Basic local checks to monitor Solaris systems.',2,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (4,'Basic AIX Local Monitoring','Basic local checks to monitoring AIX systems.',2,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (5,'Basic HP-UX Local Monitoring','Basic local checks to monitoring HP/UX systems.',2,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (6,'Basic Remote Checks','Basic Remote Checks (ping, latency, ports).',9,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (1,'Basic Windows Monitoring','Basic local checks to monitor Windows Systems.
Requires Powershell 3+.',2,0,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (2,'Basic Linux Monitoring','Basic local checks to monitor: 
- CentOS
- RedHat
- Debian
- SUSE',2,0,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (3,'Basic Solaris Local Monitoring','Basic local checks to monitor Solaris systems.',2,0,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (4,'Basic AIX Local Monitoring','Basic local checks to monitoring AIX systems.',2,0,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (5,'Basic HP-UX Local Monitoring','Basic local checks to monitoring HP/UX systems.',2,0,0,0);
|
||||
INSERT INTO `tpolicies` VALUES (6,'Basic Remote Checks','Basic Remote Checks (ping, latency, ports).',9,0,0,0);
|
||||
|
||||
INSERT INTO `tpolicy_modules` VALUES (1,1,'module_begin
module_name Bytes per second (Received)
module_type generic_data_inc
module_exec powershell -c "Get-NetAdapterStatistics |Measure-Object -Sum ReceivedBytes |Select -ExpandProperty Sum"
module_end



',4,'','Bytes per second (Received)','',0,0,1,'',0,'','','','',1,1,1,0,0,NULL,NULL,NULL,0,0.000000000000000,0,0,0,'',1,0.00,0.00,'',0.00,0.00,'',0,NULL,NULL,NULL,0,0,0,'','','',0,0,0,0,0,'* * * * *',NULL,'{\"going_unknown\":0}','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
INSERT INTO `tpolicy_modules` VALUES (2,1,'module_begin
module_name Bytes per second (Sent)
module_type generic_data_inc
module_exec powershell -c "Get-NetAdapterStatistics |Measure-Object -Sum SentBytes |Select -ExpandProperty Sum"
module_end




',4,'','Bytes per second (Sent)','',0,0,1,'',0,'','','','',1,1,1,0,0,NULL,NULL,NULL,0,0.000000000000000,0,0,0,'',1,0.00,0.00,'',0.00,0.00,'',0,NULL,NULL,NULL,0,0,0,'','','',0,0,0,0,0,'* * * * *',NULL,'{\"going_unknown\":0}','',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
|
|
Loading…
Reference in New Issue