Managing the Time in Nagios

45 minutes
  • 1 Learning Objectives

About this Hands-on Lab

For this lab, you will need to install and configure the Network Time Protocol (NTP) for Nagios so the local Nagios server is synced with any other time server every hour.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install and Configure NTP
  1. Install NTP.

    sudo yum install ntp
  2. Start synchornization.

    sudo systemctl start ntpd
  3. Verify the synchronization is running.

    systemctl status ntpd
  4. Open the configuration file to double-check the server configuration.

    sudo vim /etc/ntp.conf
  5. View the operational information.

    ntpq -p
  6. Check how often Nagios is polling the time.

    ntpstat

Additional Resources

Begin by logging in to the lab server using the credentials provided on the hands-on lab page.

 ssh cloud_user@PUBLIC_IP_ADDRESS

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?