List of Contents
...
This is a table to manage source files that remote collectors have. When SELECT command is executed, it brings files with proper extension (.tpl, .rgs, or .py) from all the collector managers located under the $MACHBASE_HOME/collector.
...
...
...
The table will be consisted of the items listed in table above. All the managers registered to the main server have template, regular expression, and Python script.
Procedure of insert_collector_source
...
...
Procedure
마크베이스 서버에서 수행하는 프로시저 (Procedure) 로 collector 제어가 가능하다.
INSERT_COLLECTOR_SOURCE
Insert_collector_source procedure로 원격 서버에 실행중인 콜렉터에 설정 파일들을 전송할 수 있다.
Code Block |
---|
EXECUTE INSERT_COLLECTOR_SOURCE ("manager_name", "path", "context"); |
...
Manager_name: name of a manager registered to the server. Path: a path where files will be stored. Default path is $MACHBASE_HOME/collector. Context: contents of a file.
If the file already exists, the file will be backup as .bak.
Procedure of rename_collectormanager
...
각 파라메터의 의미는 다음과 같다.
- manager_name : 파일을 전송할 Collector manager의 이름
- path : 전송할 파일의 경로명
- context : 파일의 내용
만약 원격 서버에 파일이 이미 존재한다면 원래 파일은 파일명.bak
로 변경된다.
RENAME_COLLECTORMANAGER
이미 등록된 collector manager의 이름을 변경하는 Procedure 이다.
Code Block |
---|
EXECUTE RENAME_COLLECTORMANAGER ("old_name", "new_name"); |
...
Old_name: name of the existing collector manager. New_name: name of the collector manager that will be changed.
...