expect交互式执行网络命令 expect实现shell交互式网络命令,插件安装:tarxzvfexpect5.45.tar.gzcdexpect5.45./configure--prefix=/usr/expect--with-tcl=/usr/tcl/lib--with-tclinclude=../tcl8.4.11/gen
nagios监控插件开发步骤 1、编写shell2、将编写好的shell放在服务器与客户端/usr/local/nagios/libexec路径下把开发的shell拷贝至客户端/usr/local/nagios/libexec目录下注意属组及执行权限修改chown-Rnagios.nagios./check_updatechmo