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

安装首要插件:nagios-plugins

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

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

安装首要插件:nagios-plugins
焦油-zxvf nagios-plugins-1.4.13.tar。广州
cd nagios-plugins-1.4.13
。/configure——prefix=/usr/地方/nagios/猠nable-redhat-pthread-workaround
(在redhat系统上面安装可能出现配置时,到这里检查redhat spopen问题…就不动了,所以需要在配置时再——enable-redhat-pthread-workaround)

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跑龙套。点
check_by_ssh check_flexlm check_ircd check_mrtgtraf check_nwstat check_sensors check_time跑龙套。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_user
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否定


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