Как установить Zabbix-Agent на Debian 10

14 марта 2023 733 admin

Как установить Zabbix-Agent на Debian 10


В репах Debian10 старая версия агента, 4-ая.
Чтобы установить выборочную версию Zabbix-Agent'а, делаем следующее.

1. Добавляем нужную версию репозиторию агента в систему.
Мы будем использовать версию 6.0 Zabbix-Agent'.
Находится он по адресу: https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/
Называется zabbix-release_6.0-4+debian10_all.deb. Там же есть версии и для 9/10/11 Debian.
Итак, качаем:
wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian10_all.deb
2. Устанавливаем:
sudo dpkg -i zabbix-release_6.0-4+debian10_all.deb
3. Обновляем репозиторий ( с добавленной репой от Zabbix ):
sudo apt-get update
4. Собственно, устанавливаем Zabbix-Agent:
sudo apt-get install zabbix-agent
5. Делаем из агента службу:
sudo systemctl enable zabbix-agent

Это удобно, чтобы всё работало/включалось/выключалось по феншуЮ)
Например, запустить службу Zabbix-Agent'а:
sudo systemctl start zabbix-agent

На этом с установкой всё.

Осталось сделать минимальные настройки конфигурационного файла.
Который называется zabbix_agentd.conf
Находится в Debian по адресу: /etc/zabbix/zabbix_agentd.conf

Минимальные настройки - это IP и имя хоста.
Находим нужные строчки и меняем/раскомментируем:
Server=AAA.BBB.CCC.DDD
Hostname=MyServerHostName

Можно еще раз перезапустить службу:
sudo systemctl restart zabbix-agent
  • 5

Другие новости по теме:

Другие новости по теме:

    Добавление комментария

    Имя:
    Пароль:
    Email:
    Код:
    captcha
    Введите код:

    Последнии комментарии
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Caitlyn (16.12.2025)
    Thanks for one's marvelous posting! I genuinely en...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Jerry (15.12.2025)
    Yes! Finally something about You.

    Here is my websit...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Tesha (15.12.2025)
    Asking questions are really good thing if you are ...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор George (15.12.2025)
    Having read this I thought it was really informati...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Humberto (14.12.2025)
    Great blog here! Also your site loads up very fast...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Nancy (14.12.2025)
    Thank you for every other informative blog.
    Where e...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Thelma (13.12.2025)
    Currently it seems like BlogEngine is the top blog...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Gale (13.12.2025)
    Awesome! Its really remarkable paragraph, I have g...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Teresita (13.12.2025)
    My partner and I stumbled over here by a different...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Mackenzie (13.12.2025)
    Hi there very cool website!! Man .. Beautiful ..
    Wo...
     Популярные
       
    Календарь
    « Декабрь »
    Пн Вт Ср Чт Пт Сб Вс
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31
    Облако тегов
    Яндекс.Метрика