ZenPacks

FTP Monitor ZenPack

The FTPMonitor ZenPack monitors connection response time to an FTP server.

Support

This ZenPack is part of Zenoss Core. Open Source users receive community support for this ZenPack via our online forums. Enterprise support for this ZenPack is provided to Zenoss customers with an active subscription.

Background

The ZenPacks.zenoss.FtpMonitor ZenPack monitors the response times of File Transfer Protocol (FTP) server connection requests.

Prerequisites

PrerequisiteRestriction
ProductZenoss platform 4.2.x, 5.x
Required ZenPacksZenPacks.zenoss.FtpMonitor

Enable Monitoring

To enable monitoring of the device:

  1. Select Infrastructure from the navigation bar.
  2. Click the device name in the device list. The device overview page appears.
  3. Expand Monitoring Templates in the left panel, and then select Device.
  4. Select Bind Templates from the Action menu. The Bind Templates dialog appears.
  5. Select the FTPMonitor template and move it to the list of selected templates.
  6. Click Save. The FTPMonitor template appears under Monitoring Templates.
  7. Select the FTPMonitor template and change options as needed.
    FTPMonitor Basic Data Source Options
    OptionDescription
    PortThe port to connect to FTP server (default 21)
    Send StringCommand string to send to the server
    Expect StringA string to expect in server response
    MismatchIf the expected string does not match the string returned from the remote server, create an event with one of these states: ok, warn, crit (default: warn)
    Quit StringCommand to send to the remote server to end the session

Enable Secure Site Monitoring

To enable secure site monitoring:

  1. Select Infrastructure from the navigation bar.
  2. Click the device name in the devices list. The device overview page appears.
  3. Expand Monitoring Templates in the left panel.
  4. Select the FTPMonitor template and change options as needed.
    FTPMonitor Secure Data Source Options
    OptionDescription
    PortThe port to connect to FTP server (default 21).
    CertificateMinimum days for which a certificate is valid
    Use SSLUse SSL for the connection

Tuning for Site Responsiveness

  1. Select Infrastructure from the navigation bar.
  2. Click the device name in the devices list. The device overview page appears.
  3. Expand Monitoring Templates in the left panel.
  4. Select the FTPMonitor template and change options as needed.
    FTPMonitor Tunables Data Source Options
    OptionDescription
    TimeoutSeconds before connection times out (default: 60)
    RefuseIf a TCP/IP connection to the remote service is refused (ie no program is listening at that port) send an event with one of these severity states: ok, warn, crit (default: crit)
    Max BytesClose the connection once more than this number of bytes are received.
    DelaySeconds to wait between sending string and polling for response
    Warning response time (seconds)Response time to result in a warning status.
    Critical response time (seconds)Response time to result in critical status

Daemons

TypeName
Performance Collectorzencommand

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.FtpMonitor-*.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.FtpMonitor.git
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.Zenoss.FtpMonitor
  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.