Apache Virtual Host Modeler ZenPack

Models Apache virtual hosts using a command modeler running apachectl -S


This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.


Version 1.0.4-beta- Download
Released on 2016/04/29
Compatible with Zenoss Core 4.2.x


Assign the modeler plugin to any device under /server and it will model then monitor the Virtual Hosts

Monitoring template requires nagios check_http plugin

Any sites running on 443 will be monitored as HTTPS and they will have the TLS certificate checked and events raised if the expiry time is 30 days or less

If the modeler gets a Syntax Error back from apachectl check that your configs are fine and that the user running apachectl has sufficient permissions to read all the necessary files

Noticed on SuSE based distros that the command is apache2ctl... for now I have been linking apachectl to it.


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.community.ApacheVirtualHost-*.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/nickmuir/ZenPacks.community.ApacheVirtualHost.git
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.community.ApacheVirtualHost
  4. Finally, restart these serivices:
    $ zenoss restart


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