ZenPacks

NTP Monitor ZenPack

The NTPMonitor ZenPack uses the check_ntp_peer Nagios Plugin to check the offset with the sync peer. This plugin will not check the clock offset between the local host and NTP server.

Support

This is an Open Source ZenPack developed by Zenoss, Inc. Enterprise support for this ZenPack is available to commercial customers with an active subscription.

Releases

Version 2.2.2- Download
Summary of changes: Changed check_ntp_time back to check_ntp_peer
Released on 2015/12/08
Compatible with Zenoss Core 2.5.x, Zenoss Core 3.1.x, Zenoss Core 3.2.x, Zenoss Core 4.2.x, Zenoss Core 5.0.x, Zenoss Resource Manager 4.1.x, Zenoss Resource Manager 4.2.x, Zenoss Resource Manager 5.0.x
Version 2.2.1- Download
Released on 2015/02/03
Compatible with Zenoss Core 2.5.x, Zenoss Core 3.1.x, Zenoss Core 3.2.x, Zenoss Core 4.2.x, Zenoss Resource Manager 4.1.x, Zenoss Resource Manager 4.2.x

Background

This ZenPack checks the health of an NTP server and monitors the offset with the sync peer. The ZenPack uses the pre-installed Nagios plugin "check_ntp_peer" to perform this task.

Usage

The NTPMonitor template must be bound to the device class or device you want to monitor.

  1. Select Infrastructure from the navigation bar.
  2. Click the device name in the device list.
  3. Expand Monitoring Templates, and then select Device from the left panel.
  4. Select Bind Templates from the Action menu.appears.
  5. Add the NTPMonitor template to the list of selected templates, and then click Submit.

The NTPMonitor template is added to the list of monitoring templates.

Tips

  1. If Error = "NTP CRITICAL: No response from NTP server"; verify if server is a NTP server
  2. If Error = "CRITICAL - Socket timeout after 10 seconds"; check device restrictions in ntp configuration file (/etc/ntp.conf for Linux) for "noquery".
  3. If Error = "NTP CRITICAL: Server not synchronized, Offset unknown"; synchronize NTP server with NTP.

Installation

Normal Installation (packaged egg)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.zenoss.NtpMonitor-*.egg
  4. Restart these services:
    $ zenoss restart

Developer Mode Installation

In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone https://github.com/zenoss/ZenPacks.zenoss.NtpMonitor.git
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.zenoss.NtpMonitor
  4. Finally, restart these serivices:
    $ zenoss restart

Open Source

This ZenPack is developed and supported by Zenoss Inc. Contact Zenoss to request more information regarding this or any other ZenPacks. Click here to view all available Zenoss Open Source ZenPacks.

randomness