zabbix 使ってみる zabbix+mysql

http://www.zabbix.jp/documents/installation/install-rpm

普通に入れてみる。

mysql multiの設定とユーザーidの変更が必要だった。

Current value Required
PHP version 5.4.36 5.3.0 OK
PHP option memory_limit 128M 128M OK
PHP option post_max_size 8M 16M Fail
PHP option upload_max_filesize 2M 2M OK
PHP option max_execution_time 30 300 Fail
PHP option max_input_time 60 300 Fail

phpの設定をnginxにこんな感じで設定
fastcgi_param PHP_VALUE "max_execution_time=300
memory_limit=128M
post_max_size=16M
upload_max_filesize=2M
max_input_time=300";

* https、認証追加
* adminのぱすわーどを変更
* user追加

監視先にzabbix-agentdをインストール、設定して実行

zabbix-agentd.conf : zabbixサーバーipとport
Server=192.168.0.199
ListenPort=29242

zabbixの設定のhost追加で
Host
IP address と Port ( ListenPortで指定したもの
Template OS Linux
を設定で普通の死活監視はできました。

DNS name と Port ( 80, 443など
Template App HTTPS Service
で、
host一覧のwebから
シナリオ、ステップを追加!
を設定でweb監視!

無事出来ました。ブラウザからweb監視追加が簡単に出来ていいです。

This entry was posted on 日曜日, 12月 21st, 2014 at 8:39 PM and is filed under zabbix. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。