2009-12-21 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed agent check in logger call. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
781791ade0
commit
4b70e70e41
|
@ -1,3 +1,7 @@
|
|||
2009-12-21 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Fixed agent check in logger call.
|
||||
|
||||
2009-12-21 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* util/tentacle_served: Fixed call to get_pid, using a width of 300 cols.
|
||||
|
|
|
@ -527,7 +527,7 @@ sub pandora_process_module ($$$$$$$$$) {
|
|||
my ($pa_config, $data, $agent, $module, $module_type,
|
||||
$timestamp, $utimestamp, $server_id, $dbh) = @_;
|
||||
|
||||
logger($pa_config, "Processing module '" . $module->{'nombre'} . "' for agent " . (defined ($agent) ? "'" . $agent->{'nombre'} . "'" : 'ID ' . $module->{'id_agente'}) . ".", 10);
|
||||
logger($pa_config, "Processing module '" . $module->{'nombre'} . "' for agent " . (defined ($agent) && $agent ne '' ? "'" . $agent->{'nombre'} . "'" : 'ID ' . $module->{'id_agente'}) . ".", 10);
|
||||
|
||||
# Get module type
|
||||
if (! defined ($module_type) || $module_type eq '') {
|
||||
|
|
Loading…
Reference in New Issue