nagios-plugin 编译
2013-04-09 21:38
169 查看
又忘记保存最原始文档了。。
随便来个参数备忘
注意需要安装 fping, openssh, netsnmp, mysql 库 等软件
nagios-plugin-1.4.16.tar.gz
./configure --enable-libtap --enable-extra-opts --enable-redhat-pthread-workaround --enable-perl-modules --with-nagios-user=nagios --with-nagios-group=nagios --without-world-permissions --with-gnu-ld --with-cgiurl=/nagios/cgi-bin --with-perl=/usr/bin/perl
--with-mysql=/usr/local/mysql --with-nslookup-command=/usr/bin/nslookup --with-uptime-command=/usr/bin/uptime --with-rpcinfo-command=/usr/sbin/rpcinfo --with-smbclient-command=/usr/bin/smbclient --with-snmpget-command=/usr/bin/snmpget --with-snmpgetnext-command=/usr/bin/snmpgetnext
--with-fping-command=/usr/sbin/fping --with-ssh-command=/usr/bin/ssh --with-mailq-command=/usr/bin/mailq --with-proc-meminfo=/proc/meminfo --with-dig-command=/usr/bin/dig --with-libiconv-prefix=/usr/local --without-libintl-prefix --with-ping-command="/bin/ping
-n -U -w %d -c %d %s" --with-openssl=/usr --with-ps-format="%s %d %d %d %d %d %f %s %s %n" --with-ps-command="/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args'" --with-ps-format="%s %d %d %d %d %d %f %s %s %n" --with-ps-cols=10 --with-ps-varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos"
注意: 假如需要使用 check_http 及 check_tcp 执行 --ssl 的加密验证, 则必须使用 --with-gnutls 及 --with-openssl 参数支持
当前 rhel6 与 --with-gnutls 参数出现库文件不全,不兼容现象
需要编译安装
lzip-1.14.tar.gz
gmp-5.1.1.tar.lz
gnutls-2.12.18.tar.gz
nettle-2.5.tar.gz
p11-kit-0.13.tar.gz
过程丢失,有时间再补充
随便来个参数备忘
注意需要安装 fping, openssh, netsnmp, mysql 库 等软件
nagios-plugin-1.4.16.tar.gz
./configure --enable-libtap --enable-extra-opts --enable-redhat-pthread-workaround --enable-perl-modules --with-nagios-user=nagios --with-nagios-group=nagios --without-world-permissions --with-gnu-ld --with-cgiurl=/nagios/cgi-bin --with-perl=/usr/bin/perl
--with-mysql=/usr/local/mysql --with-nslookup-command=/usr/bin/nslookup --with-uptime-command=/usr/bin/uptime --with-rpcinfo-command=/usr/sbin/rpcinfo --with-smbclient-command=/usr/bin/smbclient --with-snmpget-command=/usr/bin/snmpget --with-snmpgetnext-command=/usr/bin/snmpgetnext
--with-fping-command=/usr/sbin/fping --with-ssh-command=/usr/bin/ssh --with-mailq-command=/usr/bin/mailq --with-proc-meminfo=/proc/meminfo --with-dig-command=/usr/bin/dig --with-libiconv-prefix=/usr/local --without-libintl-prefix --with-ping-command="/bin/ping
-n -U -w %d -c %d %s" --with-openssl=/usr --with-ps-format="%s %d %d %d %d %d %f %s %s %n" --with-ps-command="/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args'" --with-ps-format="%s %d %d %d %d %d %f %s %s %n" --with-ps-cols=10 --with-ps-varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos"
注意: 假如需要使用 check_http 及 check_tcp 执行 --ssl 的加密验证, 则必须使用 --with-gnutls 及 --with-openssl 参数支持
当前 rhel6 与 --with-gnutls 参数出现库文件不全,不兼容现象
需要编译安装
lzip-1.14.tar.gz
gmp-5.1.1.tar.lz
gnutls-2.12.18.tar.gz
nettle-2.5.tar.gz
p11-kit-0.13.tar.gz
过程丢失,有时间再补充
相关文章推荐
- nagios-plugin-1.4.16 编译备忘
- 编译nagios-plugin时卡在checking for ICMP ping syntax
- Ant编译Hadoop 1.0.3的eclipse-plugin插件包
- Maven maven-compiler-plugin 编译问题
- 手动编译安装LAMP架构,并且实现nagios图形化监控(一)
- 手动编译安装LAMP架构,并且实现nagios图形化监控(八)
- maven-compiler-plugin 指定工程编译JDK
- [ IDEA PLUGIN] IDEA配置less编译插件
- maven 构建编译失败:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:
- 编译Hadoop 2.x Hadoop-eclipse-plugin插件
- Maven javaDoc plugin插件使用说明&maven编译乱码解决方案
- Linux下成功编译hadoop-eclipse-plugin-${version}.jar
- Hadoop eclipse plugin 在windows下的编译
- 编译安装和配置nagios的全套监控系统笔记
- cordova-plugin-local-notification在ios平台编译报错
- hadoop-eclipse-plugin 编译 打包
- Maven插件之添加额外编译目录build-helper-maven-plugin
- nagios-plugin(log)
- X3 C++ PluginFramework 已经在Linux下移植编译成功
- Maya Plugin 编译Maya插件