Answered by the Webhosting Experts
Tags +

Firewall Services
at Hivelocity

Keep Bad Actors Out
Whether you’re worried over outside attacks, unauthorized access, or maintaining regulatory compliance, Hivelocity’s Juniper Hardware Firewalls give your server the protection it needs. Keep hackers at bay without depleting your system’s resources.

Configure your server today with one of our hardware firewalls and take back control.

Tags +
Tags
...
...
160x600_hivelocity_dec20

How to install Nagios?

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

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

Watch our servers in their natural habitat

Click here to see more live streams or take a tour of our facilities.

Firewall Services
at Hivelocity

Keep Bad Actors Out
Whether you’re worried over outside attacks, unauthorized access, or maintaining regulatory compliance, Hivelocity’s Juniper Hardware Firewalls give your server the protection it needs. Keep hackers at bay without depleting your system’s resources.

Configure your server today with one of our hardware firewalls and take back control.