Top/Nagios/プラグイン/check_load

check_loadはてなブックマーク

ロードアベレージをチェックするプラグイン。

対象

ローカル

アーカイブ内での位置

plugins/check_load

実行

過去1分過去5分過去15分
WARNING111
CRITICAL222
/usr/local/nagios/libexec/check_load -w 1,1,1 -c 2,2,2

checkcommands.cfgでの定義

vi /usr/local/nagios/etc/checkcommands.cfg
# 'check_load' command definition
define command{
        command_name    check_load
        command_line    $USER1$/check_load -w $ARG1$ -c $ARG2$
        }

サービスの定義

define service{
        use                             generic-service
        host_name                       hoge
        service_description             LOAD
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        notification_interval           240
        notification_period             24x7
        notification_options            c,r
        check_command                   check_load!1,1,1!2,2,2
        contact_groups                  linux-admins
        }

Amazon

差分 一覧