Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to Start and Stop Nagios Core | Nagios Tutorial

starting-and-stopping-nagios-core
Starting Nagios Core
Init Script: The easiest way to start the Nagios Core daemon is by using the init script like so:
/etc/rc.d/init.d/nagios start
Manually: You can start the Nagios daemon manually with the -d command line option like so:
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Restarting Nagios Core
Restarting/reloading is nececessary when you modify your configuration files and want those changes to take effect.
Init Script: The easiest way to restart the Nagios Core daemon is by using the init script like so:
/etc/rc.d/init.d/nagios reload
Web Interface: You can restart the Nagios Core through the web interface by clicking the “Process Info” navigation link and selecting “Restart the Nagios process”:
Manually: You can restart the Nagios Core process by sending it a SIGHUP signal like so:
kill -HUP <nagios_pid>
Stopping Nagios Core
Init Script: The easiest way to stop the Nagios Core daemon is by using the init script like so:
/etc/rc.d/init.d/nagios stop
Web Interface: You can stop the Nagios Core through the web interface by clicking the “Process Info” navigation link and selecting “Shutdown the Nagios process”:
Manually: You can stop the Nagios Core process by sending it a SIGTERM signal like so:
kill <nagios_pid>
Tagged : / / / / / / / / / / / /

Step by step procedures to Install Nagios agent in Linux

procedures-to-install-nagio

Step by step procedures to Install Nagios agent in Linux

> cd /tmp

> mkdir software

> cd software

> yum install wget

> wget https://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz

> tar -zxvf linux-nrpe-agent.tar.gz

> cd linux-nrpe-agent

> ./fullinstall

Tagged : / / / / / / / / /

How to Install and Configure Nagios Server and Clients | Nagios Tutorial

install-and-configure-nagios-server-and-clients
Install and Configure Nagios Server and Clients
Download the Nagios Server Source copy from https://www.nagios.com/products/nagios-xi/
You can also use the direct download links as below;
> wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.2.0.tar.gz
Extract the xi-5.2.0.tar.gz using
> tar -zxvf xi-5.2.0.tar.gz
Run the following commands to install it.
> ./fullinstall
At the end of installation, you will get the url address  using you can access the Nagios server.
e.g http://10.160.34.98/nagiosxi/
Open the url http://10.160.34.98/nagiosxi/
and enter and save following info.
Administrator Name:
Administrator Email Address:
Administrator Username:
Administrator Password:
and presss “Install”
Once you get “Installation Complete” message that means you have Nagios Server install completed.
Tagged : / / / / / / / / / / /