2012-02-14 Vanessa Gil <vanessa.gil@artica.es>

* util/pandora_manage.pl: Changed default field separator to 
	get_event_info and get_module_data.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-02-14 10:50:25 +00:00
parent 33843e6cd3
commit 61ab4cafa4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-02-14 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Changed default field separator to
get_event_info and get_module_data.
2012-02-13 Vanessa Gil <vanessa.gil@artica.es> 2012-02-13 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Added get_event_info. * util/pandora_manage.pl: Added get_event_info.

View File

@ -2379,7 +2379,7 @@ sub cli_get_event_info () {
my $event_name = pandora_get_event_name($dbh, $id_event); my $event_name = pandora_get_event_name($dbh, $id_event);
exist_check($event_name,'event',$id_event); exist_check($event_name,'event',$id_event);
$csv_separator = ';' unless defined($csv_separator); $csv_separator = '|' unless defined($csv_separator);
my $query = "SELECT * FROM tevento where id_evento=".$id_event; my $query = "SELECT * FROM tevento where id_evento=".$id_event;
@ -3092,7 +3092,7 @@ sub cli_module_get_data () {
print "[ERROR] Interval must be a possitive value\n\n"; print "[ERROR] Interval must be a possitive value\n\n";
} }
$csv_separator = ';' unless defined($csv_separator); $csv_separator = '|' unless defined($csv_separator);
my $id_agent_module = get_agent_module_id ($dbh, $module_name, $agent_id); my $id_agent_module = get_agent_module_id ($dbh, $module_name, $agent_id);