2016-10-04 6 views
0

はにcheck_nrpeスクリプトがホストにNagiosのダッシュボードでが失敗しました。 errnoには2:そのようなファイルやディレクトリ

/usr/lib64/nagios/plugins/check_nrpe -H 172.31.3.90 -c pinger 

をカスタムモニタを解決することはできません、それはネットワークと他の依存関係が正常に動作エラー

failed. errno is 2: No such file or directory 

をスローしますコマンドおよびサービスは思え定義罰金だけでなく

define command { 
     command_name pinger 
     command_line check_nrpe!pinger 
} 

define service { 
     use        local-service   ; Name of service template to use 
     host_name      ci3 
     service_description    pinger 
     check_command     pinger 
} 

Dashboard

答えて

0
にcheck_nrpeコマンドは、ファイル内のNagiosのサーバーに追加する必要があります

/usr/local/nagios/etc/objects/commands.cfg 

エントリがプログラムにcheck_nrpe

define command { 
     command_name        check_nrpe 
     command_line        /usr/lib64/nagios/plugins/check_nrpe -H $HOSTNAME$ -c pinger 
} 

を参照して、今のサービスは、データを収集しているとDashboard

で確認することができます
関連する問題