mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2007-08-16 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Do not check debug flag if copying was not successful. * bin/README: Updated options. * bin/PandoraAgent.exe: Updated to last commit. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
df2a3abcf4
commit
50af40da9f
@ -1,3 +1,12 @@
|
|||||||
|
2007-08-16 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
|
* pandora_windows_service.cc: Do not check debug flag if copying was
|
||||||
|
not successful.
|
||||||
|
|
||||||
|
* bin/README: Updated options.
|
||||||
|
|
||||||
|
* bin/PandoraAgent.exe: Updated to last commit.
|
||||||
|
|
||||||
2007-08-07 Esteban Sanchez <estebans@artica.es>
|
2007-08-07 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
* pandora.cc: Updated agent version.
|
* pandora.cc: Updated agent version.
|
||||||
|
Binary file not shown.
@ -17,6 +17,11 @@ server_ip - Hostname or Pandora Server IP where the gathered data will be sent.
|
|||||||
server_path - Path where the server will store the data sent by agent.
|
server_path - Path where the server will store the data sent by agent.
|
||||||
Usually is "/opt/pandora/data_in".
|
Usually is "/opt/pandora/data_in".
|
||||||
|
|
||||||
|
transfer_mode - Transfer method from agent to server. Could be "ssh" or "ftp".
|
||||||
|
|
||||||
|
ftp_password - In case transfer method is FTP, this key must be set to user
|
||||||
|
password on server.
|
||||||
|
|
||||||
temporal - Path where the agent stores locally data before send them
|
temporal - Path where the agent stores locally data before send them
|
||||||
to the Pandora Server. The agent deletes the data every time it tries
|
to the Pandora Server. The agent deletes the data every time it tries
|
||||||
to connect to Pandora Server.
|
to connect to Pandora Server.
|
||||||
|
@ -280,19 +280,6 @@ Pandora_Windows_Service::copyDataFile (string filename)
|
|||||||
|
|
||||||
pandoraLog ("Successfuly copied XML file to server.");
|
pandoraLog ("Successfuly copied XML file to server.");
|
||||||
} catch (Pandora_Exception e) {
|
} catch (Pandora_Exception e) {
|
||||||
if (getPandoraDebug () == false) {
|
|
||||||
string filepath;
|
|
||||||
|
|
||||||
filepath = conf->getValue ("temporal");
|
|
||||||
if (filepath[filepath.length () - 1] != '\\') {
|
|
||||||
filepath += "\\";
|
|
||||||
}
|
|
||||||
filepath += filename;
|
|
||||||
try {
|
|
||||||
Pandora_File::removeFile (filepath);
|
|
||||||
} catch (Pandora_File::Delete_Error e) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user