zabbix: update
This commit is contained in:
parent
70e24fbd23
commit
82822f1cfe
|
@ -1,21 +1,25 @@
|
||||||
AUX 3.0/conf.d/zabbix-jmx-proxy 432 SHA256 d6589913af04941843edc56b5d408ac7f8c7550810635f43275eabad6f91c060 SHA512 0d68b9681528256131e35b5115053242f8558f5ad06254e61a16ab14f6530048551f0b777fa81d4afe07cc6282c31a6204fd0ee2e56e0e792ed3252222212250 WHIRLPOOL 24b3510859c7eedaaaf46b7e474ba2698006c856082f2d5fa725c5cdb77483857e16f2a17bdd71cef0b9a6f73e20d6cda2b385381fa91b88ea2b7f707e596f2c
|
AUX 3.0/conf.d/zabbix-jmx-proxy 432 BLAKE2B 188737819d39b9e8ec8913237ff048a68ef19f2ec8849bab6c62bea612ac927d00a6c7042ba87261297ff580ef9976618d6acbd24c7fda8f6eb26b2b3dc891bb SHA512 0d68b9681528256131e35b5115053242f8558f5ad06254e61a16ab14f6530048551f0b777fa81d4afe07cc6282c31a6204fd0ee2e56e0e792ed3252222212250
|
||||||
AUX 3.0/init.d/zabbix-agentd 614 SHA256 dc21836224634110dcc347209a70d48fccc0a487dda936bbfb109a1f12cfa735 SHA512 fc067752e7565e1bb95bd728529d92313dcca5f8dc4165d05bc1077b297fbd676c3a2994cfa80c394eede91309604274ffb69a203a15c502ffd3b3b0a11fa25e WHIRLPOOL 04ffea8d28cc2954260c2343b32d2b01f7fd7b1fb76b81c9c6c5e1cd726543b4f4785b93d09376fa825f19e573c4c0739f83c251b6900af5571845a78ba85054
|
AUX 3.0/init.d/zabbix-agentd 614 BLAKE2B 15f21fa10248d966f391940283cfb8fe4314a60b7e9ff3bdd4ec00378be3689a7f635a70b392aa5444e64ec2020f99b40e5f4bdbd9a13448c7585f0c071ca652 SHA512 fc067752e7565e1bb95bd728529d92313dcca5f8dc4165d05bc1077b297fbd676c3a2994cfa80c394eede91309604274ffb69a203a15c502ffd3b3b0a11fa25e
|
||||||
AUX 3.0/init.d/zabbix-jmx-proxy 849 SHA256 487d0ca5d112d465dc1bf11d5dbad0ade773aca9c2d18526695c6449e9b27187 SHA512 79a1966405546899b2e6eb4cb53f0ea1ec70575cbf97ff0f9de16d662c5750f8bf276bf8eadaf00cb69ffa078b79e9144eb9824eec6a23df6b2cd315b79b05d8 WHIRLPOOL 805e5ca1fde95e310034926ab05981015c01d29ae1cacf2fbd41807186b2f57681b33dfbc34a1454800166129eb1efd5ee34f95fc7c48d25d538ff9c24b92369
|
AUX 3.0/init.d/zabbix-jmx-proxy 849 BLAKE2B 14a312911a11d765210f3bd86d38c8ce3a2f230c821a03d2dd3b2a2aaf05a86cf64a59ea283ad0f11b62fe17a81936cef03463e5cee6535f1a51558b7bad790a SHA512 79a1966405546899b2e6eb4cb53f0ea1ec70575cbf97ff0f9de16d662c5750f8bf276bf8eadaf00cb69ffa078b79e9144eb9824eec6a23df6b2cd315b79b05d8
|
||||||
AUX 3.0/init.d/zabbix-proxy 592 SHA256 b02705c0768f693d8fa8875d10e78c50dd0f197e980cb7ef936b142976d088bb SHA512 bac61971af0c59c3eb05693ab6d269f2abe91bd99f3e4d6c37bcb13b085d368f6d01d9b278a9397418a47b90da0e65bbb79633b5d6882027559340b5e2c0dc2f WHIRLPOOL d0556a83dd63e35a23349ea73d82b38c50527ce78146e031773baf8af3733a3c01036e69d90f635cf2200017139aec3bd30226063e74d8a621d1f3bcaf442323
|
AUX 3.0/init.d/zabbix-proxy 592 BLAKE2B 2d07de0306ed933444c0206a53c31d5623a16f996ade90ce8c9e45b97e8c346bf27f0f23d98f38f6ed81bd124d08e2c65fa5216c33b8b484e0972e05e2c48eee SHA512 bac61971af0c59c3eb05693ab6d269f2abe91bd99f3e4d6c37bcb13b085d368f6d01d9b278a9397418a47b90da0e65bbb79633b5d6882027559340b5e2c0dc2f
|
||||||
AUX 3.0/init.d/zabbix-server 603 SHA256 b5042ad654a76ae1e7eed41f37dd10694df027815e2547fe8db4f95e84af95dc SHA512 b0906b4dc7b8b523794d6e99e059f46e2fee106bbbfb4f1075e6596f0fc25001ddf992dce7128bdde3b66cf508d483a15b3ab8d63f0d28182853364569be05b9 WHIRLPOOL ee7cdb2d9f0a96d0908e7a83ef2f4c04fa81d9a8f8e65d5de6e4edcd6ac7af29eb8dfea69c3b38d8dfa0538dc552a08428374ff4b319d1cac9e94e41029bfe6c
|
AUX 3.0/init.d/zabbix-server 603 BLAKE2B 1367c52233b474eb462ea4ffe9037b244cdd4d66a3c87288437fb0fe25fabd42445566b1eeb6c70d297281db56a10488461736a888e6745547d36253da9b05a2 SHA512 b0906b4dc7b8b523794d6e99e059f46e2fee106bbbfb4f1075e6596f0fc25001ddf992dce7128bdde3b66cf508d483a15b3ab8d63f0d28182853364569be05b9
|
||||||
AUX 3.0/zabbix_agent.conf 2138 SHA256 b3bc0b5facf5d55e50722ea109fbd3dd4757130f555ff6ecd4bd18ed8c795739 SHA512 7cfd6c1b1ec29b72a8d82f8d026cce2c6f56cd4c49d0a9f987193f812032dc26c814bd30f7ff115950dba1a8319d4e1bceebbdcc87f221e0fc34feb8c0264e56 WHIRLPOOL 84bf7e3421315157dff172060fc8d934dc05fa32ee393312be6ae10de5190dcd8749aabd724becf0c2d6eb530b385fbf6617b0288b0c141bd7cf446e7d356133
|
AUX 3.0/zabbix_agent.conf 2138 BLAKE2B b9caab95e3b796de7a3c34a0b485f93d338c854d548ec07dda09372f0e068d9866d8bf6aad63ce39c2ab3c260e05ba26c9f766d47281b6fd083f8a4d7d91e556 SHA512 7cfd6c1b1ec29b72a8d82f8d026cce2c6f56cd4c49d0a9f987193f812032dc26c814bd30f7ff115950dba1a8319d4e1bceebbdcc87f221e0fc34feb8c0264e56
|
||||||
AUX 3.0/zabbix_agentd.conf 10299 SHA256 8309d9c9085f1de9e6e3c74f05d8463b2d6d843f40a3fb556d837c6b53ad5ddb SHA512 ed2e8fca996b5227616a01a2479ca5910833e67d4c30b99b2f70a1618d0ec6f44b5a9d68de81131e1d84cd93a6e39ddf1ecb79beb7cb853232cb9ea0b5f6a3d9 WHIRLPOOL 88b5b8899da2b57123eb33a637be6333f2b4b3d24758ade644ccaf820697166e1eee84e160b138f0c5d720f62c1b65cc1daa46197eb6fa143b92a2edd9ebff38
|
AUX 3.0/zabbix_agentd.conf 10299 BLAKE2B 23ce2d3dd0b3a033ca98127ff62e78af043f8a75750d9956121a6ab6b2d925ef9cf1062a84425ba599add9e05ec9e8db76e80a84c7b94919377e1b9ac53a1994 SHA512 ed2e8fca996b5227616a01a2479ca5910833e67d4c30b99b2f70a1618d0ec6f44b5a9d68de81131e1d84cd93a6e39ddf1ecb79beb7cb853232cb9ea0b5f6a3d9
|
||||||
AUX 3.0/zabbix_proxy.conf 15824 SHA256 dc1b0ed18ec3f5af28557a5b7672dc5714fe20df84c9a317319528221f5fe24a SHA512 7f06f7e5514cc30d8f477a522fb37d4ff70307a78c9c748bccc6b352031f85947563a3f965986a9549a6a868bdac9c40d2596ea2e91affe507e0387443b1aab7 WHIRLPOOL f5c10bc14cd601e7ed56c9dc9111bd914305a32d88b1cd3a4c30a071b55457dbb71c3d2e9473cab2be679f0428f21e5a8e434f50caff6b27ff0f2dfa057a5a4a
|
AUX 3.0/zabbix_proxy.conf 15824 BLAKE2B 9055f6cd56407a90dd1dff80b2d08686d285f9b9111d8eaa37f4d25604ba8d27a3e1cde35b7b9f57df2993e9c4b1c8e9428cf61939bc9be74a1781688c0d57e9 SHA512 7f06f7e5514cc30d8f477a522fb37d4ff70307a78c9c748bccc6b352031f85947563a3f965986a9549a6a868bdac9c40d2596ea2e91affe507e0387443b1aab7
|
||||||
AUX 3.0/zabbix_server.conf 14822 SHA256 390e08a1034fdcf8c49ee07f5754fd7a8b05401b24e0c507ed626de39da7894e SHA512 755b8b80d8e10620f8d4d19fb22f3b99633a4904d134665aed982da9a43b2666b622753f7990d27d90d9645fa391882e46c8e37540a107852514d2966b0ce5e2 WHIRLPOOL 7aca42ec5fd5f48b3b4f0e7fa67dc6f8fa0934eb3d45cb63ba7f0227174f46183341aa8b20333a72902204c0701827e8be688c6bfd81ee27df37226cc4190cce
|
AUX 3.0/zabbix_server.conf 14822 BLAKE2B 055a45ccd7199a2adbaf0a1ffe200b73b0aedd8eb72e273d9fa0ef26068e201177aec47bc4c40d43b6da548751370c8d3a216c1c6dd1eacb9fc96f980fb13630 SHA512 755b8b80d8e10620f8d4d19fb22f3b99633a4904d134665aed982da9a43b2666b622753f7990d27d90d9645fa391882e46c8e37540a107852514d2966b0ce5e2
|
||||||
AUX zabbix-agentd.service 254 SHA256 0cb3dce6c208d1bdcc9f258bf04904932a30e4a3ab6e45aa6b3a687fb807d3e3 SHA512 f740ef1f6f698eab0ebe894ba726b7a4b35379974c3f5dda26c43c6360f0b8f86f2846c085befe485ced6345fd39e67fe221ce9f08955896e4ccb5561e124c01 WHIRLPOOL fd3421c1197652b47393df3e6f25d2fbff0e7cf0419b518c6f3a23a0ef31f42123694826971253affb07daabdb4e70eb983d7fc560da80c8d05f0189a9fe8af5
|
AUX zabbix-agentd.service 254 BLAKE2B 05e1811530fe9df3212c5700f1865c6f888de4e6f34630ebcd704283ed2d87eb12a8302213cd0c88a7c10c64ec2884f0e54a4b1568eb619d4bd4d4cabdaa5aaf SHA512 f740ef1f6f698eab0ebe894ba726b7a4b35379974c3f5dda26c43c6360f0b8f86f2846c085befe485ced6345fd39e67fe221ce9f08955896e4ccb5561e124c01
|
||||||
AUX zabbix-agentd.tmpfiles 35 SHA256 d0516a64ad0841dac41faf0ca709ff16405346f1e9d1bcb00dcffe37ac6b689b SHA512 3c63a2791e6ac77cb3144eb47a275cc8748f5c8943a076052300d6964994b95b18d60f504584fdcb683739dc514261402895e3f30ae2fbdb218acbc42c3d72df WHIRLPOOL f8a3202aa65ecdf733cd8f9208c294dd2086d4de11682c01bd18f7122b0c3d2e1e3da4775020beca68f5bb9be8e14f57c50b0c18ecbad3c2c23237d3572e3b39
|
AUX zabbix-agentd.tmpfiles 35 BLAKE2B 98e917ef03bd6dc5d73e5cbdb140c7e115c7593d5cebf2df9bf3d15713b16c6a44b165a3f68fd36a9119163144a2761457d16ce318bd094ed76ae6040c8b09df SHA512 3c63a2791e6ac77cb3144eb47a275cc8748f5c8943a076052300d6964994b95b18d60f504584fdcb683739dc514261402895e3f30ae2fbdb218acbc42c3d72df
|
||||||
AUX zabbix-proxy.service 244 SHA256 e0b65f25da5d4db20b50a62a50802f6692181365d43a09e59af906f78a1ccfef SHA512 450bc0ccd110fb012c31e43fc1dd92604255f7577dabce49e67b36f80ef73a1ddfd967e9ca7ccd37dc13e5ac50e0c45bf924999f4e3c7b13ddd284f89f076bad WHIRLPOOL 4b16647b07b30e59d2baa4b53a767154cf06d181813fda92df03f1fa11737abb4070f065f743fde34fa45a2dae614131420c07d61bb3390e1a696625967e09d2
|
AUX zabbix-proxy.service 244 BLAKE2B ff0407fb1818ed776b2d2f13c19a32f81755bde096e4dbfd358b207ba5290106ed40093770a719d386e5d37bf8bae45fd538b777380b80493b8241ff3cd7e12a SHA512 450bc0ccd110fb012c31e43fc1dd92604255f7577dabce49e67b36f80ef73a1ddfd967e9ca7ccd37dc13e5ac50e0c45bf924999f4e3c7b13ddd284f89f076bad
|
||||||
AUX zabbix-proxy.tmpfiles 35 SHA256 d0516a64ad0841dac41faf0ca709ff16405346f1e9d1bcb00dcffe37ac6b689b SHA512 3c63a2791e6ac77cb3144eb47a275cc8748f5c8943a076052300d6964994b95b18d60f504584fdcb683739dc514261402895e3f30ae2fbdb218acbc42c3d72df WHIRLPOOL f8a3202aa65ecdf733cd8f9208c294dd2086d4de11682c01bd18f7122b0c3d2e1e3da4775020beca68f5bb9be8e14f57c50b0c18ecbad3c2c23237d3572e3b39
|
AUX zabbix-proxy.tmpfiles 35 BLAKE2B 98e917ef03bd6dc5d73e5cbdb140c7e115c7593d5cebf2df9bf3d15713b16c6a44b165a3f68fd36a9119163144a2761457d16ce318bd094ed76ae6040c8b09df SHA512 3c63a2791e6ac77cb3144eb47a275cc8748f5c8943a076052300d6964994b95b18d60f504584fdcb683739dc514261402895e3f30ae2fbdb218acbc42c3d72df
|
||||||
AUX zabbix-server.service 281 SHA256 53465d624fc5cd4d00586119234c2d3d763b63a2721f9410392cb77f73db4a74 SHA512 b002e8efdc58300fc06ed1e1028f64d525dfaff52d74e661dbb4da3750b785d817d2bdff96f4ea3a28545fda4e37df962ec7a28b70868cc4b50b63ea27b088ff WHIRLPOOL caf2ef91caf33b517623e5c4e81bf635886d5199ec1f33389dee33cbb2d13c78d54911daac2d1af317d0b2b32d361424a961d7530a690d30f3d0089fb96e4808
|
AUX zabbix-server.service 281 BLAKE2B ca25d550875bc16ebc2cbe3193ec46072d288fa2d87e292949677c66bb7e3e4b9290274a43d88551bc320775fe0efc9fb8302a43147b3f7541c877726c40222e SHA512 b002e8efdc58300fc06ed1e1028f64d525dfaff52d74e661dbb4da3750b785d817d2bdff96f4ea3a28545fda4e37df962ec7a28b70868cc4b50b63ea27b088ff
|
||||||
AUX zabbix-server.tmpfiles 35 SHA256 d0516a64ad0841dac41faf0ca709ff16405346f1e9d1bcb00dcffe37ac6b689b SHA512 3c63a2791e6ac77cb3144eb47a275cc8748f5c8943a076052300d6964994b95b18d60f504584fdcb683739dc514261402895e3f30ae2fbdb218acbc42c3d72df WHIRLPOOL f8a3202aa65ecdf733cd8f9208c294dd2086d4de11682c01bd18f7122b0c3d2e1e3da4775020beca68f5bb9be8e14f57c50b0c18ecbad3c2c23237d3572e3b39
|
AUX zabbix-server.tmpfiles 35 BLAKE2B 98e917ef03bd6dc5d73e5cbdb140c7e115c7593d5cebf2df9bf3d15713b16c6a44b165a3f68fd36a9119163144a2761457d16ce318bd094ed76ae6040c8b09df SHA512 3c63a2791e6ac77cb3144eb47a275cc8748f5c8943a076052300d6964994b95b18d60f504584fdcb683739dc514261402895e3f30ae2fbdb218acbc42c3d72df
|
||||||
DIST zabbix-3.0.14.tar.gz 15643983 SHA256 7a8a6c0f14529eb64945afcb2e82ec4739d8f72c0662dbe13db7dff04451d555 SHA512 b024de610b86bd45fc0be655e8275daf53b1de813e13a1e78cfad149b1191a7f118862646f5ded43938bc489ff0b0f325de36d4b2c076ce6fe768ee4234eb944 WHIRLPOOL 010549cab103e2846e7b839114ae60ed9bcdbb3083e0d820eed2712fc8c9298c1003349b0d2056526f54d980ee42972f4664a35a64432c04a3d7c224c8376205
|
DIST zabbix-3.0.14.tar.gz 15643983 BLAKE2B 129bcde3318c049932ad24d6b20fcd3cdf3a0a0f246aadb81663265eb31550fd5966745486e4e863236801d41e6cefec3bdc82eca024be94bc2437f44b2d81a1 SHA512 b024de610b86bd45fc0be655e8275daf53b1de813e13a1e78cfad149b1191a7f118862646f5ded43938bc489ff0b0f325de36d4b2c076ce6fe768ee4234eb944
|
||||||
DIST zabbix-3.0.6.tar.gz 15513412 SHA256 4fe972b061cae8cc91bf2870f2caabc967096f31def5a3f53e8789154b05a97b SHA512 ccffc58f3555bea62011bad272e8a3085d1723d8cb200e00a3e657696104c3fd055b8b963a26d9c726ef45a5381c7f9625498e99b756a3dd97b147d8b7884d1f WHIRLPOOL 137eb724b5205e5d38d00f96c62da5f96ef91c57b01280489bafb67c54d10e7c40304b4674fcefedda9381dfe6d2721b81dbcda1822f56f6d538e067c2588fea
|
DIST zabbix-3.0.6.tar.gz 15513412 BLAKE2B f478c608f5196c98bf7e646d5125047fa6a89ae3339f5e937141d1f9e105ebbb294172e2bec971e046b7c7e5c05dba640655314a1cc8631e83d1b661fd137c2b SHA512 ccffc58f3555bea62011bad272e8a3085d1723d8cb200e00a3e657696104c3fd055b8b963a26d9c726ef45a5381c7f9625498e99b756a3dd97b147d8b7884d1f
|
||||||
DIST zabbix-3.0.8.tar.gz 15514547 SHA256 1df3e106427ed21547b8119049a161092f597d04507f9eb535951a9ee887a476 SHA512 9f5fec7f3888f34ad9659a5d34d5fc089efc86a5fcf78f8cabf6704fbf95fd52a8caaab6f4291cb76d15cc2d69c986c95346fbe4fdfdc407c5506f3b8946aa1a WHIRLPOOL 83a391ee2d60e974fa4e569050b62af69df192d24ad8dd151d39b668a170980f4dc448e3564a823662aecf5a2f03adca9e32c37b4949c95cab71425e786ab0bb
|
DIST zabbix-3.0.8.tar.gz 15514547 BLAKE2B 72c57038e762662605ff850666d6f7bcb417b9ec696fd623cb8d9918171a29d2bcc76d1603808580d9fa94394c4a25e90535eabc8f2e86265a819baaad48dd3c SHA512 9f5fec7f3888f34ad9659a5d34d5fc089efc86a5fcf78f8cabf6704fbf95fd52a8caaab6f4291cb76d15cc2d69c986c95346fbe4fdfdc407c5506f3b8946aa1a
|
||||||
EBUILD zabbix-3.0.14-r99.ebuild 9390 SHA256 b01dc084799ebf80be76729431e46f1f22d4f55f67ea8bc721492b025689a75f SHA512 ad543f132e42989838b5540f62e3c13c9cf0ae93bfa9625ae77265ff8ea4973bd306f0df57d2df7f9cf965be46b96873c3f48aefb45b48b71d039d571ff7acc2 WHIRLPOOL b862d045c93ad4c9de8e3844e38d45e3fb929b970294563285672fb628f5c2e7e08840d8dd92f5f2d2efa6bbcbea7b19744adf26f8befc187c3216a13759b419
|
DIST zabbix-5.0.0beta1.tar.gz 18080878 BLAKE2B f41c7abd8029fa94742a45c7595bd8c496f3324ea4254fa8e7ba8942d14b14f56993069c010e482c71d2bc2008d45ce1e885666a1d75079dc7ebe1f566a63a7f SHA512 7ece14fa034a42ef665006ec61474b3a62b47b2919940c24dfe13b34b8f732f14bdc5985b5eae0607981447ef6dcb3f79e8411354ad1e318f914d16ad91ab04b
|
||||||
EBUILD zabbix-3.0.6-r99.ebuild 9390 SHA256 b01dc084799ebf80be76729431e46f1f22d4f55f67ea8bc721492b025689a75f SHA512 ad543f132e42989838b5540f62e3c13c9cf0ae93bfa9625ae77265ff8ea4973bd306f0df57d2df7f9cf965be46b96873c3f48aefb45b48b71d039d571ff7acc2 WHIRLPOOL b862d045c93ad4c9de8e3844e38d45e3fb929b970294563285672fb628f5c2e7e08840d8dd92f5f2d2efa6bbcbea7b19744adf26f8befc187c3216a13759b419
|
DIST zabbix-5.0.0rc1.tar.gz 18395440 BLAKE2B c5a7829c865bc01bd25a0ae4236c9ad57bfd6b61a5906fe952e6ed290b2535d403e4039ae6755b1487483e727f71c29e6a835524bc5080181f8f20ee3a1cda2b SHA512 5fafed145ae1c31c3559f28cbee21eb38f9b9ede4f2b61c4d8726dca7ed15396357f6382e241d2726f13160632b2781695c5b6c7d413325463065ec5ee6ca951
|
||||||
EBUILD zabbix-3.0.8-r99.ebuild 9390 SHA256 b01dc084799ebf80be76729431e46f1f22d4f55f67ea8bc721492b025689a75f SHA512 ad543f132e42989838b5540f62e3c13c9cf0ae93bfa9625ae77265ff8ea4973bd306f0df57d2df7f9cf965be46b96873c3f48aefb45b48b71d039d571ff7acc2 WHIRLPOOL b862d045c93ad4c9de8e3844e38d45e3fb929b970294563285672fb628f5c2e7e08840d8dd92f5f2d2efa6bbcbea7b19744adf26f8befc187c3216a13759b419
|
EBUILD zabbix-3.0.14-r99.ebuild 9390 BLAKE2B b7b43bfac33b50c068162d9516165eb80ffdce93aa2af14c5b2050fdd3a4ef5bdb9b6ad4ea4f3d1137c3cc93c498154b0447b44191eefec5c4c7e7b66825bfe9 SHA512 ad543f132e42989838b5540f62e3c13c9cf0ae93bfa9625ae77265ff8ea4973bd306f0df57d2df7f9cf965be46b96873c3f48aefb45b48b71d039d571ff7acc2
|
||||||
|
EBUILD zabbix-3.0.6-r99.ebuild 9390 BLAKE2B b7b43bfac33b50c068162d9516165eb80ffdce93aa2af14c5b2050fdd3a4ef5bdb9b6ad4ea4f3d1137c3cc93c498154b0447b44191eefec5c4c7e7b66825bfe9 SHA512 ad543f132e42989838b5540f62e3c13c9cf0ae93bfa9625ae77265ff8ea4973bd306f0df57d2df7f9cf965be46b96873c3f48aefb45b48b71d039d571ff7acc2
|
||||||
|
EBUILD zabbix-3.0.8-r99.ebuild 9390 BLAKE2B b7b43bfac33b50c068162d9516165eb80ffdce93aa2af14c5b2050fdd3a4ef5bdb9b6ad4ea4f3d1137c3cc93c498154b0447b44191eefec5c4c7e7b66825bfe9 SHA512 ad543f132e42989838b5540f62e3c13c9cf0ae93bfa9625ae77265ff8ea4973bd306f0df57d2df7f9cf965be46b96873c3f48aefb45b48b71d039d571ff7acc2
|
||||||
|
EBUILD zabbix-5.0.0_beta1.ebuild 9700 BLAKE2B 30d8206cd6cd0452a237092c275ef1bc4c3afebc536b1c77747e383f8b9491ef0adeb410004772f7ada4004a7703e74c3bc2dfca85eafdd83af635a7831fcb57 SHA512 360d04da74474d5566aca9d3a73fa91cb4c07a7d0cfeb7ab18c81e7ff823a5aa990af6df7168ca8d676bb54c1efbf6b56595cb05e1c7e7ff247a5b41b79552c8
|
||||||
|
EBUILD zabbix-5.0.0_rc1.ebuild 9800 BLAKE2B 0364ce812cd608a4fbf56ab6b98579d989670a22d5b897bd2f6623b766dc997958c7ae1581990d51e223eb6f2399a801a8918babb80c5f4603d6fee08a61bfa3 SHA512 49ec0dc9941b9898002e40ef09e5fd1e2863a94af9a5025a109ce889bd619604f520f89c30f9802eb347f094a84b34dc2999dbab004ee5945c055f7673869859
|
||||||
|
|
|
@ -0,0 +1,367 @@
|
||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
# needed to make webapp-config dep optional
|
||||||
|
WEBAPP_OPTIONAL="yes"
|
||||||
|
inherit flag-o-matic webapp java-pkg-opt-2 user systemd toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="ZABBIX is software for monitoring of your applications, network and servers"
|
||||||
|
HOMEPAGE="https://www.zabbix.com/"
|
||||||
|
MY_P=${P/_/}
|
||||||
|
MY_PV=${PV/_/}
|
||||||
|
SRC_URI="https://cdn.zabbix.com/development/${MY_PV}/zabbix-${MY_PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
WEBAPP_MANUAL_SLOT="yes"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+agent agent2 java curl frontend ipv6 ldap libxml2 mysql openipmi oracle +postgres proxy server ssh ssl snmp sqlite odbc static"
|
||||||
|
REQUIRED_USE="|| ( agent agent2 frontend proxy server )
|
||||||
|
proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
||||||
|
server? ( ^^ ( mysql oracle postgres odbc ) )
|
||||||
|
static? ( !oracle !snmp )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
curl? ( net-misc/curl )
|
||||||
|
java? ( >=virtual/jdk-1.8:* )
|
||||||
|
ldap? (
|
||||||
|
=dev-libs/cyrus-sasl-2*
|
||||||
|
net-libs/gnutls
|
||||||
|
net-nds/openldap
|
||||||
|
)
|
||||||
|
libxml2? ( dev-libs/libxml2 )
|
||||||
|
mysql? ( dev-db/mysql-connector-c )
|
||||||
|
odbc? ( dev-db/unixODBC )
|
||||||
|
openipmi? ( sys-libs/openipmi )
|
||||||
|
oracle? ( dev-db/oracle-instantclient-basic )
|
||||||
|
postgres? ( dev-db/postgresql:* )
|
||||||
|
proxy? ( sys-libs/zlib )
|
||||||
|
server? (
|
||||||
|
dev-libs/libevent
|
||||||
|
sys-libs/zlib
|
||||||
|
)
|
||||||
|
snmp? ( net-analyzer/net-snmp )
|
||||||
|
sqlite? ( dev-db/sqlite )
|
||||||
|
ssh? ( net-libs/libssh2 )
|
||||||
|
ssl? ( dev-libs/openssl:=[-bindist] )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
java? ( >=virtual/jre-1.8:* )
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
proxy? ( net-analyzer/fping[suid] )
|
||||||
|
server? (
|
||||||
|
app-admin/webapp-config
|
||||||
|
dev-libs/libevent
|
||||||
|
dev-libs/libpcre
|
||||||
|
net-analyzer/fping[suid]
|
||||||
|
)
|
||||||
|
frontend? (
|
||||||
|
app-admin/webapp-config
|
||||||
|
dev-lang/php:*[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode]
|
||||||
|
media-libs/gd[png]
|
||||||
|
virtual/httpd-php:*
|
||||||
|
mysql? ( dev-lang/php[mysqli] )
|
||||||
|
odbc? ( dev-lang/php[odbc] )
|
||||||
|
oracle? ( dev-lang/php[oci8-instant-client] )
|
||||||
|
postgres? ( dev-lang/php[postgres] )
|
||||||
|
sqlite? ( dev-lang/php[sqlite] )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
static? (
|
||||||
|
curl? ( net-misc/curl[static-libs] )
|
||||||
|
ldap? (
|
||||||
|
=dev-libs/cyrus-sasl-2*[static-libs]
|
||||||
|
net-libs/gnutls[static-libs]
|
||||||
|
net-nds/openldap[static-libs]
|
||||||
|
)
|
||||||
|
libxml2? ( dev-libs/libxml2[static-libs] )
|
||||||
|
mysql? ( dev-db/mysql-connector-c[static-libs] )
|
||||||
|
odbc? ( dev-db/unixODBC[static-libs] )
|
||||||
|
postgres? ( dev-db/postgresql:*[static-libs] )
|
||||||
|
sqlite? ( dev-db/sqlite[static-libs] )
|
||||||
|
ssh? ( net-libs/libssh2 )
|
||||||
|
)
|
||||||
|
agent2? ( dev-lang/go )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-4.0.18-modulepathfix.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.0.30-security-disable-PidFile.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
ZABBIXJAVA_BASE="opt/zabbix_java"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use oracle; then
|
||||||
|
if [ -z "${ORACLE_HOME}" ]; then
|
||||||
|
eerror
|
||||||
|
eerror "The environment variable ORACLE_HOME must be set"
|
||||||
|
eerror "and point to the correct location."
|
||||||
|
eerror "It looks like you don't have Oracle installed."
|
||||||
|
eerror
|
||||||
|
die "Environment variable ORACLE_HOME is not set"
|
||||||
|
fi
|
||||||
|
if has_version 'dev-db/oracle-instantclient-basic'; then
|
||||||
|
ewarn
|
||||||
|
ewarn "Please ensure you have a full install of the Oracle client."
|
||||||
|
ewarn "dev-db/oracle-instantclient* is NOT sufficient."
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use frontend; then
|
||||||
|
webapp_pkg_setup
|
||||||
|
fi
|
||||||
|
|
||||||
|
enewgroup zabbix
|
||||||
|
enewuser zabbix -1 -1 /var/lib/zabbix/home zabbix
|
||||||
|
|
||||||
|
java-pkg-opt-2_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable agent) \
|
||||||
|
$(use_enable agent2) \
|
||||||
|
$(use_enable ipv6) \
|
||||||
|
$(use_enable java) \
|
||||||
|
$(use_enable proxy) \
|
||||||
|
$(use_enable server) \
|
||||||
|
$(use_enable static) \
|
||||||
|
$(use_with curl libcurl) \
|
||||||
|
$(use_with ldap) \
|
||||||
|
$(use_with libxml2) \
|
||||||
|
$(use_with mysql) \
|
||||||
|
$(use_with odbc unixodbc) \
|
||||||
|
$(use_with openipmi openipmi) \
|
||||||
|
$(use_with oracle) \
|
||||||
|
$(use_with postgres postgresql) \
|
||||||
|
$(use_with snmp net-snmp) \
|
||||||
|
$(use_with sqlite sqlite3) \
|
||||||
|
$(use_with ssh ssh2) \
|
||||||
|
$(use_with ssl openssl)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
|
||||||
|
emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dirs=(
|
||||||
|
/etc/zabbix
|
||||||
|
/var/lib/zabbix
|
||||||
|
/var/lib/zabbix/home
|
||||||
|
/var/lib/zabbix/scripts
|
||||||
|
/var/lib/zabbix/alertscripts
|
||||||
|
/var/lib/zabbix/externalscripts
|
||||||
|
/var/log/zabbix
|
||||||
|
)
|
||||||
|
|
||||||
|
for dir in "${dirs[@]}"; do
|
||||||
|
dodir "${dir}"
|
||||||
|
keepdir "${dir}"
|
||||||
|
done
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
insinto /etc/zabbix
|
||||||
|
doins "${S}"/conf/zabbix_server.conf
|
||||||
|
fperms 0640 /etc/zabbix/zabbix_server.conf
|
||||||
|
fowners root:zabbix /etc/zabbix/zabbix_server.conf
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/zabbix-server.init zabbix-server
|
||||||
|
|
||||||
|
dosbin src/zabbix_server/zabbix_server
|
||||||
|
|
||||||
|
insinto /usr/share/zabbix
|
||||||
|
doins -r "${S}"/database/
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}"/zabbix-server.service
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}"/zabbix-server.tmpfiles zabbix-server.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use proxy; then
|
||||||
|
insinto /etc/zabbix
|
||||||
|
doins "${S}"/conf/zabbix_proxy.conf
|
||||||
|
fperms 0640 /etc/zabbix/zabbix_proxy.conf
|
||||||
|
fowners root:zabbix /etc/zabbix/zabbix_proxy.conf
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/zabbix-proxy.init zabbix-proxy
|
||||||
|
|
||||||
|
dosbin src/zabbix_proxy/zabbix_proxy
|
||||||
|
|
||||||
|
insinto /usr/share/zabbix
|
||||||
|
doins -r "${S}"/database/
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}"/zabbix-proxy.service
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}"/zabbix-proxy.tmpfiles zabbix-proxy.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use agent; then
|
||||||
|
insinto /etc/zabbix
|
||||||
|
doins "${S}"/conf/zabbix_agentd.conf
|
||||||
|
fperms 0640 /etc/zabbix/zabbix_agentd.conf
|
||||||
|
fowners root:zabbix /etc/zabbix/zabbix_agentd.conf
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/zabbix-agentd.init zabbix-agentd
|
||||||
|
|
||||||
|
dosbin src/zabbix_agent/zabbix_agentd
|
||||||
|
dobin \
|
||||||
|
src/zabbix_sender/zabbix_sender \
|
||||||
|
src/zabbix_get/zabbix_get
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}"/zabbix-agentd.service
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}"/zabbix-agentd.tmpfiles zabbix-agentd.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
## if use agent2; then
|
||||||
|
## insinto /etc/zabbix
|
||||||
|
## doins "${S}"/conf/zabbix_agentd.conf
|
||||||
|
## fperms 0640 /etc/zabbix/zabbix_agentd.conf
|
||||||
|
## fowners root:zabbix /etc/zabbix/zabbix_agentd.conf
|
||||||
|
##
|
||||||
|
## newinitd "${FILESDIR}"/zabbix-agentd.init zabbix-agentd
|
||||||
|
##
|
||||||
|
## dosbin src/zabbix_agent/zabbix_agentd
|
||||||
|
## dobin \
|
||||||
|
## src/zabbix_sender/zabbix_sender \
|
||||||
|
## src/zabbix_get/zabbix_get
|
||||||
|
##
|
||||||
|
## systemd_dounit "${FILESDIR}"/zabbix-agentd.service
|
||||||
|
## systemd_newtmpfilesd "${FILESDIR}"/zabbix-agentd.tmpfiles zabbix-agentd.conf
|
||||||
|
## fi
|
||||||
|
|
||||||
|
fowners root:zabbix /etc/zabbix
|
||||||
|
fowners zabbix:zabbix \
|
||||||
|
/var/lib/zabbix \
|
||||||
|
/var/lib/zabbix/home \
|
||||||
|
/var/lib/zabbix/scripts \
|
||||||
|
/var/lib/zabbix/alertscripts \
|
||||||
|
/var/lib/zabbix/externalscripts \
|
||||||
|
/var/log/zabbix
|
||||||
|
fperms 0750 \
|
||||||
|
/etc/zabbix \
|
||||||
|
/var/lib/zabbix \
|
||||||
|
/var/lib/zabbix/home \
|
||||||
|
/var/lib/zabbix/scripts \
|
||||||
|
/var/lib/zabbix/alertscripts \
|
||||||
|
/var/lib/zabbix/externalscripts \
|
||||||
|
/var/log/zabbix
|
||||||
|
|
||||||
|
dodoc README INSTALL NEWS ChangeLog \
|
||||||
|
conf/zabbix_agentd.conf \
|
||||||
|
conf/zabbix_proxy.conf \
|
||||||
|
conf/zabbix_agentd/userparameter_examples.conf \
|
||||||
|
conf/zabbix_agentd/userparameter_mysql.conf \
|
||||||
|
conf/zabbix_server.conf
|
||||||
|
|
||||||
|
if use frontend; then
|
||||||
|
webapp_src_preinst
|
||||||
|
cp -R frontends/php/* "${D}/${MY_HTDOCSDIR}"
|
||||||
|
webapp_configfile \
|
||||||
|
"${MY_HTDOCSDIR}"/include/db.inc.php \
|
||||||
|
"${MY_HTDOCSDIR}"/include/config.inc.php
|
||||||
|
webapp_src_install
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use java; then
|
||||||
|
dodir \
|
||||||
|
/${ZABBIXJAVA_BASE} \
|
||||||
|
/${ZABBIXJAVA_BASE}/bin \
|
||||||
|
/${ZABBIXJAVA_BASE}/lib
|
||||||
|
keepdir /${ZABBIXJAVA_BASE}
|
||||||
|
exeinto /${ZABBIXJAVA_BASE}/bin
|
||||||
|
doexe src/zabbix_java/bin/zabbix-java-gateway-${MY_PV}.jar
|
||||||
|
exeinto /${ZABBIXJAVA_BASE}/lib
|
||||||
|
doexe \
|
||||||
|
src/zabbix_java/lib/logback-classic-0.9.27.jar \
|
||||||
|
src/zabbix_java/lib/logback-console.xml \
|
||||||
|
src/zabbix_java/lib/logback-core-0.9.27.jar \
|
||||||
|
src/zabbix_java/lib/logback.xml \
|
||||||
|
src/zabbix_java/lib/android-json-4.3_r3.1.jar \
|
||||||
|
src/zabbix_java/lib/slf4j-api-1.6.1.jar
|
||||||
|
newinitd "${FILESDIR}"/zabbix-jmx-proxy.init zabbix-jmx-proxy
|
||||||
|
newconfd "${FILESDIR}"/zabbix-jmx-proxy.conf zabbix-jmx-proxy
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use server || use proxy ; then
|
||||||
|
elog
|
||||||
|
elog "You may need to configure your database for Zabbix"
|
||||||
|
elog "if you have not already done so."
|
||||||
|
elog
|
||||||
|
|
||||||
|
zabbix_homedir=$(egethome zabbix)
|
||||||
|
if [ -n "${zabbix_homedir}" ] && \
|
||||||
|
[ "${zabbix_homedir}" != "/var/lib/zabbix/home" ]; then
|
||||||
|
ewarn
|
||||||
|
ewarn "The user 'zabbix' should have his homedir changed"
|
||||||
|
ewarn "to /var/lib/zabbix/home if you want to use"
|
||||||
|
ewarn "custom alert scripts."
|
||||||
|
ewarn
|
||||||
|
ewarn "A real homedir might be needed for configfiles"
|
||||||
|
ewarn "for custom alert scripts."
|
||||||
|
ewarn
|
||||||
|
ewarn "To change the homedir use:"
|
||||||
|
ewarn " usermod -d /var/lib/zabbix/home zabbix"
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
elog
|
||||||
|
elog "For distributed monitoring you have to run:"
|
||||||
|
elog
|
||||||
|
elog "zabbix_server -n <nodeid>"
|
||||||
|
elog
|
||||||
|
elog "This will convert database data for use with Node ID"
|
||||||
|
elog "and also adds a local node."
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog "--"
|
||||||
|
elog
|
||||||
|
elog "You may need to add these lines to /etc/services:"
|
||||||
|
elog
|
||||||
|
elog "zabbix-agent 10050/tcp Zabbix Agent"
|
||||||
|
elog "zabbix-agent 10050/udp Zabbix Agent"
|
||||||
|
elog "zabbix-trapper 10051/tcp Zabbix Trapper"
|
||||||
|
elog "zabbix-trapper 10051/udp Zabbix Trapper"
|
||||||
|
elog
|
||||||
|
|
||||||
|
if use server || use proxy ; then
|
||||||
|
# check for fping
|
||||||
|
fping_perms=$(stat -c %a /usr/sbin/fping 2>/dev/null)
|
||||||
|
case "${fping_perms}" in
|
||||||
|
4[157][157][157])
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
ewarn
|
||||||
|
ewarn "If you want to use the checks 'icmpping' and 'icmppingsec',"
|
||||||
|
ewarn "you have to make /usr/sbin/fping setuid root and executable"
|
||||||
|
ewarn "by everyone. Run the following command to fix it:"
|
||||||
|
ewarn
|
||||||
|
ewarn " chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
|
||||||
|
ewarn
|
||||||
|
ewarn "Please be aware that this might impose a security risk,"
|
||||||
|
ewarn "depending on the code quality of fping."
|
||||||
|
ewarn
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
}
|
|
@ -0,0 +1,367 @@
|
||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
# needed to make webapp-config dep optional
|
||||||
|
WEBAPP_OPTIONAL="yes"
|
||||||
|
inherit flag-o-matic webapp java-pkg-opt-2 user systemd toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="ZABBIX is software for monitoring of your applications, network and servers"
|
||||||
|
HOMEPAGE="https://www.zabbix.com/"
|
||||||
|
MY_P=${P/_/}
|
||||||
|
MY_PV=${PV/_/}
|
||||||
|
SRC_URI="https://cdn.zabbix.com/zabbix/sources/release_candidates/5.0/zabbix-${MY_PV}.tar.gz"
|
||||||
|
https://cdn.zabbix.com/zabbix/sources/release_candidates/5.0/zabbix-5.0.0rc1.tar.gz
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
WEBAPP_MANUAL_SLOT="yes"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+agent agent2 java curl frontend ipv6 ldap libxml2 mysql openipmi oracle +postgres proxy server ssh ssl snmp sqlite odbc static"
|
||||||
|
REQUIRED_USE="|| ( agent agent2 frontend proxy server )
|
||||||
|
proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
||||||
|
server? ( ^^ ( mysql oracle postgres odbc ) )
|
||||||
|
static? ( !oracle !snmp )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
curl? ( net-misc/curl )
|
||||||
|
java? ( >=virtual/jdk-1.8:* )
|
||||||
|
ldap? (
|
||||||
|
=dev-libs/cyrus-sasl-2*
|
||||||
|
net-libs/gnutls
|
||||||
|
net-nds/openldap
|
||||||
|
)
|
||||||
|
libxml2? ( dev-libs/libxml2 )
|
||||||
|
mysql? ( dev-db/mysql-connector-c )
|
||||||
|
odbc? ( dev-db/unixODBC )
|
||||||
|
openipmi? ( sys-libs/openipmi )
|
||||||
|
oracle? ( dev-db/oracle-instantclient-basic )
|
||||||
|
postgres? ( dev-db/postgresql:* )
|
||||||
|
proxy? ( sys-libs/zlib )
|
||||||
|
server? (
|
||||||
|
dev-libs/libevent
|
||||||
|
sys-libs/zlib
|
||||||
|
)
|
||||||
|
snmp? ( net-analyzer/net-snmp )
|
||||||
|
sqlite? ( dev-db/sqlite )
|
||||||
|
ssh? ( net-libs/libssh2 )
|
||||||
|
ssl? ( dev-libs/openssl:=[-bindist] )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
java? ( >=virtual/jre-1.8:* )
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
proxy? ( net-analyzer/fping[suid] )
|
||||||
|
server? (
|
||||||
|
app-admin/webapp-config
|
||||||
|
dev-libs/libevent
|
||||||
|
dev-libs/libpcre
|
||||||
|
net-analyzer/fping[suid]
|
||||||
|
)
|
||||||
|
frontend? (
|
||||||
|
app-admin/webapp-config
|
||||||
|
dev-lang/php:*[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode]
|
||||||
|
media-libs/gd[png]
|
||||||
|
virtual/httpd-php:*
|
||||||
|
mysql? ( dev-lang/php[mysqli] )
|
||||||
|
odbc? ( dev-lang/php[odbc] )
|
||||||
|
oracle? ( dev-lang/php[oci8-instant-client] )
|
||||||
|
postgres? ( dev-lang/php[postgres] )
|
||||||
|
sqlite? ( dev-lang/php[sqlite] )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
static? (
|
||||||
|
curl? ( net-misc/curl[static-libs] )
|
||||||
|
ldap? (
|
||||||
|
=dev-libs/cyrus-sasl-2*[static-libs]
|
||||||
|
net-libs/gnutls[static-libs]
|
||||||
|
net-nds/openldap[static-libs]
|
||||||
|
)
|
||||||
|
libxml2? ( dev-libs/libxml2[static-libs] )
|
||||||
|
mysql? ( dev-db/mysql-connector-c[static-libs] )
|
||||||
|
odbc? ( dev-db/unixODBC[static-libs] )
|
||||||
|
postgres? ( dev-db/postgresql:*[static-libs] )
|
||||||
|
sqlite? ( dev-db/sqlite[static-libs] )
|
||||||
|
ssh? ( net-libs/libssh2 )
|
||||||
|
)
|
||||||
|
agent2? ( dev-lang/go )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-4.0.18-modulepathfix.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.0.30-security-disable-PidFile.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
ZABBIXJAVA_BASE="opt/zabbix_java"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use oracle; then
|
||||||
|
if [ -z "${ORACLE_HOME}" ]; then
|
||||||
|
eerror
|
||||||
|
eerror "The environment variable ORACLE_HOME must be set"
|
||||||
|
eerror "and point to the correct location."
|
||||||
|
eerror "It looks like you don't have Oracle installed."
|
||||||
|
eerror
|
||||||
|
die "Environment variable ORACLE_HOME is not set"
|
||||||
|
fi
|
||||||
|
if has_version 'dev-db/oracle-instantclient-basic'; then
|
||||||
|
ewarn
|
||||||
|
ewarn "Please ensure you have a full install of the Oracle client."
|
||||||
|
ewarn "dev-db/oracle-instantclient* is NOT sufficient."
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use frontend; then
|
||||||
|
webapp_pkg_setup
|
||||||
|
fi
|
||||||
|
|
||||||
|
enewgroup zabbix
|
||||||
|
enewuser zabbix -1 -1 /var/lib/zabbix/home zabbix
|
||||||
|
|
||||||
|
java-pkg-opt-2_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable agent) \
|
||||||
|
$(use_enable agent2) \
|
||||||
|
$(use_enable ipv6) \
|
||||||
|
$(use_enable java) \
|
||||||
|
$(use_enable proxy) \
|
||||||
|
$(use_enable server) \
|
||||||
|
$(use_enable static) \
|
||||||
|
$(use_with curl libcurl) \
|
||||||
|
$(use_with ldap) \
|
||||||
|
$(use_with libxml2) \
|
||||||
|
$(use_with mysql) \
|
||||||
|
$(use_with odbc unixodbc) \
|
||||||
|
$(use_with openipmi openipmi) \
|
||||||
|
$(use_with oracle) \
|
||||||
|
$(use_with postgres postgresql) \
|
||||||
|
$(use_with snmp net-snmp) \
|
||||||
|
$(use_with sqlite sqlite3) \
|
||||||
|
$(use_with ssh ssh2) \
|
||||||
|
$(use_with ssl openssl)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
|
||||||
|
emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dirs=(
|
||||||
|
/etc/zabbix
|
||||||
|
/var/lib/zabbix
|
||||||
|
/var/lib/zabbix/home
|
||||||
|
/var/lib/zabbix/scripts
|
||||||
|
/var/lib/zabbix/alertscripts
|
||||||
|
/var/lib/zabbix/externalscripts
|
||||||
|
/var/log/zabbix
|
||||||
|
)
|
||||||
|
|
||||||
|
for dir in "${dirs[@]}"; do
|
||||||
|
dodir "${dir}"
|
||||||
|
keepdir "${dir}"
|
||||||
|
done
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
insinto /etc/zabbix
|
||||||
|
doins "${S}"/conf/zabbix_server.conf
|
||||||
|
fperms 0640 /etc/zabbix/zabbix_server.conf
|
||||||
|
fowners root:zabbix /etc/zabbix/zabbix_server.conf
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/zabbix-server.init zabbix-server
|
||||||
|
|
||||||
|
dosbin src/zabbix_server/zabbix_server
|
||||||
|
|
||||||
|
insinto /usr/share/zabbix
|
||||||
|
doins -r "${S}"/database/
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}"/zabbix-server.service
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}"/zabbix-server.tmpfiles zabbix-server.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use proxy; then
|
||||||
|
insinto /etc/zabbix
|
||||||
|
doins "${S}"/conf/zabbix_proxy.conf
|
||||||
|
fperms 0640 /etc/zabbix/zabbix_proxy.conf
|
||||||
|
fowners root:zabbix /etc/zabbix/zabbix_proxy.conf
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/zabbix-proxy.init zabbix-proxy
|
||||||
|
|
||||||
|
dosbin src/zabbix_proxy/zabbix_proxy
|
||||||
|
|
||||||
|
insinto /usr/share/zabbix
|
||||||
|
doins -r "${S}"/database/
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}"/zabbix-proxy.service
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}"/zabbix-proxy.tmpfiles zabbix-proxy.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use agent; then
|
||||||
|
insinto /etc/zabbix
|
||||||
|
doins "${S}"/conf/zabbix_agentd.conf
|
||||||
|
fperms 0640 /etc/zabbix/zabbix_agentd.conf
|
||||||
|
fowners root:zabbix /etc/zabbix/zabbix_agentd.conf
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/zabbix-agentd.init zabbix-agentd
|
||||||
|
|
||||||
|
dosbin src/zabbix_agent/zabbix_agentd
|
||||||
|
dobin \
|
||||||
|
src/zabbix_sender/zabbix_sender \
|
||||||
|
src/zabbix_get/zabbix_get
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}"/zabbix-agentd.service
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}"/zabbix-agentd.tmpfiles zabbix-agentd.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
## if use agent2; then
|
||||||
|
## insinto /etc/zabbix
|
||||||
|
## doins "${S}"/conf/zabbix_agentd.conf
|
||||||
|
## fperms 0640 /etc/zabbix/zabbix_agentd.conf
|
||||||
|
## fowners root:zabbix /etc/zabbix/zabbix_agentd.conf
|
||||||
|
##
|
||||||
|
## newinitd "${FILESDIR}"/zabbix-agentd.init zabbix-agentd
|
||||||
|
##
|
||||||
|
## dosbin src/zabbix_agent/zabbix_agentd
|
||||||
|
## dobin \
|
||||||
|
## src/zabbix_sender/zabbix_sender \
|
||||||
|
## src/zabbix_get/zabbix_get
|
||||||
|
##
|
||||||
|
## systemd_dounit "${FILESDIR}"/zabbix-agentd.service
|
||||||
|
## systemd_newtmpfilesd "${FILESDIR}"/zabbix-agentd.tmpfiles zabbix-agentd.conf
|
||||||
|
## fi
|
||||||
|
|
||||||
|
fowners root:zabbix /etc/zabbix
|
||||||
|
fowners zabbix:zabbix \
|
||||||
|
/var/lib/zabbix \
|
||||||
|
/var/lib/zabbix/home \
|
||||||
|
/var/lib/zabbix/scripts \
|
||||||
|
/var/lib/zabbix/alertscripts \
|
||||||
|
/var/lib/zabbix/externalscripts \
|
||||||
|
/var/log/zabbix
|
||||||
|
fperms 0750 \
|
||||||
|
/etc/zabbix \
|
||||||
|
/var/lib/zabbix \
|
||||||
|
/var/lib/zabbix/home \
|
||||||
|
/var/lib/zabbix/scripts \
|
||||||
|
/var/lib/zabbix/alertscripts \
|
||||||
|
/var/lib/zabbix/externalscripts \
|
||||||
|
/var/log/zabbix
|
||||||
|
|
||||||
|
dodoc README INSTALL NEWS ChangeLog \
|
||||||
|
conf/zabbix_agentd.conf \
|
||||||
|
conf/zabbix_proxy.conf \
|
||||||
|
conf/zabbix_agentd/userparameter_examples.conf \
|
||||||
|
conf/zabbix_agentd/userparameter_mysql.conf \
|
||||||
|
conf/zabbix_server.conf
|
||||||
|
|
||||||
|
if use frontend; then
|
||||||
|
webapp_src_preinst
|
||||||
|
cp -R frontends/php/* "${D}/${MY_HTDOCSDIR}"
|
||||||
|
webapp_configfile \
|
||||||
|
"${MY_HTDOCSDIR}"/include/db.inc.php \
|
||||||
|
"${MY_HTDOCSDIR}"/include/config.inc.php
|
||||||
|
webapp_src_install
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use java; then
|
||||||
|
dodir \
|
||||||
|
/${ZABBIXJAVA_BASE} \
|
||||||
|
/${ZABBIXJAVA_BASE}/bin \
|
||||||
|
/${ZABBIXJAVA_BASE}/lib
|
||||||
|
keepdir /${ZABBIXJAVA_BASE}
|
||||||
|
exeinto /${ZABBIXJAVA_BASE}/bin
|
||||||
|
doexe src/zabbix_java/bin/zabbix-java-gateway-${MY_PV}.jar
|
||||||
|
exeinto /${ZABBIXJAVA_BASE}/lib
|
||||||
|
doexe \
|
||||||
|
src/zabbix_java/lib/logback-classic-0.9.27.jar \
|
||||||
|
src/zabbix_java/lib/logback-console.xml \
|
||||||
|
src/zabbix_java/lib/logback-core-0.9.27.jar \
|
||||||
|
src/zabbix_java/lib/logback.xml \
|
||||||
|
src/zabbix_java/lib/android-json-4.3_r3.1.jar \
|
||||||
|
src/zabbix_java/lib/slf4j-api-1.6.1.jar
|
||||||
|
newinitd "${FILESDIR}"/zabbix-jmx-proxy.init zabbix-jmx-proxy
|
||||||
|
newconfd "${FILESDIR}"/zabbix-jmx-proxy.conf zabbix-jmx-proxy
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use server || use proxy ; then
|
||||||
|
elog
|
||||||
|
elog "You may need to configure your database for Zabbix"
|
||||||
|
elog "if you have not already done so."
|
||||||
|
elog
|
||||||
|
|
||||||
|
zabbix_homedir=$(egethome zabbix)
|
||||||
|
if [ -n "${zabbix_homedir}" ] && \
|
||||||
|
[ "${zabbix_homedir}" != "/var/lib/zabbix/home" ]; then
|
||||||
|
ewarn
|
||||||
|
ewarn "The user 'zabbix' should have his homedir changed"
|
||||||
|
ewarn "to /var/lib/zabbix/home if you want to use"
|
||||||
|
ewarn "custom alert scripts."
|
||||||
|
ewarn
|
||||||
|
ewarn "A real homedir might be needed for configfiles"
|
||||||
|
ewarn "for custom alert scripts."
|
||||||
|
ewarn
|
||||||
|
ewarn "To change the homedir use:"
|
||||||
|
ewarn " usermod -d /var/lib/zabbix/home zabbix"
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
elog
|
||||||
|
elog "For distributed monitoring you have to run:"
|
||||||
|
elog
|
||||||
|
elog "zabbix_server -n <nodeid>"
|
||||||
|
elog
|
||||||
|
elog "This will convert database data for use with Node ID"
|
||||||
|
elog "and also adds a local node."
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog "--"
|
||||||
|
elog
|
||||||
|
elog "You may need to add these lines to /etc/services:"
|
||||||
|
elog
|
||||||
|
elog "zabbix-agent 10050/tcp Zabbix Agent"
|
||||||
|
elog "zabbix-agent 10050/udp Zabbix Agent"
|
||||||
|
elog "zabbix-trapper 10051/tcp Zabbix Trapper"
|
||||||
|
elog "zabbix-trapper 10051/udp Zabbix Trapper"
|
||||||
|
elog
|
||||||
|
|
||||||
|
if use server || use proxy ; then
|
||||||
|
# check for fping
|
||||||
|
fping_perms=$(stat -c %a /usr/sbin/fping 2>/dev/null)
|
||||||
|
case "${fping_perms}" in
|
||||||
|
4[157][157][157])
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
ewarn
|
||||||
|
ewarn "If you want to use the checks 'icmpping' and 'icmppingsec',"
|
||||||
|
ewarn "you have to make /usr/sbin/fping setuid root and executable"
|
||||||
|
ewarn "by everyone. Run the following command to fix it:"
|
||||||
|
ewarn
|
||||||
|
ewarn " chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
|
||||||
|
ewarn
|
||||||
|
ewarn "Please be aware that this might impose a security risk,"
|
||||||
|
ewarn "depending on the code quality of fping."
|
||||||
|
ewarn
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in New Issue