发布时间:2013-09-23 19:27:50
编辑文件/etc/network/interfaces:sudo vi /etc/network/interfaces并用下面的行来替换有关eth0的行:# The primary network interfaceauto eth0iface eth0 inet staticaddress 192.168.3.90gateway 192.168.3.1netmask 255.255.255.0#network 192.168.3.0#broadcast 192.168.3.255.........【阅读全文】
发布时间:2013-09-23 19:11:49
如何使用check_nt来进行插件命令的验证check_nt -H 10.0.0.1 -p 12489 -v USEDDISKSPACE -d SHOWALL -l ccheck_nt -H 10.0.0.1 -p 12489 -v CPULOAD -w 80 -c 90 -l 5,80,90,10,80,90......【阅读全文】
发布时间:2013-09-23 11:48:39
s e r v i c e {" ssh " :ensure => running ;" nfs " :ensure => stoped ;}......【阅读全文】
发布时间:2013-09-23 11:22:38
package {[ "vim" , " iproute " , " x????window????system " ] :ensure => i n s t a l l e d ;[ "pppoe" , "pppoe????conf " ] :ensure => absent ;}其中主要的属性是 ensure installed代表安装 absent代表反安装,也他妈就是卸载的意思 pureged表示干.........【阅读全文】