- Learning NAGIOS 3.0
- Wojciech Kocjan
- 349字
- 2021-08-25 18:05:39
Summary
Our Nagios setup is now complete and is ready to be started! We took the road from source code into a working application. We have also configured it so that it monitors the machine it is running on from scratch, and it took very little time and effort to do so.
Our Nagios installation now uses three directories—/opt/nagios
for binaries, /etc/nagios
for configuration, and /var/nagios
for storing data. All object definitions are stored in a categorized way as the subdirectories /etc/nagios
. This allows much easier management of Nagios objects.
We have configured the server that Nagios is running on, to be monitored. You might want to add more servers just to see how they works.
We told Nagios to monitor only the SSH server. But in all proability, you will also want to monitor other things such as a web server or email.
Chapter 4, Overview of Nagios Plugins, will help when it comes to setting up various types of checks. Make sure to read the /etc/nagios/commands/default.cfg
file to see what commands Nagios already came configured with. Sometimes, it will also be needed to set up your own check commands—either custom scripts, or using Nagios plugins in a different way from the default command set.
You would also want to set up other users if you are working as part of a larger team. It will definitely help everyone in your team if you tell Nagios who is taking care of which parts of the infrastructure!
All that should be a good start for making sure everything works fine in your company. Of course, configuring Nagios for your needs might take a lot of time, but starting with monitoring just the essentials is a good thing. You will learn how it works and increase the number of monitorables over time.
The next step is to set up the web interface so that you will be able to see things from your favorite browser or even put on your desktop. The next chapter provides the essential information on how to install, configure, and use it.
- AutoCAD 2014中文版完全自學手冊
- PPT 2016幻燈片設計與制作從入門到精通
- 中文版Premiere Pro CC實用教程
- Photoshop CS6中文版從入門到精通(核心技法卷):摳圖、修圖、Camera Raw、調色、銳化、合成
- After Effects CS6入門與提高
- AI繪畫實戰:Midjourney從新手到高手
- AutoCAD 2016入門與提高(超值版)
- 新印象Premiere短視頻拍攝+剪輯+特效關鍵技術
- Instant Flask Web Development
- Flash CC動畫制作與應用(第3版)
- 計算機輔助翻譯基礎與實訓
- Flash CS5動畫設計教程
- Unity 3 Game Development Hotshot
- SolidWorks 2017基礎與實例教程
- Axure RP8原型設計圖解視頻教程(Web+App)