温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

运维监控部署-nagios-2.主要插件

发布时间:2020-08-03 20:29:19 来源:网络 阅读:398 作者:fzhaolei 栏目:移动开发

安装首要插件:nagios-plugins

安装完毕nagios,监控系统没有过多的监控命令可以执行,这时就需要插件。

环境需求:
yum install openssl openssl-devel
或者yum install openssl*

安装首要插件:nagios-plugins
tar -zxvf nagios-plugins-1.4.13.tar.gz
cd nagios-plugins-1.4.13
./configure --prefix=/usr/local/nagios/ --enable-redhat-pthread-workaround
(在redhat 系统上面安装可能出现configure 时,到这里checking for redhat spopen problem...就不动了,所以需要在configure 时再 --enable-redhat-pthread-workaround)
make
make install
ls /usr/local/nagios/libexec/
会显示安装的插件文件,即所有的插件都安装在libexec 这个目录下(该插件的用途就是扩 展commands.cfg)

安装后的命令有:
check_apt check_dummy check_ifstatus check_mailq check_ntp_peer check_real check_swap urlize
check_breeze check_file_age check_imap check_mrtg check_ntp_time check_rpc check_tcp utils.pm
check_by_ssh check_flexlm check_ircd check_mrtgtraf check_nwstat check_sensors check_time utils.sh
check_clamd check_ftp check_jabber check_nagios check_oracle check_simap check_udp
check_cluster check_http check_ldap check_nntp check_overcr check_smtp check_ups
check_dhcp check_icmp check_ldaps check_nntps check_ping check_spop check_users
check_disk check_ide_smart check_load check_nt check_pop check_ssh check_wave
check_disk_smb check_ifoperstatus check_log check_ntp check_procs check_ssmtp negate


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI