nagios客户端自动安装shell脚本

摘要:#!/bin/bash#install nagios client start....sleep 1/usr/sbin/useradd -m magiosmkdir -p /home/oldboy/tools/cd /home/oldboy/tools[ ! -f nagios.zip ] && {echo "nagios soft is not exist."exit 1}unzip nagios.zipcd /home/oldboy/tools/tar zxvf nagios-plugins-1.4.13.tar.gzcd nagios-plugins-1.4.13./configure --prefix=/usr/local/nagios --ena
分页:« 1 2 3 4 »
Powered by AKCMS