LoginSignup
3

More than 5 years have passed since last update.

Raspberry pi 3 B+ にZabbix Agent 4.0をインストールしてみた

Last updated at Posted at 2018-12-15

概要

  • Raspberry pi 3 B+ をZabbixで監視するために Zabbix Agent 4.0をインストール

手順

1. Repository 導入

# wget https://repo.zabbix.com/zabbix/4.0/raspbian/pool/main/z/zabbix-release/zabbix-release_4.0-2+stretch_all.deb

# dpkg -i zabbix-release_4.0-2+stretch_all.deb

# apt update
# reboot

2. Zabbix Agent 導入

# apt install zabbix-agent

3. Zabbix AgentのVer確認

# zabbix_agentd -V
zabbix_agentd (daemon) (Zabbix) 4.0.2
Revision 87228 26 November 2018, compilation time: Nov 26 2018 09:32:37

Copyright (C) 2018 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 1.1.0f  25 May 2017
Running with OpenSSL 1.1.0j  20 Nov 2018
#

無事インストールされました。

4. Zabbix Agentのconfig変更

# vi /etc/zabbix/zabbix_agentd.conf

5. Zabbix SenderとGetの導入

# apt install zabbix-sender
# apt install zabbix-get
# zabbix_sender -V
zabbix_sender (Zabbix) 4.0.2
Revision 87228 26 November 2018, compilation time: Nov 26 2018 09:32:37

Copyright (C) 2018 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 1.1.0f  25 May 2017
Running with OpenSSL 1.1.0j  20 Nov 2018
# zabbix_get -V
zabbix_get (Zabbix) 4.0.2
Revision 87228 26 November 2018, compilation time: Nov 26 2018 09:32:37

Copyright (C) 2018 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 1.1.0f  25 May 2017
Running with OpenSSL 1.1.0j  20 Nov 2018
#

おわり

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3