Nagios - Knowledge Base Archives - Hivelocity Hosting https://www.hivelocity.net/kb/tag/nagios/ Dedicated Servers, Private Cloud & Colocation Wed, 06 Dec 2023 16:55:07 +0000 en-US hourly 1 https://wordpress.org/?v=6.6 How to Install Nagios https://www.hivelocity.net/kb/how-to-install-nagios/ https://www.hivelocity.net/kb/how-to-install-nagios/#respond Tue, 29 Jan 2013 14:37:55 +0000 https://kb.hivelocity.net/?p=10926 Nagios is a popular open source network monitoring application. It’s mainly used to monitor services On the server. Steps to configure nagios on Linux Machine:- For Configuring Nagios, download nagios core and nagios plugins from nagios.org site. Initially create users and groups. #useradd nagios # passwd nagios #groupadd nagcmd #usermod -G nagcmd nagios # usermod …

How to Install Nagios Read More »

The post How to Install Nagios appeared first on Hivelocity Hosting.

]]>
Nagios is a popular open source network monitoring application. It’s mainly used to monitor services

On the server. Steps to configure nagios on Linux Machine:-

For Configuring Nagios, download nagios core and nagios plugins from nagios.org site.

  1. Initially create users and groups.

#useradd nagios
# passwd nagios
#groupadd nagcmd
#usermod -G nagcmd nagios
# usermod -G nagcmd apache

 

  1. Create a folder name called Downloads in /home/downloads where we have to

configure nagios core and nagios plugins from nagios.org website.

 

  1. select nagios core == nagios-3.2.3.tar.gz

    In the /home/Download folder execute the following command:-

    wget Nagios – Browse Files at SourceForge.net 3.2.3/nagios-3.2.3.tar.gz/download

    tar -zxvf nagios-3.2.3.tar.gz

    Then again in /home/download go in the below folder, execute the command
    as following and that should allow nagios core plugin to be installed.

    cd nagios-3.2.3

    ./configure –with-command-group=nagcmd

    #make all; make install; make install-init; make install-config; make install-commandmode; make install-webconf

 

  1. Create a nagiosadmin account for logging into the Nagios web interface & assign it to login.

    htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

    enter password

  2. Restart the httpd server :

    #Service httpd restart

 

  1. Go to nagios.org site , select nagios plugins == nagios-plugins-1.4.15.tar.gz

 

And download it in /home/downloads folder.

 

cd /home/downloads

wget Download Nagios Plugin Development from SourceForge.net

tar -zxvf nagios-plugins-1.4.15.tar.gz

cd nagios-plugins-1.4.15

./configure –with-nagios-user=nagios –with-nagios-group=nagios

make; make install

 

g. Now you have to add nagios to Chkconfig

#chkconfig –add nagios

#chkconfig nagios on

h. Verify if you have a good config of nagios with the command

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

i. Check if there are no errors displayed; then start nagios with command:

#service nagios start

To simplify the procedure please disable the selinux and iptables and ip6tables.

In your browser type In https://localhost/nagios or https://ip/nagios
put your username nagiosadmin and password you have decided now you will be able to access the

Nagios

The post How to Install Nagios appeared first on Hivelocity Hosting.

]]>
https://www.hivelocity.net/kb/how-to-install-nagios/feed/ 0