|
# Job Arranger for ZABBIX
|
|
# This is a configuration file for Job Arranger Agent process
|
|
|
|
############ ZABBIX PARAMETERS INCLUDE #################
|
|
|
|
### Option: Include
|
|
# You may include ONLY individual file in the configuration file.
|
|
# Do NOT include 'all files in a directory' nor wildcard like /*.conf even in included files.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# Include=
|
|
|
|
############ GENERAL PARAMETERS #################
|
|
|
|
### Option: TmpDir
|
|
# Used for job control data files directory.
|
|
# Sub directories(begin,close,data,end,error,exec) are created at Agent initial execution.
|
|
# Housekeeping(Delete old data under close) is done by jabackup process.
|
|
#
|
|
# Mandatory: yes
|
|
# Default:
|
|
# TmpDir=
|
|
TmpDir=/var/lib/jobarranger/tmp
|
|
|
|
|
|
### Option: Server
|
|
# List of comma delimited IP address (or hostname) of Job Arranger Server.
|
|
# Incoming connections for Job Arranger Agent will be accepted only from the hosts listed here.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# Server=
|
|
Server=10.30.1.23
|
|
|
|
|
|
### Option: Hostname
|
|
# Unique, case sensitive hostname.
|
|
# Required for agent processing and must match the registered hostname on the server side.
|
|
# Agent hostname is used if not specified here.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# Hostname=
|
|
Hostname=Zabbix server
|
|
|
|
############ ADVANCED PARAMETERS ################
|
|
|
|
### Option: AllowRoot
|
|
# Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent
|
|
# will try to switch to user 'zabbix(Default)' instead. Has no effect if started under a regular user.
|
|
# 0 - do not allow
|
|
# 1 - allow
|
|
# 1(allow) is required for Reboot, and for JOB to run with Run-user specified.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
AllowRoot=0
|
|
|
|
### Option: ListenIP
|
|
# IP address that Job Arranger Agent should listen on.
|
|
# This IP address is also used as SourceIP for connecting back to Job Arranger Server upon completion of Agent processing.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# ListenIP=0.0.0.0
|
|
|
|
### Option: Timeout
|
|
# Spend no more than Timeout seconds on processing
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1-300
|
|
# Default: 5 (second)
|
|
# Timeout=5
|
|
|
|
### Option: DebugLevel
|
|
# Specifies debug level
|
|
# 0 - no debug
|
|
# 1 - critical information
|
|
# 2 - error information
|
|
# 3 - warnings
|
|
# 4 - for debugging (produces lots of information)
|
|
#
|
|
# Mandatory: no
|
|
# Range: 0-4
|
|
# Default: 3
|
|
# DebugLevel=3
|
|
DebugLevel=3
|
|
|
|
### Option: LogFileSize
|
|
# Maximum size of log file in MB.
|
|
# 0 - disable automatic log rotation.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 0-1024
|
|
# Default: 1 (MB)
|
|
# LogFileSize=1
|
|
LogFileSize=10
|
|
|
|
############ JOB ARRANGER SPECIFIC PARAMETERS ################
|
|
|
|
### Option: LogType
|
|
# Specifies where log messages are written to:
|
|
# file - file specified with LogFile parameter
|
|
# system - syslog file.
|
|
#
|
|
# Mandatory: no
|
|
# Default:file
|
|
LogType=file
|
|
|
|
### Option: JaLogFile
|
|
# Name of log file.
|
|
# If not set, syslog is used.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# JaLogFile=
|
|
JaLogFile=/var/log/jobarranger/jobarg_agentd.log
|
|
|
|
### Option: JaPidFile
|
|
# Name of PID file.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# JaPidFile=/tmp/jobarg_agentd.pid
|
|
JaPidFile=/var/run/jobarranger/jobarg_agentd.pid
|
|
|
|
### Option: JaServerPort
|
|
# Specify the listening port of the job server.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1024-32767
|
|
# Default: 10061
|
|
# JaServerPort=10061
|
|
JaServerPort=10061
|
|
|
|
### Option: JaListenPort
|
|
# Agent will listen on this port for connections from the server.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1024-32767
|
|
# Default: 10055
|
|
# JaListenPort=10055
|
|
JaListenPort=10055
|
|
|
|
### Option: JaSendRetry
|
|
# The number of times of a retry when a data transmitting error occurs.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 0-3600
|
|
# Default: 30 (Number of times)
|
|
# JaSendRetry=30
|
|
JaSendRetry=30
|
|
|
|
### Option: JaDatabaseFile ##########################################
|
|
### Version 5.1 abolished SQLite DB and use job control data files directory instead.
|
|
##
|
|
## The file name used by SQLite.
|
|
##Mandatory: Not used from version 5.1
|
|
##Default:
|
|
##JaDatabaseFile=/var/lib/jobarranger/jobarg_agentd.db
|
|
### This DatabaseFile is deleted from version 5.1 ############
|
|
|
|
### Option: JaJobHistory
|
|
# Delete old data in job control data files directory(close) after this period passed.
|
|
# This period should be reconsidered by a daily data amount.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1-365
|
|
# Default: 1 (Day)
|
|
# JaJobHistory=1
|
|
|
|
### Option: JaBackupTime
|
|
# Specify the jabackup process interval time.
|
|
# Base starting time is UTC+0, and jabackup is performed in every this interval time from the starting time.
|
|
# This is used only in case of JaBackupRunTime is 24(Disabled).
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1-24
|
|
# Default: 24 (Time)
|
|
# JaBackupTime=24
|
|
|
|
### Option: JaBackupRunTime
|
|
# Specify the jabackup process starting time.
|
|
# jabackup is performed once at this time of the day based on host local time.
|
|
# This is used only the value is in the range from 0 to 23.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 0-23 (Time)
|
|
# Default: 24 (Disabled)
|
|
# JaBackupRunTime=24
|
|
|
|
### Option: JaExtjobPath
|
|
# Directory to place an extended job.
|
|
#
|
|
# Mandatory: yes
|
|
# Default:
|
|
# JaExtjobPath=
|
|
JaExtjobPath=/etc/jobarranger/extendedjob
|
|
|
|
### Option: JaFcopyTimeout
|
|
# The communication timeout value for a file transfer processing.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1-3600
|
|
# Default: 180 (second)
|
|
# JaFcopyTimeout=180
|
|
|
|
### Option: JaListenRetry
|
|
# Specifies the number of retries if a listen error occurs.
|
|
# Retry is performed every other second.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 0-3600
|
|
# Default: 30 (Number of times)
|
|
# JaListenRetry=30
|
|
|
|
### Option: JaExecutionUser
|
|
# Specify the execution user of Job Arranger Agent.
|
|
# This value is ignored in the windows version job agent.
|
|
#
|
|
# Mandatory: no
|
|
# Default: zabbix
|
|
# JaExecutionUser=zabbix
|
|
|
|
### Option: JaCommandUser
|
|
# Specify the user to run the command.
|
|
# You must set the "AllowRoot=1" option when using this option.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# JaCommandUser=
|
|
|
|
### Option: JaCommandPassword
|
|
# Specify the password for Windows user run the command.
|
|
# You must set the "AllowRoot=1" option when using this option.
|
|
# This value is ignored in the Linux version job agent.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# JaCommandPassword=
|