×
文章分類 (02 七 2014)

相關廣告圖文,請發表於商品資訊中

Nagios upgrade

  • 愛德華
  • 愛德華 的個人頭像 Topic Author
  • Offline
  • 管理員
  • 管理員
More
8 年 9 個月 ago - 8 年 9 個月 ago #628 來自 愛德華
Nagios upgrade was created by 愛德華
mkdir /usr/local/nagios/share/backup

mv /usr/local/nagios/share/*.html /usr/local/nagios/share/backup

Download Nagios of new version, Example nagios-4.1.1.tar.gz

  1. Type tar zxf nagios-4.1.1.tar.gz and press Enter
  2. Type cd nagioscore-nagios-4.1.1 and press Enter
  3. Type ./configure --with-command-group=nagcmd and press Enter
  4. Wait for the configure command to complete
  5. Type make all and press Enter
  6. Wait for the make all command to complete
  7. Type make install and press Enter
  8. Wait for the make install command to complete
  9. Type make install-init and press Enter
  10. Wait for the make install-init command to complete
  11. Type make install-commandmode and press Enter
  12. Wait for the make install-commandmode command to complete
  13. Type cp -Ru contrib/eventhandlers/ /usr/local/nagios/libexec/ and press Enter
  14. Type chown -R nagios:nagios /usr/local/nagios/libexec/eventhandlers and press Enter
  15. Type /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and press Enter
  16. The last command ran the nagios pre-flight check
  17. Type service nagios restart and press Enter
  18. The last command restarted nagios core
Last edit: 8 年 9 個月 ago by 愛德華.
這個話題已被上鎖
建立頁面時間:0.027 秒
討論區核心: Kunena 論壇
 
 
 
Protected by R Antispam