myarmfiled
myarmfiled -- file based ARM data collection server
The myarmfiled program waits for new ARM data files in the configured directory which are copied to that directory by the file datasink.
Command line options
Usage:
myarmfiled [options]
Options
The myarmfiled command supports standard options described in appendix "Standard options" and Windows service options described in section "Agent servers as a Windows service".
Configuration
The myarmfiled program can be configured using the following properties in the configuration file.
filed.sink.name- specifies the data sink the received ARM data is written to. (See appendix "Configuring data sink component" for more details)
filed.basename- (New since "1.3.x.2") specifies the base name of the moved files. A 6-digit number will be appended to the base name to make the file unique. Default is myarm.data.
filed.directory- defines the directory to scan for new ARM data files. Default directory is /tmp/myarmfiles.
filed.directory.scan.period- defines the number of seconds to scan the directory for new files. Default is 5 seconds.
filed.directory.scan.keep_corrupt- boolean which defines if corrupted ARM data files should be
kept or not. If kept the file is renamed by adding the suffix
.corrupt. Default is true. filed.pidfile- defines the file where the myarmfiled program writes its process id to. Default is /tmp/myarmfiled.pid.
filed.user,filed.group- user and group identification for the running myarmfiled. (See configuration section for more details)
filed.log.*- defines the logging message options and destination for the myarmfiled program. (See appendix "Configuring Log facility" for more details)
filed.sink.thread.queue.size- (Obsolete since "1.4.x.2")
filed.sink.thread.queue.info_level- (Obsolete since "1.4.x.2")
filed.sink.thread.queue.warn_level- (Obsolete since "1.4.x.2")
Configuration example
# set up directory to move closed work files to (read from myarmfiled) filed.directory = /opt/myarm/var/myarmfiles # set up base name for file names within above directory. filed.basename = myarm.data # myarmfiled daemon process user name filed.user = myarm # myarmfiled daemon process group name filed.group = myarm # myarmfiled daemon configuration section filed.pidfile = /opt/myarm/var/filed.pid # set up command host/interface myarmfiled is listening on filed.cmd.host = localhost # set up port myarmfiled is listening for incoming command # connections filed.cmd.port = 5554
Server commands
The myarmfiled program supports currently only the standard server commands as described in section server command tool.
See Also
myarmoptions, myarmconfig, myarmservcmd