Ubuntu Server Guide Changes, errors and bugs
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
- Bu sahifa navigatsiya:
- Nagios Installation
References
Zentyal Official Documentation page. Zentyal Community Wiki. Visit the Zentyal forum for community support, feedback, feature requests, etc. 293 Monitoring Overview The monitoring of essential servers and services is an important part of system administration. Most net- work services are monitored for performance, availability, or both. This section will cover installation and configuration of Nagios for availability monitoring, and Munin for performance monitoring. The examples in this section will use two servers with hostnames server01 and server02. Server01 will be configured with Nagios to monitor services on itself and server02. Server01 will also be setup with the munin package to gather information from the network. Using the munin-node package, server02 will be configured to send information to server01. Hopefully these simple examples will allow you to monitor additional servers and services on your network. Nagios Installation First, on server01 install the nagios package. In a terminal enter: sudo apt i n s t a l l n a g i o s 3 n a g i o s −nrpe−p l u g i n You will be asked to enter a password for the nagiosadmin user. The user’s credentials are stored in /etc/ nagios3/htpasswd.users. To change the nagiosadmin password, or add additional users to the Nagios CGI scripts, use the htpasswd that is part of the apache2-utils package. For example, to change the password for the nagiosadmin user enter: sudo htpasswd / e t c / n a g i o s 3 / htpasswd . u s e r s nagiosadmin To add a user: sudo htpasswd / e t c / n a g i o s 3 / htpasswd . u s e r s s t e v e Next, on server02 install the nagios-nrpe-server package. From a terminal on server02 enter: sudo apt i n s t a l l n a g i o s −nrpe−s e r v e r Note NRPE allows you to execute local checks on remote hosts. There are other ways of accomplishing this through other Nagios plugins as well as other checks. Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling