NAGIOS を NRPE 用に設定するためのちょっとした助けを探しています。私は Linux の初心者で、これを機能させるのに苦労しているようです。Nagios 3.3.1コアとNagiosプラグイン1.4.15でnrpe2.13を実行しているUbuntu 11.10を実行しています。
現在、Nagios ExchangeプラグインをNagiosで動作させようとしていますcheck_be.exe
。check_be.txt
Nagios サーバーと Windows バックアップ実行サーバーでセットアップを行いました。
現在、実行すると
root@PERSES:/usr/local/nagios/libexec# ./check_nrpe -H 192.168.1.10 -t200 -c check_be
私は手に入れます
Job: Daily Backup, Success, Date:17/4/2012
Nagios から得られるのは、プラグインから出力が返されないことだけです。
Windows.cfg
次のエントリがあります
# Service for Backup Exec agent
define service {
use template-backupexec
service_description BackupExec - Daily DAT backup ; specific display name, if you need
host_name cmbssrv.cmbs.local
}
Templates.cfg
このエントリがあります – ソケットのタイムアウトを回避するために変更しようとしました
define service{
name template-backupexec
use generic-service
service_description BackupExec Job Check ; default display name in Nagios
check_command check_nrpe! -t 240 -c check_be ; same name as in the nsclient++ nsc.ini command defini$
normal_check_interval 60 ; your check intervals here
retry_check_interval 60
register 0 ; this is a template
}
Commands.cfg
:
# 'check_nrpe' command definition
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDESS$ -p 5666 -v $ARG1$
}
どんなアイデアでも大歓迎です