![]() ![]() configure –with-nagios-group=nagios –with-command-group=nagios –with-mail=/usr/sbin/sendmail then type, sudo make all to compile it. Download it on the server using this command: cd /opt/ & sudo wget Įxtract the tar file sudo tar xvf nagios-*.tar.gz then switch to the Nagios directory cd nagios* and configure Nagios with this command: sudo. Let’s install all the dependencies we will need to install Nagios with this command: sudo apt-get install build-essential libgd2-xpm-dev openssl libssl-dev xinetd apache2-utils unzip sendmail Install Nagiosĭownload the latest Nagios tar file from this URL at the time of this writing the latest release is 4.1.1. Sudo usermod –a –G nagios nagios Install the dependencies you should get the Apache default page.Ĭreate a nagios user and a group. verify apache is running by typing the IP address of your server on the browser. ![]() sudo apt-get update & sudo apt-get install tasksel then install the LAMP server with this command sudo tasksel install lamp-server follow the screen instructions and enter a MySQL password. if you haven’t installed the LAMP stack on the server yet, do it now. In this tutorial I assume that you are familiar with Linux, preferably Ubuntu, and that you have an Ubuntu server already installed with Internet access, and fully patched. 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 CentOS and SUSE linux as well.I’ll use the default ‘sudo” account that is created when you install Ubuntu, but if you want to create a different account to setup Nagios is up to you. ![]() You can build as many live maps as you need to from Visio drawings or any other custom image using Nagvis. A custom live map I built to display on a 1920 x 1080 TV screen: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |