From Unique Bird, 8 Years ago, written in Plain Text.
Embed
  1. # This is a configuration file for Zabbix Proxy process
  2. # To get more information about Zabbix,
  3. # visit http://www.zabbix.com
  4.  
  5. ############ GENERAL PARAMETERS #################
  6.  
  7. ### Option: ProxyMode
  8. #       Proxy operating mode
  9. #       0 - proxy in the active mode
  10. #       1 - proxy in the passive mode
  11. #
  12. # Mandatory: no
  13. # Default:
  14. # ProxyMode=0
  15.  
  16. ### Option: Server
  17. #       IP address (or hostname) of Zabbix server.
  18. #       Active proxy will get configuration data from the server.
  19. #       For a proxy in the passive mode this parameter will be ignored.
  20. #
  21. # Mandatory: yes (if ProxyMode is set to 0)
  22. # Default:
  23. # Server=
  24.  
  25. Server=zabbix-monitoring-1743492837.us-east-1.elb.amazonaws.com
  26.  
  27. ### Option: ServerPort
  28. #       Port of Zabbix trapper on Zabbix server.
  29. #       For a proxy in the passive mode this parameter will be ignored.
  30. #
  31. # Mandatory: no
  32. # Range: 1024-32767
  33. # Default:
  34. ServerPort=10051
  35.  
  36. ### Option: Hostname
  37. #       Unique, case sensitive Proxy name. Make sure the Proxy name is known to the server!
  38. #       Value is acquired from HostnameItem if undefined.
  39. #
  40. # Mandatory: no
  41. # Default:
  42. # Hostname=
  43.  
  44. Hostname=edcloud_zabbix_proxy
  45.  
  46. ### Option: HostnameItem
  47. #       Item used for generating Hostname if it is undefined.
  48. #       Ignored if Hostname is defined.
  49. #
  50. # Mandatory: no
  51. # Default:
  52. # HostnameItem=system.hostname
  53.  
  54. ### Option: ListenPort
  55. #       Listen port for trapper.
  56. #
  57. # Mandatory: no
  58. # Range: 1024-32767
  59. # Default:
  60. ListenPort=10052
  61.  
  62. ### Option: SourceIP
  63. #       Source IP address for outgoing connections.
  64. #
  65. # Mandatory: no
  66. # Default:
  67. SourceIP=10.0.2.99
  68.  
  69. ### Option: LogFile
  70. #       Name of log file.
  71. #       If not set, syslog is used.
  72. #
  73. # Mandatory: no
  74. # Default:
  75. # LogFile=
  76.  
  77. LogFile=/var/log/zabbix/zabbix_proxy.log
  78.  
  79. ### Option: LogFileSize
  80. #       Maximum size of log file in MB.
  81. #       0 - disable automatic log rotation.
  82. #
  83. # Mandatory: no
  84. # Range: 0-1024
  85. # Default:
  86. # LogFileSize=1
  87.  
  88. #LogFileSize=0
  89.  
  90. ### Option: DebugLevel
  91. #       Specifies debug level
  92. #       0 - basic information about starting and stopping of Zabbix processes
  93. #       1 - critical information
  94. #       2 - error information
  95. #       3 - warnings
  96. #       4 - for debugging (produces lots of information)
  97. #
  98. # Mandatory: no
  99. # Range: 0-4
  100. # Default:
  101. # DebugLevel=3
  102.  
  103. ### Option: PidFile
  104. #       Name of PID file.
  105. #
  106. # Mandatory: no
  107. # Default:
  108. # PidFile=/tmp/zabbix_proxy.pid
  109.  
  110. PidFile=/var/run/zabbix/zabbix_proxy.pid
  111.  
  112. ### Option: DBHost
  113. #       Database host name.
  114. #       If set to localhost, socket is used for MySQL.
  115. #       If set to empty string, socket is used for PostgreSQL.
  116. #
  117. # Mandatory: no
  118. # Default:
  119. # DBHost=localhost
  120.  
  121. #DBHost=localhost
  122.  
  123. ### Option: DBName
  124. #       Database name.
  125. #       For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
  126. #       Warning: do not attempt to use the same database Zabbix server is using.
  127. #
  128. # Mandatory: yes
  129. # Default:
  130. # DBName=
  131.  
  132. DBName=zabbix_proxy
  133.  
  134. ### Option: DBSchema
  135. #       Schema name. Used for IBM DB2 and PostgreSQL.
  136. #
  137. # Mandatory: no
  138. # Default:
  139. # DBSchema=
  140.  
  141. ### Option: DBUser
  142. #       Database user. Ignored for SQLite.
  143. #
  144. # Default:
  145. # DBUser=
  146.  
  147. DBUser=zabbix
  148.  
  149. ### Option: DBPassword
  150. #       Database password. Ignored for SQLite.
  151. #       Comment this line if no password is used.
  152. #
  153. # Mandatory: no
  154. # Default:
  155. # DBPassword=
  156.  
  157. DBPassword=XXXXXXX
  158.  
  159. ### Option: DBSocket
  160. #       Path to MySQL socket.
  161. #
  162. # Mandatory: no
  163. # Default:
  164. # DBSocket=/tmp/mysql.sock
  165.  
  166. #DBSocket=/var/run/mysqld/mysqld.sock
  167.  
  168. # Option: DBPort
  169. #       Database port when not using local socket. Ignored for SQLite.
  170. #
  171. # Mandatory: no
  172. # Default (for MySQL):
  173. #DBPort=5432
  174.  
  175. ######### PROXY SPECIFIC PARAMETERS #############
  176.  
  177. ### Option: ProxyLocalBuffer
  178. #       Proxy will keep data locally for N hours, even if the data have already been synced with the server.
  179. #       This parameter may be used if local data will be used by third party applications.
  180. #
  181. # Mandatory: no
  182. # Range: 0-720
  183. # Default:
  184. # ProxyLocalBuffer=0
  185.  
  186. ### Option: ProxyOfflineBuffer
  187. #       Proxy will keep data for N hours in case if no connectivity with Zabbix Server.
  188. #       Older data will be lost.
  189. #
  190. # Mandatory: no
  191. # Range: 1-720
  192. # Default:
  193. # ProxyOfflineBuffer=1
  194.  
  195. ### Option: HeartbeatFrequency
  196. #       Frequency of heartbeat messages in seconds.
  197. #       Used for monitoring availability of Proxy on server side.
  198. #       0 - heartbeat messages disabled.
  199. #       For a proxy in the passive mode this parameter will be ignored.
  200. #
  201. # Mandatory: no
  202. # Range: 0-3600
  203. # Default:
  204. # HeartbeatFrequency=60
  205.  
  206. ### Option: ConfigFrequency
  207. #       How often proxy retrieves configuration data from Zabbix Server in seconds.
  208. #       For a proxy in the passive mode this parameter will be ignored.
  209. #
  210. # Mandatory: no
  211. # Range: 1-3600*24*7
  212. # Default:
  213. # ConfigFrequency=3600
  214.  
  215. ### Option: DataSenderFrequency
  216. #       Proxy will send collected data to the Server every N seconds.
  217. #       For a proxy in the passive mode this parameter will be ignored.
  218. #
  219. # Mandatory: no
  220. # Range: 1-3600
  221. # Default:
  222. # DataSenderFrequency=1
  223.  
  224. ############ ADVANCED PARAMETERS ################
  225.  
  226. ### Option: StartPollers
  227. #       Number of pre-forked instances of pollers.
  228. #
  229. # Mandatory: no
  230. # Range: 0-1000
  231. # Default:
  232. # StartPollers=5
  233.  
  234. ### Option: StartIPMIPollers
  235. #       Number of pre-forked instances of IPMI pollers.
  236. #
  237. # Mandatory: no
  238. # Range: 0-1000
  239. # Default:
  240. # StartIPMIPollers=0
  241.  
  242. ### Option: StartPollersUnreachable
  243. #       Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
  244. #       At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
  245. #       are started.
  246. #
  247. # Mandatory: no
  248. # Range: 0-1000
  249. # Default:
  250. # StartPollersUnreachable=1
  251.  
  252. ### Option: StartTrappers
  253. #       Number of pre-forked instances of trappers.
  254. #       Trappers accept incoming connections from Zabbix sender and active agents.
  255. #
  256. # Mandatory: no
  257. # Range: 0-1000
  258. # Default:
  259. # StartTrappers=5
  260.  
  261. ### Option: StartPingers
  262. #       Number of pre-forked instances of ICMP pingers.
  263. #
  264. # Mandatory: no
  265. # Range: 0-1000
  266. # Default:
  267. # StartPingers=1
  268.  
  269. ### Option: StartDiscoverers
  270. #       Number of pre-forked instances of discoverers.
  271. #
  272. # Mandatory: no
  273. # Range: 0-250
  274. # Default:
  275. # StartDiscoverers=1
  276.  
  277. ### Option: StartHTTPPollers
  278. #       Number of pre-forked instances of HTTP pollers.
  279. #
  280. # Mandatory: no
  281. # Range: 0-1000
  282. # Default:
  283. # StartHTTPPollers=1
  284.  
  285. ### Option: JavaGateway
  286. #       IP address (or hostname) of Zabbix Java gateway.
  287. #       Only required if Java pollers are started.
  288. #
  289. # Mandatory: no
  290. # Default:
  291. # JavaGateway=
  292.  
  293. ### Option: JavaGatewayPort
  294. #       Port that Zabbix Java gateway listens on.
  295. #
  296. # Mandatory: no
  297. # Range: 1024-32767
  298. # Default:
  299. # JavaGatewayPort=10052
  300.  
  301. ### Option: StartJavaPollers
  302. #       Number of pre-forked instances of Java pollers.
  303. #
  304. # Mandatory: no
  305. # Range: 0-1000
  306. # Default:
  307. # StartJavaPollers=0
  308.  
  309. ### Option: StartVMwareCollectors
  310. #       Number of pre-forked vmware collector instances.
  311. #
  312. # Mandatory: no
  313. # Range: 0-250
  314. # Default:
  315. # StartVMwareCollectors=0
  316.  
  317. ### Option: VMwareFrequency
  318. #       How often Zabbix will connect to VMware service to obtain a new data.
  319. #
  320. # Mandatory: no
  321. # Range: 10-86400
  322. # Default:
  323. # VMwareFrequency=60
  324.  
  325. ### Option: VMwarePerfFrequency
  326. #       How often Zabbix will connect to VMware service to obtain performance data.
  327. #
  328. # Mandatory: no
  329. # Range: 10-86400
  330. # Default:
  331. # VMwarePerfFrequency=60
  332.  
  333. ### Option: VMwareCacheSize
  334. #       Size of VMware cache, in bytes.
  335. #       Shared memory size for storing VMware data.
  336. #       Only used if VMware collectors are started.
  337. #
  338. # Mandatory: no
  339. # Range: 256K-2G
  340. # Default:
  341. # VMwareCacheSize=8M
  342.  
  343. ### Option: VMwareTimeout
  344. #       Specifies how many seconds vmware collector waits for response from VMware service.
  345. #
  346. # Mandatory: no
  347. # Range: 1-300
  348. # Default:
  349. # VMwareTimeout=10
  350.  
  351. ### Option: SNMPTrapperFile
  352. #       Temporary file used for passing data from SNMP trap daemon to the proxy.
  353. #       Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
  354. #
  355. # Mandatory: no
  356. # Default:
  357. # SNMPTrapperFile=/tmp/zabbix_traps.tmp
  358.  
  359. ### Option: StartSNMPTrapper
  360. #       If 1, SNMP trapper process is started.
  361. #
  362. # Mandatory: no
  363. # Range: 0-1
  364. # Default:
  365. # StartSNMPTrapper=0
  366.  
  367. ### Option: ListenIP
  368. #       List of comma delimited IP addresses that the trapper should listen on.
  369. #       Trapper will listen on all network interfaces if this parameter is missing.
  370. #
  371. # Mandatory: no
  372. # Default:
  373. # ListenIP=0.0.0.0
  374.  
  375. ### Option: HousekeepingFrequency
  376. #       How often Zabbix will perform housekeeping procedure (in hours).
  377. #       Housekeeping is removing outdated information from the database.
  378. #       To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
  379. #       hours of outdated information are deleted in one housekeeping cycle.
  380. #       To lower load on proxy startup housekeeping is postponed for 30 minutes after proxy start.
  381. #
  382. # Mandatory: no
  383. # Range: 1-24
  384. # Default:
  385. # HousekeepingFrequency=1
  386.  
  387. ### Option: CacheSize
  388. #       Size of configuration cache, in bytes.
  389. #       Shared memory size, for storing hosts and items data.
  390. #
  391. # Mandatory: no
  392. # Range: 128K-8G
  393. # Default:
  394. # CacheSize=8M
  395.  
  396. ### Option: StartDBSyncers
  397. #       Number of pre-forked instances of DB Syncers
  398. #
  399. # Mandatory: no
  400. # Range: 1-100
  401. # Default:
  402. # StartDBSyncers=4
  403.  
  404. ### Option: HistoryCacheSize
  405. #       Size of history cache, in bytes.
  406. #       Shared memory size for storing history data.
  407. #
  408. # Mandatory: no
  409. # Range: 128K-2G
  410. # Default:
  411. # HistoryCacheSize=8M
  412.  
  413. ### Option: HistoryTextCacheSize
  414. #       Size of text history cache, in bytes.
  415. #       Shared memory size for storing character, text or log history data.
  416. #
  417. # Mandatory: no
  418. # Range: 128K-2G
  419. # Default:
  420. # HistoryTextCacheSize=16M
  421.  
  422. ### Option: Timeout
  423. #       Specifies how long we wait for agent, SNMP device or external check (in seconds).
  424. #
  425. # Mandatory: no
  426. # Range: 1-30
  427. # Default:
  428. # Timeout=3
  429.  
  430. ### Option: TrapperTimeout
  431. #       Specifies how many seconds trapper may spend processing new data.
  432. #
  433. # Mandatory: no
  434. # Range: 1-300
  435. # Default:
  436. # TrapperTimeout=300
  437.  
  438. ### Option: UnreachablePeriod
  439. #       After how many seconds of unreachability treat a host as unavailable.
  440. #
  441. # Mandatory: no
  442. # Range: 1-3600
  443. # Default:
  444. # UnreachablePeriod=45
  445.  
  446. ### Option: UnavailableDelay
  447. #       How often host is checked for availability during the unavailability period, in seconds.
  448. #
  449. # Mandatory: no
  450. # Range: 1-3600
  451. # Default:
  452. # UnavailableDelay=60
  453.  
  454. ### Option: UnreachableDelay
  455. #       How often host is checked for availability during the unreachability period, in seconds.
  456. #
  457. # Mandatory: no
  458. # Range: 1-3600
  459. # Default:
  460. # UnreachableDelay=15
  461.  
  462. ### Option: ExternalScripts
  463. #       Full path to location of external scripts.
  464. #       Default depends on compilation options.
  465. #
  466. # Mandatory: no
  467. # Default:
  468. # ExternalScripts=${datadir}/zabbix/externalscripts
  469.  
  470. #ExternalScripts=/usr/lib/zabbix/externalscripts
  471.  
  472. ### Option: FpingLocation
  473. #       Location of fping.
  474. #       Make sure that fping binary has root ownership and SUID flag set.
  475. #
  476. # Mandatory: no
  477. # Default:
  478. # FpingLocation=/usr/sbin/fping
  479.  
  480. FpingLocation=/usr/bin/fping
  481.  
  482. ### Option: Fping6Location
  483. #       Location of fping6.
  484. #       Make sure that fping6 binary has root ownership and SUID flag set.
  485. #       Make empty if your fping utility is capable to process IPv6 addresses.
  486. #
  487. # Mandatory: no
  488. # Default:
  489. # Fping6Location=/usr/sbin/fping6
  490.  
  491. #Fping6Location=
  492.  
  493. ### Option: SSHKeyLocation
  494. #       Location of public and private keys for SSH checks and actions.
  495. #
  496. # Mandatory: no
  497. # Default:
  498. # SSHKeyLocation=
  499.  
  500. ### Option: LogSlowQueries
  501. #       How long a database query may take before being logged (in milliseconds).
  502. #       Only works if DebugLevel set to 3 or 4.
  503. #       0 - don't log slow queries.
  504. #
  505. # Mandatory: no
  506. # Range: 1-3600000
  507. # Default:
  508. # LogSlowQueries=0
  509.  
  510. ### Option: TmpDir
  511. #       Temporary directory.
  512. #
  513. # Mandatory: no
  514. # Default:
  515. # TmpDir=/tmp
  516.  
  517. ### Option: AllowRoot
  518. #       Allow the proxy to run as 'root'. If disabled and the proxy is started by 'root', the proxy
  519. #       will try to switch to the user specified by the User configuration option instead.
  520. #       Has no effect if started under a regular user.
  521. #       0 - do not allow
  522. #       1 - allow
  523. #
  524. # Mandatory: no
  525. # Default:
  526. # AllowRoot=0
  527.  
  528. ### Option: User
  529. #       Drop privileges to a specific, existing user on the system.
  530. #       Only has effect if run as 'root' and AllowRoot is disabled.
  531. #
  532. # Mandatory: no
  533. # Default:
  534. # User=zabbix
  535.  
  536. ### Option: Include
  537. #       You may include individual files or all files in a directory in the configuration file.
  538. #       Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
  539. #
  540. # Mandatory: no
  541. # Default:
  542. # Include=
  543.  
  544. # Include=/usr/local/etc/zabbix_proxy.general.conf
  545. # Include=/usr/local/etc/zabbix_proxy.conf.d/
  546. # Include=/usr/local/etc/zabbix_proxy.conf.d/*.conf
  547.  
  548. ### Option: SSLCertLocation
  549. #       Location of SSL client certificates.
  550. #       This parameter is used only in web monitoring.
  551. #
  552. # Mandatory: no
  553. # Default:
  554. # SSLCertLocation=${datadir}/zabbix/ssl/certs
  555.  
  556. ### Option: SSLKeyLocation
  557. #       Location of private keys for SSL client certificates.
  558. #       This parameter is used only in web monitoring.
  559. #
  560. # Mandatory: no
  561. # Default:
  562. # SSLKeyLocation=${datadir}/zabbix/ssl/keys
  563.  
  564. ### Option: SSLCALocation
  565. #       Location of certificate authority (CA) files for SSL server certificate verification.
  566. #       If not set, system-wide directory will be used.
  567. #       This parameter is used only in web monitoring.
  568. #
  569. # Mandatory: no
  570. # Default:
  571. # SSLCALocation=
  572.  
  573. ####### LOADABLE MODULES #######
  574.  
  575. ### Option: LoadModulePath
  576. #       Full path to location of proxy modules.
  577. #       Default depends on compilation options.
  578. #
  579. # Mandatory: no
  580. # Default:
  581. # LoadModulePath=${libdir}/modules
  582.  
  583. ### Option: LoadModule
  584. #       Module to load at proxy startup. Modules are used to extend functionality of the proxy.
  585. #       Format: LoadModule=<module.so>
  586. #       The modules must be located in directory specified by LoadModulePath.
  587. #       It is allowed to include multiple LoadModule parameters.
  588. #
  589. # Mandatory: no
  590. # Default:
  591. # LoadModule=