Config file etc xinetd d cvspserver needs updating

type the IP address of your Nagios server on your browser with the /nagios sub-directory like this and you should get the login prompt: Type the user name we created above “nagiosadmin” and the password you you should land in your newly built Nagios web page.

if you get any error while reloading the Nagios service, check for typos.

Nagios is like a Lego, you can do with it whatever you want, so this is just a basic example on how to monitor a Windows host.

open the contact configuration file, and add the email address you want to receive the emails from Nagios: If you want to add more people to the notification list, just add their contact info the file, and exit.

Open the command configuration file sudo nano /usr/local/nagios/etc/objects/and add the following command at the end of the file:save the file and exit.

Choose Generic on the next screen: On the next screen click on “Complete” if you are concerned about security, and what to pick in choose what modules and scripts to install, feel free to choose the custom option. I will call my server “dcforevergeeks.com” but preferably, you should adopt a naming convention for your configuration files to keep them organized.

Click on Next in the following screen: On the next screen enter the IP address of your Nagios server, and a password if you need to use a password:click on Next after you are done making your choices. After you finish installing the client, go to your server Services and right-click on NSClient service, and click on the Log On tab and check the Allow service to interact with the Desktop option: Click on OK and make sure the service is running. create the file using nano with this command: sudo nano /usr/local/nagios/etc/servers/cfg add this information to the file.

Nagios was designed to run on Linux, it cannot be installed in any other operating system as far as I know.

In this tutorial I will guide you step by step how to install and configure Nagios, then we will set to monitor a Windows and Linux server, then we will setup nagvis to create live maps that you can display on a computer monitor or TV screen.

Please follow the guide step by step to complete it successfully, and if you encounter any issue please use the comment section to ask for help. Note: This tutorial was tested in Ubuntu only, but taking into account that we will be compiling almost everything from source, this instructions might work in other distributions like Cent OS and SUSE linux as well.

Tags: , ,