nagios客户端脚本安装
#!/bin/sh
set -x
groupadd nagios
useradd -g nagios -s /sbin/nologin nagios
cd nrpe-2.12
./configure
make all
make install-plugin
make install-daemon
make install-daemon-config
cd /data/nagios-plugins-1.4.11/
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install
chown nagios.nagios /usr/local/nagios
chown -R nagios.nagios /usr/local/nagios/libexec
set +x
男人偷腥时的智商仅次于爱因斯坦! 爱——不是想出来的,爱——是做出来的!! 不要在一棵树上吊死,在附近几棵树上多试试死几次~ 长大了娶唐僧做老公,能玩就玩一玩,不能玩就把他吃掉。 沙发!沙发! 商女不知亡国恨、妓女不懂婚外情。
页:
[1]