2014-01-06 Junichi Satoh <junichi@rworks.jp>

* lib/PandoraFMS/Core.pm: Fixed that planned downtime is disabled
	between continuous time settings.
	eg) If there are two settings like xx:xx:xx-23:59:59 and
	00:00:00-yy:yy:yy, planned downtime was disabled around 00:00:00.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2014-01-06 05:08:53 +00:00
parent 66358dea71
commit e923712667
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2014-01-06 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed that planned downtime is disabled
between continuous time settings.
eg) If there are two settings like xx:xx:xx-23:59:59 and
00:00:00-yy:yy:yy, planned downtime was disabled around 00:00:00.
2013-12-27 Sancho Lerena <slerena@artica.es>
* util/pandora_backup.sh: Added parameter to ensure max_allowed_packet

View File

@ -1826,17 +1826,17 @@ Update planned downtimes.
sub pandora_planned_downtime ($$) {
my ($pa_config, $dbh) = @_;
pandora_planned_downtime_disabled_once_start($pa_config, $dbh);
pandora_planned_downtime_disabled_once_stop($pa_config, $dbh);
pandora_planned_downtime_disabled_once_start($pa_config, $dbh);
pandora_planned_downtime_quiet_once_start($pa_config, $dbh);
pandora_planned_downtime_quiet_once_stop($pa_config, $dbh);
pandora_planned_downtime_quiet_once_start($pa_config, $dbh);
pandora_planned_downtime_monthly_start($pa_config, $dbh);
pandora_planned_downtime_monthly_stop($pa_config, $dbh);
pandora_planned_downtime_monthly_start($pa_config, $dbh);
pandora_planned_downtime_weekly_start($pa_config, $dbh);
pandora_planned_downtime_weekly_stop($pa_config, $dbh);
pandora_planned_downtime_weekly_start($pa_config, $dbh);
}
########################################################################