もっと詳しく

Zabbixエージェント(Zabbix Agent)は、監視対象とするサーバーにインストールするソフトウェアです。

  • Zabbix Agent のバージョンを確認するコマンドを知りたい
  • LinuxでZabbix Agent のバージョンを確認する方法を知りたい
  • WindowsでZabbix Agent のバージョンを確認する方法を知りたい

この記事では、上記のような疑問について解説します。

Zabbix Agent のバージョンを確認する方法(Linux / Windows)

zabbix_agentd コマンド

Zabbix Agent のバージョンを確認するには、以下のいずれかのコマンドで確認することができます。(Linux でも Windows でもどちらも同じコマンドです。)

zabbix_agentd -V
zabbix_agentd --version 

$ zabbix_agentd -V
zabbix_agentd (daemon) (Zabbix) 5.0.11
Revision 15ae5548ce 26 April 2021, compilation time: Apr 26 2021 11:26:54

Copyright (C) 2021 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.0.1e-fips 11 Feb 2013
Running with OpenSSL 1.0.1e-fips 11 Feb 2013

$ zabbix_agentd --version
zabbix_agentd (daemon) (Zabbix) 5.0.11
Revision 15ae5548ce 26 April 2021, compilation time: Apr 26 2021 11:26:54

Copyright (C) 2021 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.0.1e-fips 11 Feb 2013
Running with OpenSSL 1.0.1e-fips 11 Feb 2013

zabbix_get コマンド

または、以下のいずれかのコマンドでも確認することができます。(Linux でも Windows でもどちらも同じコマンドです。)

zabbix_get -V
zabbix_get --version 

$ zabbix_get -V
zabbix_get (Zabbix) 5.0.11
Revision 15ae5548ce 26 April 2021, compilation time: Apr 26 2021 11:26:54

Copyright (C) 2021 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.0.1e-fips 11 Feb 2013
Running with OpenSSL 1.0.1e-fips 11 Feb 2013

$ zabbix_get --version
zabbix_get (Zabbix) 5.0.11
Revision 15ae5548ce 26 April 2021, compilation time: Apr 26 2021 11:26:54

Copyright (C) 2021 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.0.1e-fips 11 Feb 2013
Running with OpenSSL 1.0.1e-fips 11 Feb 2013

まとめ

  • Zabbix Agent のバージョンを確認する方法は、LinuxでもWindowsでも以下のコマンドで可能
    zabbix_agentd -V , zabbix_agentd --version
    zabbix_get -V , zabbix_get --version