Mod_Gearman is an easy way of distributing active Naemon checks across your network and increasing Naemon scalability. Mod-Gearman can even help to reduce the load on a single Naemon host, because its much smaller and more efficient in executing checks. There is a NEB module which resides in the Naemon core and adds servicechecks, hostchecks and eventhandler to a Gearman queue. The counterpart is
モニタリングをカジュアルにトークする、Monitoring Casual Talk #3に初参加してきました こういう勉強会、聞くのではちょくちょく参加してましたが、話すのでは Kyoto.pm でLTして以来の2回目で、まだあんまり慣れてないですが話したいことは言えた(多分)のでまあ良かったかなーという感触でした。 しかし周りがそろいもそろってモヒk(ry 話した内容は"はてなのNagios" はてなのNagios - モニカジ#3 from Shoichi Masuhara はてながどのようにNagiosを使っているかというのと、それに加えてはてなで使っているサーバ管理ツールについて紹介してきました。スライド見てもらうとまあ空気はわかってもらえるかと。 紹介できたのはいいものの、オープンソースにしたいですねとか言ったせいで サーバ管理ツールはほしい #monitoringcasual—
Home Home Percona Monitoring and Management Percona Monitoring Plugins MySQL Software MongoDB Software PostgreSQL Software Kubernetes Operators Playback Reference Legacy documentation¶ You should upgrade to the most recent version for documentation support. The documentation for product versions that are either outdated or have reached their end-of-life is available in a PDF format. Outdated docum
新しい機能をリリースした際に、MySQLに対して効率的ではないクエリが発行されてしまって、それが積もってサービス全体に影響が出てしまう前に発見してアラートをあげたい。 発見する手立てとしてはCPU使用率やInnoDBのROW OPERATIONSが考えられるところですが、今回はスロークエリが発生した回数を監視することにした。ちなみにいつものことながら対象とするMySQLは4.0系。long_query_timeがオンラインで変更できません。。。はい MySQLのスロークエリが発生した回数は、show status のSlow_queriesという項目でみることができて mysql> show status like 'Slow_queries'; +---------------+-------+ | Variable_name | Value | +---------------+---
In this post, I’ll cover the new MySQL monitoring plugins we created for Nagios, and explain their features and intended purpose. I want to add a little context. What problem were we trying to solve with these plugins? Why yet another set of MySQL monitoring plugins? The typical problem with Nagios monitoring (and indeed with most other monitoring systems) is the alert spam. I’ve spoken to a lot o
検索してもそれっぽいのが出てこなかったので、とりあえず書いてみた。 目的:メインとサブのHA構成 メイン(host1):192.168.0.2 サブ(host2):192.168.0.3 VIP:192.168.0.1 だった場合に、メンテとかでhb_takeoverを実行したり、 知らず知らずの内にフェイルオーバしていて実はVIPがサブのホストに 渡っていた!というマヌケな事象を防ぐのが目的。 ※通常の障害でフェイルオーバした時は、ホストダウンとか他のエラーでちゃんと検知して、 フェイルオーバした事自体に気づかないとかそんなうっかりは無いと思いますがw 前提条件:各HOSTがHTTPリクエストに対して、自身のホスト名を返却出来る事。 普通はどっか適当なファイルにuname -n >>ホニャララ しておけばそれでOK。 スクリプト名はvip_checkとする。 #!/bin/sh #una
Nagios Mobile is a lightweight web interface, based on the Teeny Nagios project by Hirose Masaaki. Nagios Mobile is a PHP web-based application designed for Mobile and touch-screen devices. Key Features: – User-level authorization for hosts, services, and commands that match Nagios Core. – Filtered lists to quickly identify and respond to unhandled problems – Acknowledge problems, Disable/Enable N
このエントリーは、MySQL Casual Advent Calendar 2011 – MySQL Casual の第 19 日目のエントリーです。 皆さんこんにちは、n0ts こと、Naoya Nakazawa です。 今日は、みなさん日頃からカジュアルに MySQL を運用して、日々生活されていることと思います。MySQL は、非常に安定したオープンソースソフトウェアだと思いますが、どんなものでもときにはおかしくなったりするものです。 「備えあれば憂いなし」ということで、僕は日頃から Nagios というオープンソースソフトウェアを利用して、MySQL がおかしくなっていかいか日々カジュアルに監視しています。 今日は、カジュアルに MySQL を Nagios を使って監視する方法を紹介したいと思います。なお、今回は CentOS 5.7 x86_64 というカジュアルな Linux
導入 Introduction 巨大なサイトでNagiosを運用している場合、use_large_installation_tweaksオプションが有益でしょう。このオプションを有効にするとNagiosデーモンはシステムの負荷を下げ、よりよいパフォーマンスで運用するための確かな近道となるでしょう。 効果 Nagiosのメインコンフィグファイルでuse_large_installation_tweaks オプションを有効にすると、Nagiosデーモンの挙動にいくつかの変化が現れます。 1.環境変数のサマリーマクロの無効化 - The サマリーマクロは環境変数で利用できなくなります。設定数が非常に多くなるとこれらのマクロの値を計算に時間がかかります。そのため、このオプションを使用するとこれらを無効にします。サマリーマクロは引数として自作のスクリプトでパスすると通常のマクロのようにサマリーマクロ
自分の場合、iPhoneでNagiosを見たい場合というのは、 アラートが飛んできたので状況を確認したい →ざっと状況をつかみたいので、一覧性の高いビューがいい 即時対応は必要なさそうなので、とりあえずアラートを止めたい →ホスト単位、またはサービス単位で「Schedule downtime」したい ぐらいなので、それに特化したスマートフォンビューを作りました。 プロジェクトホーム http://hirose31.github.com/teeny-nagios/ レポジトリ https://github.com/hirose31/teeny-nagios Mobile Safariで通常のNagiosのページを見てもいいんですが、操作性、一覧性がイマイチだなーと思ったのが作った動機です。 ホーム。ざっくり状況を確認するのに。 ホストの一覧。黄色はwarningが、赤色はcriticalが出
以前公開していた2.xに関する情報はこちらに移動しました。 なお、この章はyumでインストールした際の設定方法を記載したものですので、ソースからインストールした場合は適宜読み替えてください。 さて、監視サーバとしては安定していて動作も軽いほうだと思うのですが、いかんせん設定がめんどくさい・・・。 そこで、NagiosQLというツールを導入してみました。これを使えばWeb上のGUIでNagiosを設定管理できます。また、2.xではConfig関連を一旦破棄する覚悟で移行する必要がありましたが、3.0xではImport機能が強化されており、これまでの設定ファイルを有効活用できるようになっていました。 * NagiosQLはNew BSD Licenseです。 なお、またしてもSELinuxについては当面Offにして動かすことにします。たぶんPHPから任意のディレクトリの書き込みを許可するよ
ソースからインストールする場合 yumを使ってインストールする場合 yumからインストールする方法を追記しました。yumからのインストールのほうが自由度は低いもののお手軽です。また、運用を考えると、アップデートも適用しやすいと思います。 ndoutilsはnagiosで扱うデータをデータベースで管理するためのツールです。今回は1台のサーバの中でndoutilsを動かしますので、下の図のような構成になります。(3)のNDOMOD BROKER MODULEがNagiosから呼び出されて、ndomod.cfgで指定した方法で、(4)のNDO2DB DAEMONに接続しようとします。接続方法はTCPソケットかUNIXソケットを使用することができます。(4)のNDO2DB DAEMONはndo2db.cfgに記載された方法でNDOMOD BROKER MODULEからの接続を待ち受け、受信したデ
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
Distribute Hostchecks, Servicechecks and Eventhandler with Gearman. Replace distributed Nagios installations with Gearman worker for easy high availability. Host/Servicegroup affinity included. Mod_Gearman is an easy way of distributing active Nagios checks across your network and to increase nagios scalability. Mod-Gearman can even help to reduce the load on a single nagios host, because its much
Part of my current push at work right now is trying to get some sort of configuration management system in place, and in a usable state. Part of the reason for wanting to do this is consistency of common configuration among the many systems and virtual machines I manage, especially when several serve essentially the same function (such as webserver VMs). Since I’m a fallible human being, it’s easi
Although not very well documented, the integration between Puppet and Nagios can be very useful, especially in a highly modularized environment with components shared between multiple instances, such as a webfarm. I intend on writing a little tutorial page on this site with my recent insights on Puppet and Nagios integration, but one thing I won’t keep unmentioned is how to deal with lots and lots
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く