您好,登錄后才能下訂單哦!
FreeBSD 安裝配置nrpe
pw useradd nagios -d /home/nagios -s /usr/sbin/nologin
cd /usr/ports/net-mgmt/nagios-plugins/ (cd /usr/ports/security/openssl make install 可能需要)
make install
tar zxvf nrpe-2.14.tar.gz
cd nrpe-2.14
./configure
make all
make install
make install-plugin
make install-daemon
make install-daemon-config
cd /usr/local/
chown -R nagios:nagios libexec/nagios
chmod -R 775 libexec/nagios
chown -R nagios:nagios nagios/
chmod -R 775 nagios/
pkill nrpe
/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
pkg_add安裝
pkg_add -r -v nagios-plugins
監(jiān)控主機測試nrpe
/usr/local/nagios/libexec/check_nrpe -H 192.16.0.70 主機端口
/usr/local/nagios/libexec/check_nrpe -H 192.16.0.67 -c check_login_procs 測試監(jiān)控進程
免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權內(nèi)容。