NagiosでSNMPを利用した監視を行う場合、check_snmpコマンドであれこれ書いていくのも一つの方法ですが、MIBのオブジェクトIDとか覚えるのは不可能なので記述はコピペに頼ることになります。 CPU使用率だったら check_snmp!public!.1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0!'CPU usage (user system idle)'!'%,%,%'とか。後から見て何やってるのか分かりづらい。それってあまり嬉しくないよなということで、用途別に書かれたプラグインを使ってます。 http://nagios.manubulon.com/ 何年か前から使ってるんだけど、ブクマとかほとんど付いてなくて知名度が低いのか需要が無いのか分からないからエントリで紹介して
Nagiosのアラート通知をメールだけじゃなくてIRCにも通知したいなぁと思ったのでやってみました。 IRC bot 今までだと Plagger 付属の plagger-ircbot を走らせて、適宜 POE の IKC で通知命令を送っていたんですが、ちょっと CPAN を探してみたら、 Bot::BasicBot::Pluggable というのがありました。 karmaもつけられていいなーと思ってこれを使おうと思ったんですが、POE を使っているものの IKC で連携する機能がありません。 そこでこのモジュールを継承して、Bot::IKCBot::Pluggable というのを作りました。 http://github.com/hirose31/p5-bot-ikcbot-pluggable/tree/master Bot::IKCBot::Pluggable BasicBotとの違いは
memcachedの死活監視をするのに、同梱の check_tcp を使って、 ./check_tcp -H mc101 -p 11211 -E -s "version\r\n" -q "quit" -e VERSIONなんてやろうと思い、 define service { use critical-service hostgroup_name memcached-servers service_description memcached version check_command check_tcp!11211!-E -s 'version\r\n' -q "quit" -e VERSION }とかいう serivce を定義するも、「Socket timeout after 10 seconds」といわれて一向に成功しない。 ちゃんと-Eしてんのになんで\r\nが効かないのー ムキーー
0.0.33 improved irc protocol handling - should now be compatible with more IRC servers 0.0.31 link-failure fix 0.0.30 added SSL support and nick highlighting You might be interested in CoffeeSaint: an application that shows the status of Nagios (version 1 up to 3 and the newer XI) on a screen. It can, if there are no errors, display a Webcam feed. If an error status occurs, it can play a sound. On
Preface The purpose of this guidelines is to provide a reference for the plugin developers and encourage the standardization of the different kind of plugins: C, shell, perl, python, etc. Nagios Plugin Development Guidelines Copyright (C) 2000-2018 Nagios Plugins Team Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notic
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く