CentOSにyumでnrpeをインストールする方法

楽に管理するにはyumということで、nrpeをインストール方法を残しておく
標準のレポジトリでは含まれていないので、まず下記を追加する必要がある。

# vi /etc/yum.repos.d/CentOS-Base.repo
                                            • -
[dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://ftp.riken.jp/Linux/dag/redhat/el$releasever/en/$basearch/dag gpgcheck=1 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt enabled=1
                                            • -
//インストール # yum install nagios-nrpe # service nrpe start //動いていることを確認 # ps aux | grep nrpe //自動起動を有効にしておく # chkconfig nrpe on # chkconfig --list nrpe