2011-03-02 Ramon Novoa <rnovoa@artica.es>

* win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed
	  module_post_process to module_postprocess to match the documentation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2011-03-02 10:41:29 +00:00
parent c568805090
commit be9b8d73ab
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-03-02 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed
module_post_process to module_postprocess to match the documentation.
2011-03-01 Ramon Novoa <rnovoa@artica.es> 2011-03-01 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module.h, * win32/modules/pandora_module.h,

View File

@ -357,7 +357,7 @@ sub read_config (;$) {
$module->{'max'} = $1; $module->{'max'} = $1;
} elsif ($line =~ /^\s*module_min\s+(.*)\s*$/) { } elsif ($line =~ /^\s*module_min\s+(.*)\s*$/) {
$module->{'min'} = $1; $module->{'min'} = $1;
} elsif ($line =~ /^\s*module_post_process\s+(.*)\s*$/) { } elsif ($line =~ /^\s*module_postprocess\s+(.*)\s*$/) {
$module->{'post_process'} = $1; $module->{'post_process'} = $1;
} elsif ($line =~ /^\s*module_interval\s+(\d+)\s*$/) { } elsif ($line =~ /^\s*module_interval\s+(\d+)\s*$/) {
$module->{'interval'} = $1; $module->{'interval'} = $1;

View File

@ -58,7 +58,7 @@ using namespace Pandora_Strutils;
#define TOKEN_ODBC ("module_odbc ") #define TOKEN_ODBC ("module_odbc ")
#define TOKEN_MAX ("module_max ") #define TOKEN_MAX ("module_max ")
#define TOKEN_MIN ("module_min ") #define TOKEN_MIN ("module_min ")
#define TOKEN_POST_PROCESS ("module_post_process ") #define TOKEN_POST_PROCESS ("module_postprocess ")
#define TOKEN_DESCRIPTION ("module_description ") #define TOKEN_DESCRIPTION ("module_description ")
#define TOKEN_ODBC_QUERY ("module_odbc_query ") #define TOKEN_ODBC_QUERY ("module_odbc_query ")
#define TOKEN_LOGEVENT ("module_logevent") #define TOKEN_LOGEVENT ("module_logevent")