欢迎来到天天文库
浏览记录
ID:34231643
大小:291.35 KB
页数:3页
时间:2019-03-04
《NAGIOS_INSTALLATION_GUIDE.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、GiuseppeTurriE‐mail:g.turri@giuseppeturri.itHOWTOInstallNagiosCoreonRedHatEnterpriseLinuxSystems......WithoutProblems:-)1-InstallsystemsoftwareneededbynagiosinstallationWebegininstallingandverifyingthepackagerequirementsandso,asrootuser,submitthefollowingcommand:yuminstall-ywge
2、thttpdphpgccglibcglibc-commongdgd-develmakenet-snmp2-DownloadNagioscoreandmainpluginWhenI'mwritingthisdocumentthelatestavailableversionofnagioscoreisthe3.4.1andyoucandownloaditbrowsingattheurlhttp://prdownloads.sourceforge.net/sourceforge/nagios/nagios‐3.4.1.tar.gzordirectlybyw
3、getwiththiscommand:cd/tmpwgethttp://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.4.1.tar.gzwgethttp://sourceforge.net/projects/nagiosplug/files/nagiosplug/1.4.15/nagios-plugins-1.4.15.tar.gzNote:ifyoursystemisbehindaproxyserveryoumayneedtoconfiguretheproxytoallowthei
4、nternetconnectiontowgetfollowingthesesteps−addyourproxyto/erc/wgetrcconfigurationfile(uncommentandmodifythetypeofproxyusedinyournetwork)−uncommenttheuse_proxy=onsettingor,ifyoudon'twanttousetheproxyatallyoumayturnoffthissettingandissuethewgetcommandfollowebby ‐‐proxy=on ‐‐prox
5、y‐user=user ‐‐proxy‐password=passwordandthentheurl(examplewget ‐‐proxy=on ‐‐proxy‐user=user ‐‐proxy‐password=passwordhttp://www.xxx.zzz)3-InstallingNagioscore&mainpluginOnceDownloadedthetarfilewehavetocreatetheuserandgroupfornagiosandsosubmitthesecommands:ÓuseraddnagiosÓgroupa
6、ddnagcmdÓusermod-a-GnagcmdnagiosNowwecanextractthesoftwarefromthetarballÓtarzxfnagios-3.4.1.tar.gzÓtarzxfnagios-plugins-1.4.15.tar.gzPagina1di3GiuseppeTurriE‐mail:g.turri@giuseppeturri.itAndinstallthecorenagiossoftware…ÓcdnagiosÓ./configure--with-command-group=nagcmdÓmakeallÓma
7、keinstallÓmakeinstall-initÓmakeinstall-configÓmakeinstall-commandmodeÓmakeinstall-webconf…andthemainpluginÓcd../nagios-plugin*Ó./configure--with-nagios-user=nagios--with-nagios-group=nagiosÓmakeÓmakeinstallÓcp-Rcontrib/eventhandlers//usr/local/nagios/libexec/Óchown-Rnagios:nagi
8、os/usr/local/nagios/libexec/eventhandlersWecanstartthe
此文档下载收益归作者所有
点击更多查看相关文章~~