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:
parent
3f49a3bea8
commit
8fcefceaa9
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue