Restart the xinetd service to start NRPE: sudo service xinetd restart Now that Nagios 4 is installed, we need to configure it. You only need to perform this section once, on your Nagios server. Organize Nagios Configuration Open the main Nagios configuration file in your favorite text editor. Remember this password, as you will need it to access the Nagios web interface. Now create a symbolic link of nagios.
|Published (Last):||20 November 2008|
|PDF File Size:||8.12 Mb|
|ePub File Size:||3.64 Mb|
|Price:||Free* [*Free Regsitration Required]|
Restart the xinetd service to start NRPE: sudo service xinetd restart Now that Nagios 4 is installed, we need to configure it.
You only need to perform this section once, on your Nagios server. Organize Nagios Configuration Open the main Nagios configuration file in your favorite text editor. Remember this password, as you will need it to access the Nagios web interface.
Now create a symbolic link of nagios. Save and exit. Repeat this section for each server you wish to monitor. Now open nrpe. If you have any firewalls blocking that port, be sure to open it to your Nagios server. Save and quit. Restart NRPE to put the change into effect: sudo service nagios-nrpe-server restart Once you are done installing and configuring NRPE on the hosts that you want to monitor, you will have to add these hosts to your Nagios server configuration before it will start monitoring them.
If this is sufficient for you, save and exit then restart Nagios. If you want to monitor particular services, read on. Add any of these service blocks for services you want to monitor. Now save and quit. Reload your Nagios configuration to put any changes into effect: sudo service nagios reload Once you are done configuring Nagios to monitor all of your remote hosts, you should be set.
Be sure to access your Nagios web interface, and check out the Services page to see all of your monitored hosts and services: Conclusion Now that you monitoring your hosts and some of their services, you might want to spend some time to figure out which services are critical to you, so you can start monitoring those.
You may also want to set up notifications so, for example, you receive an email when your disk utilization reaches a warning or critical threshold or your main website is down, so you can resolve the situation promptly or before a problem even occurs.
Mise en place d'une solution de supervision avec NAGIOS et CENTREON
These binaries provides multiple events triggers for your Nagios web interface. Install Apache2 Before installing Nagios server packages, make sure Apache2 HTTP server is installed… to do that on Ubuntu run the commands below… sudo apt update sudo apt install apache2 Step 2: Because we are building Nagios and its components from source, we must install a few development libraries to complete the build, including compilers, development headers, and OpenSSL. Log in to Nagios with nagiosadmin user the password setup with htpasswd script. No such file or directory sudo apt-get install snmp snmp-mibs-downloadersudo download-mibssudo service nagios restart. Finally, You have successfully installed and configured Nagios Monitoring Server core service in your system. Thanks Rahul, best instructions I have seen so far and worked for me. Notify me of followup comments via e-mail.
Comment installer Nagios 4 et surveiller vos serveurs sur CentOS 7
Now you can check the communication with the remote NRPE server. Finally, restart Nagios daemon in order to apply the installed plugins, by issuing the below command. Install Nagios 4 Core in Ubuntu and Debian 3. Your name or email address: This way you can resolve the situation promptly, or even before a problem even occurs. Enter the following commands to compile and install nagios web interface.
Documents et livres connexes