Автозапуск ZABBIX через SystemD

запуск ZABBIX через SystemD
http://www.zabbix.com/

Автоматический запуск ZABBIX Server после перезагрузки ОС я обычно реализовывал с помощью init-скриптов, которые идут вместе с исходными кодами. В Debian 8 произошли некоторые изменения в использовании системы инициализации — теперь по умолчанию используется systemd 1 2 3 вместо sysvinit ранее:

We exercise our power to decide in cases of overlapping jurisdiction (6.1.2) by asserting that the default init system for Linux architectures in jessie should be systemd.

Таким образом, чтобы не отставать от технологий, нужно настроить запуск ZABBIX через SystemD. Этим я и займусь далее.

Внимание! Содержимое статьи устарело. На данный момент выполнять описанную последовательность операций при установке Zabbix агента из репозиториев нет смысла.


Если вам интересна тематика ZABBIX, рекомендую обратиться к основной статье — Система мониторинга ZABBIX, в ней вы найдете дополнительную информацию.


Если у вас используется SysV, а не SystemD, настройку автозапуска для этой системы инициализации вы можете найти в головной статье — Автозапуск ZABBIX.


Запуск ZABBIX через SystemD

Создаем .service-скрипт:

Вставляем содержимое:

Изменяем права на файл:

Возможно у вас будет другое расположение сервиса ZABBIX, найти его можно командой:

запуск ZABBIX через SystemD 01

Далее необходимо включить созданный ранее юнит в автозапуск при загрузке системы:

Запускаем сервис:

Только что мы настроили автозапуск сервера, аналогичное нужно проделать и для агента.

Создаем .service-скрипт:

Вставляем содержимое:

Изменяем права на файл:

Включаем созданный ранее юнит в автозапуск при загрузке системы:

Запускаем сервис:

В принципе задача выполнена. Нужно сказать пару слов про zabbix_agent 4 и zabbix_agentd 5. По идее первый рассчитан на init.d-версию и на данный момент уже лежит в архиве мануала.

Если у вас возникают сложности с написанием юнитов для systemd, можете обратиться к обзорам 6 7 8 в интернете.

comments powered by HyperComments
3waylaid
2022-06-18 06:28:13
<strong>1prayers</strong>
dissertation topic
2022-07-05 14:44:35
<strong>dissertation defense presentation https://professionaldissertationwriting.org/</strong>
thesis dissertation writing
2022-07-05 19:17:24
<strong>medical dissertation writing service https://professionaldissertationwriting.com/</strong>
dissertation defense
2022-07-05 20:55:45
<strong>dissertation service https://helpwithdissertationwritinglondon.com/</strong>
phd without dissertation
2022-07-05 22:37:42
<strong>dissertation search https://dissertationwritingcenter.com/</strong>
uf dissertation award
2022-07-06 01:43:41
<strong>help dissertation dissertation help https://dissertationhelpexpert.com/</strong>
tips for dissertation writing
2022-07-06 05:04:41
<strong>dissertation title examples https://accountingdissertationhelp.com/</strong>
edd dissertation topics
2022-07-06 07:15:34
<strong>phd thesis vs dissertation https://examplesofdissertation.com/</strong>
dissertation assistance
2022-07-06 09:34:42
<strong>cheap dissertation writing services https://writing-a-dissertation.net/</strong>
masters dissertation help
2022-07-06 13:16:32
<strong>buy dissertation https://bestdissertationwritingservice.net/</strong>
writing the dissertation
2022-07-06 15:54:59
<strong>writing a proposal for your dissertation https://businessdissertationhelp.com/</strong>
getting help online
2022-07-06 17:46:30
<strong>help with writing dissertation proposal https://customdissertationwritinghelp.com/</strong>
best dissertation writing service
2022-07-06 19:57:42
<strong>write my dissertation https://writingadissertationproposal.com/</strong>
writing dissertation service
2022-07-07 06:08:30
<strong>best dissertation writing service https://customthesiswritingservices.com/</strong>
online casino no deposit bonus codes 2020
2022-07-25 20:11:42
<strong>online casino with $5 minimum deposit https://download-casino-slots.com/</strong>
live online casino real money
2022-07-25 21:29:20
<strong>best online casino bonuses https://firstonlinecasino.org/</strong>
online caesars casino
2022-07-26 02:21:16
<strong>wynn casino online https://newlasvegascasinos.com/</strong>
online casino sign up bonuses
2022-07-26 04:17:38
<strong>slots wynn online casino https://trust-online-casino.com/</strong>
wv online casino
2022-07-26 07:20:29
<strong>real money online casino california https://onlinecasinosdirectory.org/</strong>
tiger casino online
2022-07-26 10:48:03
<strong>hardrock casino online https://9lineslotscasino.com/</strong>
online casino free bet no deposit
2022-07-26 12:03:36
<strong>pa online casino no deposit bonus https://free-online-casinos.net/</strong>
riversweeps online casino
2022-07-26 16:22:40
<strong>golden nugget online casino bonus code https://internet-casinos-online.net/</strong>
live online casino pa
2022-07-26 18:24:38
<strong>legal online casino https://cybertimeonlinecasino.com/</strong>
resorts online casino app
2022-07-26 20:47:49
<strong>golden nugget online casino promo code https://1freeslotscasino.com/</strong>
greektown online casino
2022-07-26 23:35:18
<strong>pa online casino apps https://vrgamescasino.com/</strong>
free online casino games no download
2022-07-27 00:31:58
<strong>online casino ideal https://casino-online-roulette.com/</strong>
casino online gratis
2022-07-27 06:28:50
<strong>wind creek casino wetumpka online games https://onlineplayerscasino.com/</strong>
casino online streaming
2022-07-27 09:53:54
<strong>river sweep online casino https://ownonlinecasino.com/</strong>
online casino paysafe
2022-07-27 11:24:36
<strong>casino stream online https://all-online-casino-games.com/</strong>
usa online casino real money
2022-07-27 14:35:33
<strong>casino online free games https://casino8online.com/</strong>
best vpn on windows
2022-08-07 14:11:58
<strong>best vpn for mlb tv https://freevpnconnection.com/</strong>
vpn for mac free
2022-08-07 18:39:46
<strong>best vpn netflix https://shiva-vpn.com/</strong>
free vpn no download
2022-08-07 19:57:52
<strong>best vpn windows https://freehostingvpn.com/</strong>
is avast vpn any good
2022-08-07 23:01:26
<strong>best value vpn https://ippowervpn.net/</strong>
is vpn free
2022-08-08 02:16:22
<strong>hotspot shield vpn proxy free https://superfreevpn.net/</strong>
free vpn for streaming
2022-08-08 04:40:23
<strong>buy vpn online https://free-vpn-proxy.com/</strong>
vpn free google chrome
2022-08-08 06:40:15
<strong>best vpn to change location https://rsvpnorthvalley.com/</strong>
gay rural men dating site
2022-08-23 15:57:24
<strong>gay movie online dating https://gayedating.com/</strong>
free gay dating east tennessee
2022-08-23 18:40:48
<strong>how much is membership for gay dating sites https://datinggayservices.com/</strong>
good dating websites
2022-08-24 15:57:55
<strong>top dateing sites https://onlinedatingbabes.com/</strong>
best singles sites
2022-08-24 17:26:31
<strong>japanese dating https://adult-singles-online-dating.com/</strong>
international singles
2022-08-24 22:23:23
<strong>best internet dating sites https://online-internet-dating.net/</strong>
erotic dating sites
2022-08-25 00:50:45
<strong>best online dating sites https://speedatingwebsites.com/</strong>
top online meeting sites
2022-08-25 02:24:25
<strong>best online dating sites https://datingpersonalsonline.com/</strong>
local online dating sites
2022-08-25 04:29:39
<strong>dating agency login https://wowdatingsites.com/</strong>
local dating sites
2022-08-25 07:53:48
<strong>100% free dating service https://lavaonlinedating.com/</strong>
single free dating sites without registering
2022-08-25 09:24:09
<strong>dating direct https://freeadultdatingpasses.com/</strong>
free online chat
2022-08-25 12:28:35
<strong>single woman free https://virtual-online-dating-service.com/</strong>
online-dating-ukraine
2022-08-25 13:14:13
<strong>romancemingle https://zonlinedating.com/</strong>
free personals
2022-08-25 16:59:56
<strong>online https://onlinedatingservicesecrets.com/</strong>
winstar online social casino
2022-08-30 10:49:34
<strong>wild online casino https://onlinecasinos4me.com/</strong>
captain jack online casino
2022-08-30 15:33:41
<strong>online casino games real money https://online2casino.com/</strong>
riversweeps casino online
2022-08-30 17:11:17
<strong>uk online casino https://casinosonlinex.com/</strong>
michigan gay chat
2022-09-02 22:36:27
<strong>random gay chat https://newgaychat.com/</strong>
chat ave gay chat
2022-09-03 06:33:34
<strong>dubuque gay chat https://gaychatcams.net/</strong>
amature gay video chat
2022-09-03 11:51:36
<strong>gay perv chat group https://gaychatspots.com/</strong>
gay chat toms river nj
2022-09-03 14:16:46
<strong>free live gay web cam chat rooms https://gay-live-chat.net/</strong>
free gay phone chat trial
2022-09-03 20:24:11
<strong>free gay web cam chat rooms https://chatcongays.com/</strong>
kinky gay first time chat rooms phx only
2022-09-04 03:56:05
<strong>nc gay chat room https://gayphillychat.com/</strong>
black gay chat
2022-09-04 05:16:36
<strong>gay universe chat https://gaychatnorules.com/</strong>
b - gay chat
2022-09-04 12:42:25
<strong>gay random chat x4 https://gaymusclechatrooms.com/</strong>
chicago gay chat rooms free
2022-09-04 14:30:52
<strong>first gay chat https://free-gay-sex-chat.com/</strong>
gay chat webcam room facebook free
2022-09-04 20:10:47
<strong>gay chat porn https://gayinteracialchat.com/</strong>
custom papers review
2022-10-20 19:07:46
<strong>custom college paper https://sociologypapershelp.com/</strong>
help with filing divorce papers
2022-10-20 20:36:21
<strong>buy psychology papers https://uktermpaperwriters.com/</strong>
write my economics paper
2022-10-20 22:54:43
<strong>custom written paper https://paperwritinghq.com/</strong>
paper writing website
2022-10-20 23:52:37
<strong>college paper service https://writepapersformoney.com/</strong>
custom college papers
2022-10-21 00:38:33
<strong>pay for someone to write your paper https://write-my-paper-for-me.org/</strong>
psychology paper writing service
2022-10-21 02:59:24
<strong>thesis papers for sale https://doyourpapersonline.com/</strong>
best custom paper writing service
2022-10-21 03:33:39
<strong>buy cheap paper https://top100custompapernapkins.com/</strong>
online paper writer
2022-10-21 05:15:31
<strong>help with paper writing https://researchpaperswriting.org/</strong>
write my paper for me
2022-10-21 06:21:58
<strong>pay to write paper https://cheapcustompaper.org/</strong>
pay for a paper
2022-10-21 07:52:49
<strong>where can i find someone to write my paper https://writingpaperservice.net/</strong>
buy custom papers
2022-10-21 12:25:18
<strong>write my math paper https://writemypaperquick.com/</strong>
paper writing services legitimate
2022-10-21 12:47:37
<strong>pay to write paper https://essaybuypaper.com/</strong>
paper writing service cheap
2022-10-21 14:57:30
<strong>papers writing service https://papercranewritingservices.com/</strong>
where to buy resume paper
2022-10-21 16:03:06
<strong>college paper writer https://premiumpapershelp.com/</strong>
apa papers for sale
2022-10-21 18:06:29
<strong>buy custom paper https://studentpaperhelp.com/</strong>
Яндекс.Метрика