006-07-05 Esteban Sanchez <esteban@steve-o.org>

* README: Style correction.

        * pandora.cc: Log file renamed.

        * modules/pandora_module.cc: Fixed a bug when sending a integer value
        from a module exec type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@98 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2006-07-06 12:30:04 +00:00
parent 59efd044c1
commit de01f21580
5 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* README: Style correction.
* pandora.cc: Log file renamed.
* modules/pandora_module.cc: Fixed a bug when sending a integer value
from a module exec type.
2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* AUTHORS, README: Added to repository

View File

@ -2,7 +2,8 @@ Pandora is the free Distributed Monitoring System.
This is the Windows agent, programmed in C++ with GNU tools and gcc.
In order to build from sources, you will need the latest Dev-Cpp IDE version, with the MinGW tools. Download from http://www.bloodshed.net/devcpp.html
In order to build from sources, you will need the latest Dev-Cpp IDE version,
with the MinGW tools. Download it from http://www.bloodshed.net/devcpp.html
Open PandoraAgent.dev with Dev-Cpp and construct the project. Everything should
compile fine in a default installation.

View File

@ -95,7 +95,6 @@ Pandora_Module::getOutput () const {
}
return Pandora_Strutils::inttostr (value);
break;
default:
return this->output;
}
@ -166,8 +165,7 @@ Pandora_Module::getXml () {
delete text;
element = new TiXmlElement ("data");
data_str = strreplace (this->output,
"%", "%%" );
data_str = strreplace (data, "%", "%%" );
text = new TiXmlText (data_str);
element->InsertEndChild (*text);
root->InsertEndChild (*element);

View File

@ -113,7 +113,7 @@ Pandora::pandoraLog (char *format, ...) {
vsprintf (msg, format, args);
va_end (args);
pandoraWriteLog ("pandora-log.dbg", (char *) msg);
pandoraWriteLog ("pandora-log.log", (char *) msg);
}
void