OS:CentOS 7.2.1511 64bit
zabbixのバーsジョン:3.0.3
Web監視を利用するにはcURLが必要のようです。
また、Web監視を有効にするにはWebシナリオを定義する必要があるようです。
Zabbix公式では以下で記載されています
8.ウェブ監視
With Zabbix you can check several availability aspects of web sites.
To perform web monitoring Zabbix server must be initially configured with cURL (libcurl) support.
To activate web monitoring you need to define web scenarios. A web scenario consists of one or several HTTP requests or “steps”. The steps are periodically executed by Zabbix server in a pre-defined order.
ということでまずはcURL(libcurl)のインストール
[root@zabbix ~]# yum install -y libcurl-devel 読み込んだプラグイン:fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: ftp.tsukuba.wide.ad.jp * epel: ftp.iij.ad.jp * extras: ftp.tsukuba.wide.ad.jp * updates: ftp.tsukuba.wide.ad.jp 依存性の解決をしています --> トランザクションの確認を実行しています。 ---> パッケージ libcurl-devel.x86_64 0:7.29.0-25.el7.centos を インストール --> 依存性解決を終了しました。 依存性を解決しました ==================================================================================================================================================================================== Package アーキテクチャー バージョン リポジトリー 容量 ==================================================================================================================================================================================== インストール中: libcurl-devel x86_64 7.29.0-25.el7.centos base 297 k トランザクションの要約 ==================================================================================================================================================================================== インストール 1 パッケージ 総ダウンロード容量: 297 k インストール容量: 622 k Downloading packages: libcurl-devel-7.29.0-25.el7.centos.x86_64.rpm | 297 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction インストール中 : libcurl-devel-7.29.0-25.el7.centos.x86_64 1/1 検証中 : libcurl-devel-7.29.0-25.el7.centos.x86_64 1/1 インストール: libcurl-devel.x86_64 0:7.29.0-25.el7.centos 完了しました!
次にWebシナリオを設定するためホストを登録します。
続いてシナリオの作成