ZenWin Installation
by
zenoss
—
last modified
2008-07-17 17:43
============================
ZENWIN INSTALL
============================
Zenwin does not work on Windows 2000. It has been tested on XP and
2003.
----------------------------
Download the necessary files
----------------------------
Download version 2.4.x of Python.
http://www.python.org/download/releases/2.4.
Download and install pywin32.
http://sourceforge.net/projects/pywin32
-----------------------
Put python in your path
-----------------------
Having python in your path will make your life easier later on.
To do this, right click on My Computer -> Properties -> Advanced
-> Enviroment Variables. In enviroment variables under System
Variables, edit the Path variable. Add a semicolon at the end if
there is none, followed by the path to the python executable file.
Open a new cmd.exe window to refresh your environment.
----------------
Configure Zenwin
----------------
The following config files in etc need to be configured:
zeneventlog.cfg, zenwin.cfg, zenwinmodeler.cfg. The winurl
needs to be set to the respective name of your Zenoss server,
as does the zem. You also need to put in the Zope username
and password in these config files.
-----------------------------------
Test Zenwin and install as services
-----------------------------------
Before you install these programs as a Service try running them in
the foreground from within the zenwin directory.
python zenwin.py -C etc\zenwin.cfg
python zeneventlog.py -C etc\zeneventlog.cfg
python zenwinmodeler.py -C etc\zenwinmodeler.cfg
Once the config files are set up, you need to install and start the
services. This is accomplished by the following three commands:
These services must be added to run a user with admin privledges.
zenwinsvc.py --username .\Administrator --password xyz install
zeneventlogsvc.py --username .\Administrator --password xyz install
zenwinmodelersvc.py --username .\Administrator --password xyz install
------------
Setup Zenoss
------------
Zenoss must now be configured to work with Zenwin. Turn on
zWinEventLog under /Devices/Server/Windows zProperties. Add your
Windows device into Zenoss and go to its zProperties. Fill in the
Administator User and password in the zWinUser and zWinPassword.
Remodel the device by clicking the Manage tab and clicking Collect
Configuration.
zenwinmodeler will model windows services on devices that have been
modeled since it last polled the server. Once you have a list of
services monitoring can be enabled on the instance or class level.