2010-07-30 Ramon Novoa <rnovoa@artica.es>

* lib/PandoraFMS/Core.pm: Do not mark async modules as unknown.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-07-30 10:27:16 +00:00
parent a92eeaef91
commit ad88a3bfc4
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Do not mark async modules as unknown.
2010-07-30 Ramon Novoa <rnovoa@artica.es> 2010-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm, bin/pandora_server: Added a real unknown * lib/PandoraFMS/Core.pm, bin/pandora_server: Added a real unknown

View File

@ -2059,6 +2059,7 @@ sub pandora_module_unknown ($$) {
AND tagente.disabled = 0 AND tagente.disabled = 0
AND tagente_modulo.disabled = 0 AND tagente_modulo.disabled = 0
AND tagente_estado.estado <> 3 AND tagente_estado.estado <> 3
AND tagente_modulo.id_tipo_modulo NOT IN (21, 22, 23, 100)
AND (tagente_estado.current_interval = 0 OR (tagente_estado.current_interval * 2) + tagente_estado.utimestamp < UNIX_TIMESTAMP())'); AND (tagente_estado.current_interval = 0 OR (tagente_estado.current_interval * 2) + tagente_estado.utimestamp < UNIX_TIMESTAMP())');
foreach my $module (@modules) { foreach my $module (@modules) {