2010-05-31 Ramon Novoa <rnovoa@artica.es>

* lib/PandoraFMS/Core.pm: Set the initial depth for
          pandora_inhibit_alerts. Fixes bug #3008761.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2010-05-31 09:45:52 +00:00
parent 4fa4aa5730
commit acc55a4e9a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-05-31 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Set the initial depth for
pandora_inhibit_alerts. Fixes bug #3008761.
2010-05-31 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed typo error.

View File

@ -741,7 +741,7 @@ sub pandora_process_module ($$$$$$$$$;$) {
$last_status = $new_status;
# Generate alerts
if (pandora_inhibit_alerts ($pa_config, $agent, $dbh) == 0) {
if (pandora_inhibit_alerts ($pa_config, $agent, $dbh, 0) == 0) {
pandora_generate_alerts ($pa_config, $processed_data, $status, $agent, $module, $utimestamp, $dbh, $extraMacros, $last_data_value);
} else {
logger($pa_config, "Alerts inhibited for agent '" . $agent->{'nombre'} . "'.", 10);