# Job Arranger for ZABBIX # This is a configuration file for Job Arranger Server 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= Include=/etc/zabbix/zabbix_server.conf ############ GENERAL PARAMETERS ################# ### Option: TmpDir # Used for job control data files directory. # Sub directories for managers are created at Server initial execution. # Housekeeping(Delete old data) is done by housekeeper manager # Do NOT use the same path as JAZ agent if both are installed on the same host # # Mandatory: yes # Default: # TmpDir= TmpDir=/var/lib/jobarranger/server ### Option: UnixSockParentDir # Used for unix domain socket files directory. # Do NOT use the same path as JAZ agent if both are installed on the same host # # Mandatory: yes # Default: # UnixSockParentDir= UnixSockParentDir=/usr/local/bin/jobarranger/server_socks ### Option: JobnetManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # Jobnet manager should be assigned at least the following minimum recommended connections: # JobnetManagerMaxDBConCount=4 # # Mandatory: yes # Default: #JobnetManagerMaxDBConCount= JobnetManagerMaxDBConCount=20 ### Option: FlowManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # Flow manager should be assigned at least the following minimum recommended connections: # FlowManagerMaxDBConCount=2 # # Mandatory: yes # Default: #FlowManagerMaxDBConCount= FlowManagerMaxDBConCount=10 ### Option: IconResultManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # Icon result manager should be assigned at least the following minimum recommended connections: # IconResultManagerMaxDBConCount=2 # # Mandatory: yes # Default: #IconResultManagerMaxDBConCount= IconResultManagerMaxDBConCount=10 ### Option: ZabbixLinkManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # Zabbix link manager should be assigned at least the following minimum recommended connections: # ZabbixLinkManagerMaxDBConCount=3 # # Mandatory: yes # Default: #ZabbixLinkManagerMaxDBConCount= ZabbixLinkManagerMaxDBConCount=5 ### Option: TimerManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # Timer manager should be assigned at least the following minimum recommended connections: # TimerManagerMaxDBConCount=2 # # Mandatory: yes # Default: #TimerManagerMaxDBConCount= TimerManagerMaxDBConCount=4 ### Option: HousekeeperManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # Housekeeper manager should be assigned at least the following minimum recommended connections: # HousekeeperManagerMaxDBConCount=4 # # Mandatory: yes # Default: #HousekeeperManagerMaxDBConCount= HousekeeperManagerMaxDBConCount=5 ### Option: NotificationManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # Notification manager should be assigned at least the following minimum recommended connections: # NotificationManagerMaxDBConCount=3 # # Mandatory: yes # Default: #NotificationManagerMaxDBConCount= NotificationManagerMaxDBConCount=4 ### Option: DBSyncerManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # DBSyncer manager should be assigned at least the following minimum recommended connections: # DBSyncerManagerMaxDBConCount=4 # # Mandatory: yes # Default: #DBSyncerManagerMaxDBConCount= DBSyncerManagerMaxDBConCount=20 ### Option: RecoveryManagerMaxDBConCount # Specifies the number of database connections for jobnet manager. # Recovery manager should be assigned at least the following minimum recommended connections: # RecoveryManagerMaxDBConCount=3 # # Mandatory: yes # Default: #RecoveryManagerMaxDBConCount= RecoveryManagerMaxDBConCount=4 ### Option: DBType # Specifies which database type to use. # maria - connect using maria database plugin # mysql - connect using mysql database plugin # postgres - connect using postgres database plugin # # Mandatory: yes # Default: # DBType= DBType=mysql ### Option: DBHost # Database host name. # If set to localhost, socket is used for MySQL. # If set to empty string, socket is used for PostgreSQL. # # Mandatory: no # Default: DBHost=127.0.0.1 ### Option: DBName # Database name. # # Mandatory: yes # Default: # DBName= DBName=zabbix ### Option: DBUser # Database user. # # Mandatory: yes # Default: # DBUser= DBUser=zabbix ### Option: DBPassword # Database password. # Comment this line if no password is used. # # Mandatory: no # Default: # DBPassword= DBPassword=Mysql#zab00 ### Option: DBPasswordExternal # JAZ will get Database password by running DBPasswordExternal's script on shell. # # Mandatory: no # Default: NULL # DBPasswordExternal= ### Option: DBSocket # Path to MySQL socket. # # Mandatory: no # Default: # DBSocket=/tmp/mysql.sock ### Option: DBPort # Database port when not using local socket. # # Mandatory: no # Range: 1024-65535 # Default: 3306 (for MySQL) # DBPort=3306 ### Option: JazDBHost # Database host name. # If set to localhost, socket is used for MySQL. # If set to empty string, socket is used for PostgreSQL. # # Mandatory: no # Default: JazDBHost=127.0.0.1 ### Option: JazDBName # Database name. # # Mandatory: yes # Default: # JazDBName= JazDBName=jobarranger ### Option: JazDBUser # Database user. # # Mandatory: yes # Default: # JazDBUser= JazDBUser=zabbix ### Option: JazDBPassword # Database password. # Comment this line if no password is used. # # Mandatory: no # Default: # JazDBPassword= JazDBPassword=Mysql#zab00 ### Option: JazDBPasswordExternal # JAZ will get Database password by running JazDBPasswordExternal's script on shell. # # Mandatory: no # Default: NULL # JazDBPasswordExternal= ### Option: JazDBSocket # Path to MySQL socket. # # Mandatory: no # Default: # JazDBSocket=/tmp/mysql.sock ### Option: JazDBPort # Database port when not using local socket. # # Mandatory: no # Range: 1024-65535 # Default: 3306 (for MySQL) # JazDBPort=3306 ### Option: MariaDBPlugin # Maria database plugin location. # # Mandatory: no # Default: /usr/local/bin/jobarranger/maria_database.so MariaDBPlugin=/usr/local/bin/jobarranger/maria_database.so ### Option: MysqlDBPlugin # Mysql database plugin location. # # Mandatory: no # Default: /usr/local/bin/jobarranger/mysql_database.so MysqlDBPlugin=/usr/local/bin/jobarranger/mysql_database.so ### Option: PostgresDBPlugin # Postgres database plugin location. # # Mandatory: no # Default: /usr/local/bin/jobarranger/psql_database.so PostgresDBPlugin=/usr/local/bin/jobarranger/psql_database.so ### Option: MariaDBRetryCodes # The list of MariaDB error codes that will cause the process to exit and reconnect from the beginning. # # Mandatory: yes # Default: MariaDBRetryCodes=1213,1205,2006,2013,1040 ### Option: MysqlDBRetryCodes # The list of Mysql error codes that will cause the process to exit and reconnect from the beginning. # # Mandatory: yes # Default: MysqlDBRetryCodes=1213,1205,2006,2013,1040 ### Option: PostgresDBRetryCodes # The list of PostgreSQL error codes that will cause the process to exit and reconnect from the beginning. # # Mandatory: yes # Default: PostgresDBRetryCodes=08000,08003,08006,08001,08004,08007,08P01,40000,40002,40001,40003,40P01,53000,53100,53200,53300,53400,55000,55006,55P02,55P03,55P04,57000,57014,57P01,57P02,57P03,57P04,57P05 ### Option: MariaDBSyncRetryCodes # The list of MariaDB error codes that will be retried on the DBSyncer without exiting the processes # # Mandatory: no # Default: MariaDBSyncRetryCodes=1213,1205 ### Option: MysqlDBSyncRetryCodes # The list of Mysql error codes that will be retried on the DBSyncer without exiting the processes # # Mandatory: no # Default: MysqlDBSyncRetryCodes=1213,1205 ### Option: PostgresDBSyncRetryCodes # The list of PostgreSQL error codes that will be retried on the DBSyncer without exiting the processes # # Mandatory: no # Default: PostgresDBSyncRetryCodes=40P01,55P03 ############ ZABBIX DATABASE TLS PARAMETERS ################# ### Option: DBTLSConnect # Setting this option enforces to use TLS connection to database. # required - connect using TLS # verify_ca - connect using TLS and verify certificate # verify_full - connect using TLS, verify certificate and verify that database identity specified by DBHost # matches its certificate # On MySQL starting from 5.7.11 and PostgreSQL following values are supported: "required", "verify_ca" and # "verify_full". # On MariaDB starting from version 10.2.6 "required" and "verify_full" values are supported. # Default is not to set any option and behavior depends on database configuration # # Mandatory: no # Default: # DBTLSConnect= ### Option: DBTLSCAFile # Full pathname of a file containing the top-level CA(s) certificates for database certificate verification. # Supported only for MySQL and PostgreSQL # # Mandatory: no # (yes, if DBTLSConnect set to one of: verify_ca, verify_full) # Default: # DBTLSCAFile= ### Option: DBTLSCertFile # Full pathname of file containing JobArranger server certificate for authenticating to database. # Supported only for MySQL and PostgreSQL # # Mandatory: no # Default: # DBTLSCertFile= ### Option: DBTLSKeyFile # Full pathname of file containing the private key for authenticating to database. # Supported only for MySQL and PostgreSQL # # Mandatory: no # Default: # DBTLSKeyFile= ### Option: DBTLSCipher # The list of encryption ciphers that JobArranger server permits for TLS protocols up through TLSv1.2 # Supported only for MySQL # # Mandatory no # Default: # DBTLSCipher= ### Option: DBTLSCipher13 # The list of encryption ciphersuites that JobArranger server permits for TLSv1.3 protocol # Supported only for MySQL, starting from version 8.0.16 # # Mandatory no # Default: # DBTLSCipher13= ############ JOBARRANGER DATABASE TLS PARAMETERS ################# ### Option: JazDBTLSConnect # Setting this option enforces to use TLS connection to database. # required - connect using TLS # verify_ca - connect using TLS and verify certificate # verify_full - connect using TLS, verify certificate and verify that database identity specified by JazDBHost # matches its certificate # On MySQL starting from 5.7.11 and PostgreSQL following values are supported: "required", "verify_ca" and # "verify_full". # On MariaDB starting from version 10.2.6 "required" and "verify_full" values are supported. # Default is not to set any option and behavior depends on database configuration # # Mandatory: no # Default: # JazDBTLSConnect= ### Option: JazDBTLSCAFile # Full pathname of a file containing the top-level CA(s) certificates for database certificate verification. # Supported only for MySQL and PostgreSQL # # Mandatory: no # (yes, if JazDBTLSConnect set to one of: verify_ca, verify_full) # Default: # JazDBTLSCAFile= ### Option: JazDBTLSCertFile # Full pathname of file containing JobArranger server certificate for authenticating to database. # Supported only for MySQL and PostgreSQL # # Mandatory: no # Default: # JazDBTLSCertFile= ### Option: JazDBTLSKeyFile # Full pathname of file containing the private key for authenticating to database. # Supported only for MySQL and PostgreSQL # # Mandatory: no # Default: # JazDBTLSKeyFile= ### Option: JazDBTLSCipher # The list of encryption ciphers that JobArranger server permits for TLS protocols up through TLSv1.2 # Supported only for MySQL # # Mandatory no # Default: # JazDBTLSCipher= ### Option: JazDBTLSCipher13 # The list of encryption ciphersuites that JobArranger server permits for TLSv1.3 protocol # Supported only for MySQL, starting from version 8.0.16 # # Mandatory no # Default: # JazDBTLSCipher13= ############ ADVANCED PARAMETERS ################ ### Option: ServerID # Jobarranger Server ID. # # Mandatory: no # Default:1 # ServerID=1 ### Option: JaPurgeLimit # JaPurge will limit how many records per transaction will be deleted. # # Mandatory: no # Default: 500 # JaPurgeLimit=500 ### Option: JaPurgeTime # JaPurge will only work with that time. End time must be greater than start time, eg: 01:00-02:00 otherwise japurge will never work. By default, JaPurge will always works. # # Mandatory: no # Default: 00:00-00:00 # JaPurgeTime=00:00-00:00 ### Option: LogSlowQueries # How long a database query may take before being logged (in milli seconds) # 0 - don't log slow queries. # # Mandatory: no # Range: 0-3600000 # Default: 0 # LogSlowQueries=0 ### Option: ListenIP # IP address that Trapper should listen on. # # Mandatory: no # Default: # ListenIP=0.0.0.0 ### Option: SourceIP # Source IP address for outgoing connections. # # Mandatory: no # Default: # SourceIP= ### Option: Timeout # Specifies how long we wait for job agent check. # # 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=100 ### Option: LogType # Specifies where log messages are written to: # file - file specified with LogFile parameter # console - standard output # system - syslog file. # # Mandatory: no # Default:file LogType=file ############ JOB ARRANGER SPECIFIC PARAMETERS ################ ### Option: JobnetManagerTransactionTimeout # Retrigger timeout of the transaction files under the /in directory of jobnetmanager # After the timeout, the transaction file will be retriggered to create an event for processing # # Mandatory: no # Default: 60 # JobnetManagerTransactionTimeout= ### Option: DBSyncerManagerTransactionTimeout # Retrigger timeout of the transaction files under the /in directory of dbsyncermanager # After the timeout, the transaction file will be retriggered to create an event for processing # # Mandatory: no # Default: 60 # DBSyncerManagerTransactionTimeout= ### Option: FlowManagerTransactionTimeout # Retrigger timeout of the transaction files under the /in directory of flowmanager # After the timeout, the transaction file will be retriggered to create an event for processing # # Mandatory: no # Default: 60 # FlowManagerTransactionTimeout= ### Option: IconExecManagerTransactionTimeout # Retrigger timeout of the transaction files under the /in directory of iconexecmanager # After the timeout, the transaction file will be retriggered to create an event for processing # # Mandatory: no # Default: 60 # IconExecManagerTransactionTimeout= ### Option: IconResultManagerTransactionTimeout # Retrigger timeout of the transaction files under the /in directory of iconresultcmanager # After the timeout, the transaction file will be retriggered to create an event for processing # # Mandatory: no # Default: 60 # IconResultManagerTransactionTimeout= ### Option: NotificationManagerTransactionTimeout # Retrigger timeout of the transaction files under the /in directory of notificationmanager # After the timeout, the transaction file will be retriggered to create an event for processing # # Mandatory: no # Default: 60 # NotificationManagerTransactionTimeout= ### Option: InitialStartTime # Check process initial start time. # If the running icon has not exceeded this initial start time, the check process will not run. # Once the icon runs longer than the specified InitialStartTime, the check process will begin executing. # # Mandatory: no # Range: 1-3600 # Default: 600 (second) # InitialStartTime= ### Option: JaChangeStatusTime # Duration after which a jobnet in "Run Error" status will automatically change to "Done Error" status. # This controls how long the system waits before finalizing an error state for jobnets that did not recover. # # Mandatory: no # Default: 43200 (Seconds) # JaChangeStatusTime= ### Option: RunRecordMoveTime # Time interval used by the housekeepermanager to move end or end error job records from the "run" table to the "ran" table. # # Mandatory: no # Default: 3600 (Seconds) # RunRecordMoveTime= ### Option: ArchiveInterval # Time interval for archiving old transaction files under end and error folder of each manager's directory. # After the specified interval, the housekeepermanager will archive transaction files that are no longer needed for processing. # # Mandatory: no # Default: 600 (Seconds) # ArchiveInterval= ### Option: JaExtjobWaitTime # Command execution timeout for the extension icon zabbix sender option. # # Mandatory: no # Range: 0-9999999 # Default: 300 (Seconds) # JaExtjobWaitTime= ### Option: JaLogFile # Name of Job Arranger log file. # If not set, syslog is used. # # Mandatory: no # Default: # JaLogFile= JaLogFile=/var/log/jobarranger/jobarg_server.log ### Option: JaPidFile # Name of PID file. # # Mandatory: no # Default: JaPidFile=/var/run/jobarranger/jobarg_server.pid ### Option: JaLoaderInterval # Jaloader Execution interval. # # Mandatory: no # Default: 30 (second) # JaLoaderInterval=30 ### Option: JaCheckJobInterval # Jaboot Execution interval. # # Mandatory: no # Range: 1-9999999 # Default: 60 (second) # JaCheckJobInterval=60 ### Option: JaIconRetry # The number of times of a retry when executing an icon # # Mandatory: no # Range: 0-9999999 # Default: 30 (Number of times) # JaIconRetry=30 JaIconRetry=30 ### Option: JaRunInterval # Jarun Execution interval. # # Mandatory: no # Default: 1 (second) # JaRunInterval=1 ### Option: JaMsgsndInterval # Jamsgsnd Execution interval. # # Mandatory: no # Default: 1 (second) # JaMsgsndInterval=1 ### Option: JaTrapperListenPort # Listen port for jatrapper. # # Mandatory: no # Default: 10061 # JaTrapperListenPort=10061 JaTrapperListenPort=10061 ### Option: JaAgentListenPort # Listen port for job agent. # # Mandatory: no # Default: 10055 # JaAgentListenPort=10055 JaAgentListenPort=10055 ### Option: JaExtjobPath # Directory to place an extended job. # # Mandatory: yes # Default: # JaExtjobPath= JaExtjobPath=/etc/jobarranger/extendedjob ### Option: JaErrorCmdPath # Directory to place an application error notification. # # Mandatory: yes # Default: # JaErrorCmdPath= JaErrorCmdPath=/etc/jobarranger/alert ### Option: JaLogMessageFile # Job Arranger application log message. # # Mandatory: yes # Default: # JaLogMessageFile= JaLogMessageFile=/etc/jobarranger/locale/server_logmessage_64BIT.txt ### Option: JaFcopyTimeout # The communication timeout value at the time of a file transfer. # # Mandatory: no # Range: 1-3600 # Default: 180 (second) # JaFcopyTimeout=180 ####################################################################################### ### Option: JaLoaderTimeout # Timeout interval for the ja_loader thread(process loop execution time). # # Mandatory: no # Range: 1-3600 # Default: 600 (second) # JaLoaderTimeout=600 ### Option: JaMsgsndTimeout # Timeout interval for the ja_msgsend thread(process loop execution time). # # Mandatory: no # Range: 1-3600 # Default: 600 (second) # JaMsgsndTimeout=600 ### Option: JaPurgeTimeout # Timeout interval for the ja_purge thread(process loop execution time). # # Mandatory: no # Range: 1-3600 # Default: 600 (second) # JaPurgeTimeout=600 ### Option: JaCheckJobTimeout # Timeout interval for the ja_check_job thread(process loop execution time). # # Mandatory: no # Range: 1-3600 # Default: 1800 (second) # JaCheckJobTimeout=1800 ####################################################################################### ### Option: JaLaunchInterval # Immediate start up interval of jobnet. # # Mandatory: no # Default: 1 (second) # JaLaunchInterval=1 ### Option: JaZabbixMessageFile # Zabbix status change message file directory. # # Mandatory: yes # Default: # JaZabbixMessageFile= JaZabbixMessageFile=/etc/jobarranger/locale ### Option: JaExecutionUser # Specify the execution user of job Arranger Server. # # Mandatory: no # Default: zabbix # JaExecutionUser=zabbix ### Option: JaZabbixURL # Zabbix URL for External I/F function commands # # Mandatory: no # Default: zabbix JaZabbixURL=http://10.0.28.143/zabbix/ ### Option: AgentLessRegex # Regular Expression to remove unwanted data in AgentLess-Icon STD_OUT # # Mandatory: no # Default: \x1b\\[[0-9;]*[a-zA-Z]|\x1b][^\x07]*\x07|\x1b\\[\\?2004[l,h] # AgentLessRegex= \x1b\\[[0-9;]*[a-zA-Z]|\x1b][^\x07]*\x07|\x1b\\[\\?2004[l,h] ### Option: Jaz1Support # Flag to determine support for JobArranger version 1 # 0 = not supported # 1 = supported # # Mandatory: no # Default: 0 Jaz1Support=0 ### Option: IconStopInterval # Interval request to kill new and old job icon # # Mandatory: no # Range: 1-3600 # Default: 60 (second) # IconStopInterval=60 ### Option: GCInterval # Interval (in minutes) to periodically run garbage collection and # release unused memory back to the OS. # # Mandatory: no # Range: 5-60 # Default: 5 # # GCInterval=5 ### Option: JaPurgeJobFileInterval # Interval (in days) to periodically purge Job files located under # trappermanager/job. Files older than the specified number of days # will be deleted automatically. # # Mandatory: no # Range: 1-7 # Default: 1 # # JaPurgeJobFileInterval=1