Удаление zabbix агента linux

Ashok tutorials

To remove the zabbix-agent package and any other dependant package which are no longer needed from Ubuntu Xenial.

sudo apt-get remove --auto-remove zabbix-agent

Purging zabbix-agent

If you also want to delete configuration and/or data files of zabbix-agent from Ubuntu Xenial then this will work:

sudo apt-get purge zabbix-agent

To delete configuration and/or data files of zabbix-agent and it’s dependencies from Ubuntu Xenial then execute:

sudo apt-get purge --auto-remove zabbix-agent
  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps
  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps

Comments

Post a Comment

Install Zabbix Agent on Suse Linux and Configure

Install taken from Suse – http://software.opensuse.org/download/package?project=server:monitoring&package=zabbix-agent For SLE 12 SP1 run the following as root : zypper addrepo http://download.opensuse.org/repositories/server:monitoring/SLE_12_SP1/server:monitoring.repo zypper refresh zypper install zabbix-agent For SLE 12 run the following as root : zypper addrepo http://download.opensuse.org/repositories/server:monitoring/SLE_12/server:monitoring.repo zypper refresh zypper install zabbix-agent For SLE 11 SP4 run the following as root : zypper addrepo http://download.opensuse.org/repositories/server:monitoring/SLE_11_SP4/server:monitoring.repo zypper refresh zypper install zabbix-agent For SLE 11 SP3 run the following as root : zypper addrepo http://download.opensuse.org/repositories/server:monitoring/SLE_11_SP3/server:monitoring.repo zypper refresh zypper install zabbix-agent To configure the agent – Instructions taken from – https://www.zabbix.org/wiki

  • Get link
  • Facebook
  • Twitter
  • Pinterest
  • Email
  • Other Apps
Читайте также:  Fsck восстановить файловую систему linux debian

Источник

zabbix-agent on Ubuntu 20.04 LTS (Focal Fossa)

Please follow the guidelines below to install zabbix-agent package:

2. Uninstall / Remove zabbix-agent package

This guide let you learn how to uninstall zabbix-agent package:

3. Details of zabbix-agent package

Package: zabbix-agent
Architecture: amd64
Version: 1:4.0.17+dfsg-1
Priority: optional
Section: universe/net
Source: zabbix
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Dmitry Smirnov
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 840
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: libc6 (>= 2.17), libcurl3-gnutls (>= 7.16.2), libgnutls30 (>= 3.6.11), libldap-2.4-2 (>= 2.4.7), libpcre3, zlib1g (>= 1:1.2.0), ucf, adduser, lsb-base, pciutils
Recommends: usbutils
Suggests: logrotate
Filename: pool/universe/z/zabbix/zabbix-agent_4.0.17+dfsg-1_amd64.deb
Size: 241168
MD5sum: 1406bed92446597f9c7e230a908167ad
SHA1: ad7a2e27a3e1f4b01a049943cdbd35d5bfc3627f
SHA256: 6b6084bbb3cba186ff822be1b21b51b95b89c30309c265a1d4d4699f55c15409
Homepage: http://zabbix.com
Description: network monitoring solution — agent
Description-md5: eac02cc4af79b30caae8c4f8fb05e53b

4. References on Ubuntu 20.04 LTS (Focal Fossa)

5. The same packages on other Linux Distributions

zabbix-agent (1:3.0.12+dfsg-1) Ubuntu 18.04 LTS (Bionic Beaver)

zabbix-agent (1:2.4.7+dfsg-2ubuntu2.1) Ubuntu 16.04 LTS (Xenial Xerus)

zabbix-agent (1:5.0.2+dfsg-1) Ubuntu 20.10 (Groovy Gorilla)

zabbix-agent (1:5.0.8+dfsg-1build1) Ubuntu 21.10 (Impish Indri)

zabbix-agent (3.0.31-bp153.1.25) openSUSE Leap

zabbix-agent (4.0.34-1.4) openSuSE Tumbleweed

zabbix-agent (1:5.0.17+dfsg-1) Ubuntu 22.04 LTS (Jammy Jellyfish)

zabbix-agent (1:4.0.4+dfsg-1) Debian 10 (Buster)

Источник

