2009-11-18 Sancho Lerena <slerena@artica.es>
* pandora_agent: Fixed a problem sending the module type in the XML. This causes that all modules were "generic_data". git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1f3f0eeef7
commit
c6023d91c5
|
@ -1,3 +1,8 @@
|
|||
2009-11-18 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* pandora_agent: Fixed a problem sending the module type in the XML.
|
||||
This causes that all modules were "generic_data".
|
||||
|
||||
2009-11-16 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* pandora_agent: Updated default encoding to iso-8859-1 instead
|
||||
|
|
|
@ -34,7 +34,7 @@ my $ConfFile = 'pandora_agent.conf';
|
|||
my %Conf = (
|
||||
'server_ip' => 'localhost',
|
||||
'server_path' => '/var/spool/pandora/data_in',
|
||||
'temporal' => '/var/spool/pandora/data_out',
|
||||
'temporal' => '/var/spool/pandora',
|
||||
'log_file' => '/var/log/pandora/pandora_agent.log',
|
||||
'interval' => 300,
|
||||
'debug' => 0,
|
||||
|
@ -549,8 +549,9 @@ while (1) {
|
|||
|
||||
$xml .= " <module>\n" .
|
||||
" <name><![CDATA[$module->{'name'}]]></name>\n" .
|
||||
" <description><![CDATA[$module->{'description'}]]></description>\n";
|
||||
|
||||
" <description><![CDATA[$module->{'description'}]]></description>\n" .
|
||||
" <type>$module->{'type'}</type>\n";
|
||||
|
||||
# Data list
|
||||
if ($#data > 0) {
|
||||
$xml .= " <datalist>\n";
|
||||
|
|
Loading…
Reference in New Issue