Replace the email address field to receive the notification.Ĭontact_name nagiosadmin Short name of user vi /usr/local/nagios/etc/objects/contacts.cfg We will make just one change before we proceed.Įdit the /usr/local/nagios/etc/objects/contacts.cfg config file and change the email address associated with the nagiosadmin contact definition to your email address to receive alerts. The default configurations should work just fine for Nagios. Nagios places configuration files under the /usr/local/nagios/etc directory. htpasswd -c /usr/local/nagios/etc/ers nagiosadmin Remember the password that you set for this user – you will need it later. make install-webconfĬreate a user account (nagiosadmin) for the Nagios web interface. Install the Nagios web interface using the following command.
Download nagios xi free install#
Make install-commandmode Install Nagios Web Interface cd /tmp/Ĭompile and install Nagios core on your system./configure -with-nagios-group=nagios -with-command-group=nagcmd Usermod -a -G nagcmd apache Install Nagiosĭownload the Nagios Core from the official site using the terminal. Add the user and apache user to be a part of the created group. yum -y install httpd php gcc glibc glibc-common wget perl gd gd-devel unzip zip tarĬreate a user and group for allowing the external commands to be executed through the web interface. Install all packages in a single command. Nagios requires Web Server (httpd), PHP, compilers and development libraries. CentOS 7 CentOS 6 Debian 10 Debian 9 Ubuntu 18.04 Ubuntu 16.04 Prerequisites