zabbix-agent on Ubuntu 21.10 (Impish Indri)

In this section, we are going to explain the necessary steps to install zabbix-agent package:

2. Uninstall / Remove zabbix-agent package

Please follow the steps below to uninstall zabbix-agent package:

3. Details of zabbix-agent package

Package: zabbix-agent
Architecture: amd64
Version: 1:5.0.8+dfsg-1build1
Priority: optional
Section: universe/net
Source: zabbix
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Dmitry Smirnov
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 926
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: libc6 (>= 2.33), libcurl3-gnutls (>= 7.16.2), libgnutls30 (>= 3.7.0), libldap-2.5-0 (>= 2.5.4), libpcre3, zlib1g (>= 1:1.2.0), ucf, adduser, lsb-base, pciutils
Recommends: usbutils
Suggests: logrotate
Filename: pool/universe/z/zabbix/zabbix-agent_5.0.8+dfsg-1build1_amd64.deb
Size: 270352
MD5sum: 9c5da6bf664dceef0f3e08d17ca04b64
SHA1: c2c5c65b7ebbbbc3f0f5f80fc794da7a3e56c745
SHA256: 3e32595695744adf4d45595cdcba256df4af1b09f8ef70293af2c600e1c1f034
SHA512: 0f8890705969a08a2ae614415dd7a0e4d647448c9b7e6f2782a766c9e5d510b2a00bdd4d1af8e94831db2d4f568aec0ca2d56c55791818c81d09d736f2ee828f
Homepage: http://zabbix.com
Description-en: network monitoring solution — agent
Zabbix is a server/client network monitoring system with many features.
It can be used for:
.
— high level monitoring of IT services;
— centralized monitoring of your servers and applications;
— monitoring of SNMP-enabled devices;
— performance monitoring (process load, network activity, disk
activity, memory usage, OS parameters etc.);
— data visualization.
.
This package provides the software needed to monitor a host using a
Zabbix agent.
Description-md5: eac02cc4af79b30caae8c4f8fb05e53b

Читайте также:  Linux network interfaces нет файла

4. References on Ubuntu 21.10 (Impish Indri)

z-push-backend-ldap (2.6.0-1)

z-push-common (2.6.0-1)

z-push-ipc-memcached (2.6.0-1)

z-push-kopano-gab2contacts (2.6.0-1)

z-push-state-sql (2.6.0-1)

z3 (4.8.12-1)

z88-doc (13.0.0+dfsg2-6)

zabbix-frontend-php (1:5.0.8+dfsg-1build1)

zabbix-java-gateway (1:5.0.8+dfsg-1build1)

zabbix-proxy-pgsql (1:5.0.8+dfsg-1build1)

zabbix-proxy-sqlite3 (1:5.0.8+dfsg-1build1)

zabbix-server-mysql (1:5.0.8+dfsg-1build1)

zalign (0.9.1-5)

zangband (1:2.7.5pre1-13)

zaqar-common (13.0.0-0ubuntu1)

zaqar-server (13.0.0-0ubuntu1)

5. The same packages on other Linux Distributions

zabbix-agent (1:3.0.12+dfsg-1) Ubuntu 18.04 LTS (Bionic Beaver)

zabbix-agent (1:2.4.7+dfsg-2ubuntu2.1) Ubuntu 16.04 LTS (Xenial Xerus)

zabbix-agent (1:5.0.2+dfsg-1) Ubuntu 20.10 (Groovy Gorilla)

zabbix-agent (3.0.31-bp153.1.25) openSUSE Leap

zabbix-agent (4.0.34-1.4) openSuSE Tumbleweed

zabbix-agent (1:5.0.17+dfsg-1) Ubuntu 22.04 LTS (Jammy Jellyfish)

zabbix-agent (1:4.0.4+dfsg-1) Debian 10 (Buster)

Источник

Zabbix-agent удаление.

Добрый день. Не могу удалить агент. Ставил чтобы посмотреть. Удалилось всё кроме агента. В интернете по удалению агента ничего не смог найти. При удалении через synaptic выдаёт следующее При обработке следующих пакетов произошли ошибки: zabbix-agent E: Sub-process /usr/bin/dpkg returned an error code (1) Спасибо.

