#! /usr/bin/env bash
#
# This program is part of the LDAPMonitor Zenpack for Zenoss.
# Copyright 2012 Corporation of Balclutha (http://www.balclutha.org)
# 
#                All Rights Reserved
# 
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
#
#
# Corporation of Balclutha DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
# SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS, IN NO EVENT SHALL Corporation of Balclutha BE LIABLE FOR
# ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE. 
#

. $ZENHOME/bin/zenfunctions

PRGHOME=`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`/ZenPacks/lbn/LDAPMonitor
PRGNAME=zenperfldap.py
CFGFILE=$CFGDIR/zenperfldap.conf
if [ ! -f $CFGFILE ]; then
    touch $CFGFILE
fi

generic "$@"

