2014-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Set unknown modules to normal if new data arrives but ff_threshold is greater than 0. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
6488476d99
commit
b92d9110fe
|
@ -1,3 +1,8 @@
|
|||
2014-07-30 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Set unknown modules to normal if new data
|
||||
arrives but ff_threshold is greater than 0.
|
||||
|
||||
2014-07-28 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* conf/pandora_server.conf.new,
|
||||
|
|
|
@ -1132,12 +1132,10 @@ sub pandora_process_module ($$$$$$$$$;$) {
|
|||
# Update module status count
|
||||
pandora_mark_agent_for_module_update ($dbh, $agent->{'id_agente'});
|
||||
}
|
||||
# Set not-init modules to normal even if min_ff_event is not matched the first time they receive data
|
||||
elsif ($status == 4) {
|
||||
$new_status = 0;
|
||||
|
||||
generate_status_event ($pa_config, $processed_data, $agent, $module, $new_status, $status, $last_known_status, $dbh);
|
||||
$status = $new_status;
|
||||
# Set not-init or unknown modules to normal even if min_ff_event is not matched the first time they receive data
|
||||
elsif ($status == 3 || $status == 4) {
|
||||
generate_status_event ($pa_config, $processed_data, $agent, $module, 0, $status, $last_known_status, $dbh);
|
||||
$status = 0;
|
||||
|
||||
# Update module status count
|
||||
pandora_mark_agent_for_module_update ($dbh, $agent->{'id_agente'});
|
||||
|
|
Loading…
Reference in New Issue