Вообще такие трудности не специфичны для zabbix. Просто prerm или postrm скрипт для deb пакета вернул ошибку

Вместо synaptic попробуй apt или даже dpkg, будет больше информации. скорее всего сразу будет понятна причина

Скрипты лежат в /var/lib/dpkg/info/$.prerm, их можно просмотреть и узнать, что они выполняют и где обламываются. Исправляешь косяк и пакет удаляется без проблем

$ sudo dpkg –remove zabbix-agent (Чтение базы данных … на данный момент установлено 334923 файла и каталога.) Удаляется zabbix-agent (1:5.0.0-1+buster) … [….] Stopping Zabbix agent: zabbix_agentdstart-stop-daemon: matching only on non-root pidfile /var/run/zabbix/zabbix_agentd.pid is insecure invoke-rc.d: initscript zabbix-agent, action «stop» failed. dpkg: ошибка при обработке пакета zabbix-agent (–remove): installed zabbix-agent package pre-removal script subprocess returned error exit status 1 [ ok ] Starting Zabbix agent: zabbix_agentd. При обработке следующих пакетов произошли ошибки: zabbix-agent

Читайте также:  Linux right to execute

$ systemctl stop zabbix-agent System has not been booted with systemd as init system (PID 1). Can’t operate. Failed to connect to bus: Узел выключен

initscript zabbix-agent, action «stop» failed

надо что бы не failed. в крайнем случае можно просто закомментировать остановку в .prerm файле

Большое спасибо, что откликнулись. Подскажите, как правильно всё сделать. Вот файл zabbix-agent.prerm »’#!/bin/sh set -e

Automatically added by dh_installinit/12.1.1

if [ -x «/etc/init.d/zabbix-agent» ]; then invoke-rc.d zabbix-agent stop || exit 1 fi

End automatically added section»’

Источник

zabbix-agent on Debian 11 (Bullseye)

In this section, we are going to explain the necessary steps to uninstall zabbix-agent package:

3. Details of zabbix-agent package

Package: zabbix-agent
Source: zabbix
Version: 1:5.0.8+dfsg-1
Installed-Size: 1186
Maintainer: Dmitry Smirnov
Architecture: amd64
Depends: libc6 (>= 2.17), libcurl3-gnutls (>= 7.16.2), libgnutls30 (>= 3.7.0), libldap-2.4-2 (>= 2.4.7), libpcre3, zlib1g (>= 1:1.2.0), ucf, adduser, lsb-base, pciutils
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: usbutils
Suggests: logrotate
Description: network monitoring solution — agent
Description-md5: eac02cc4af79b30caae8c4f8fb05e53b
Homepage: http://zabbix.com
Tag: admin::monitoring, implemented-in::c, interface::daemon,
network::server, role::program, use::monitor,
works-with::software:running
Section: net
Priority: optional
Filename: pool/main/z/zabbix/zabbix-agent_5.0.8+dfsg-1_amd64.deb
Size: 578336
MD5sum: cb4dbb488d6235ef2e57063efa6ae509
SHA256: 2888772d73140e5b0980b206ebecb55bbd9179933276de65e18f1ea32f934a24

4. References on Debian 11 (Bullseye)

5. The same packages on other Linux Distributions

zabbix-agent (1:3.0.12+dfsg-1) Ubuntu 18.04 LTS (Bionic Beaver)

zabbix-agent (1:2.4.7+dfsg-2ubuntu2.1) Ubuntu 16.04 LTS (Xenial Xerus)

zabbix-agent (1:5.0.2+dfsg-1) Ubuntu 20.10 (Groovy Gorilla)

zabbix-agent (1:5.0.8+dfsg-1build1) Ubuntu 21.10 (Impish Indri)

zabbix-agent (3.0.31-bp153.1.25) openSUSE Leap

zabbix-agent (4.0.34-1.4) openSuSE Tumbleweed

zabbix-agent (1:5.0.17+dfsg-1) Ubuntu 22.04 LTS (Jammy Jellyfish)

zabbix-agent (1:4.0.4+dfsg-1) Debian 10 (Buster)

Источник

Оцените статью
Adblock
detector