Eric,

Thank you, that fixed the issue.

Now I've come across another problem.  If at the command prompt, I run:

python zenwin.py -C etc\zenwin.cfg
python zenwinmodeler.py -C etc\zenwinmodeler.cfg

The Zenoss server gets updated just fine, but after I install them as a
service, they no longer update the Zenoss server.  My specific test was
to shut down the "Automatic Updates" service and see if its status
changed; it does not, even after waiting 5 minutes.  I've looked at the
log file "zenwinsvc.log", and it shows the following:

2006-12-08 07:15:20 DEBUG zen.zenwinsvc: starting 'python c:\Program
Files\zenwin-1.0.1\zenwin.py --logpath c:\Program Files\zenwin-1.0.1\log
-C c:\Program Files\zenwin-1.0.1\etc\zenwin.cfg --cycle=60'


I've run the following at the command prompt, and it updates the status
of the services every 60 seconds just fine (as I start and stop the
"Automat Updates" service):

python "c:\Program Files\zenwin-1.0.1\zenwin.py" --logpath "c:\Program
Files\zenwin-1.0.1\log" -C "c:\Program
Files\zenwin-1.0.1\etc\zenwin.cfg" --cycle=60'

I've also tried running the service as the "Local System" account, but
this does not help.  Any ideas, or suggestions how to further
troubleshoot this issue.

- Ryon



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Newton
Sent: Wednesday, December 06, 2006 1:57 PM
To: General discussion of using zenoss system
Subject: Re: [zenoss-users] ZenWinModeler Error

Hi,

You have:

        zopeusername    zenoss
        zopepassword    zenoss


You probably want:

        zopeusername    admin
        zopepassword    zenoss


-Eric

[EMAIL PROTECTED] wrote:
> Evaluating Zenoss Virtual Appliance v1.0.1.  Trying to monitor XP SP2
> with zenwin v1.0.1, have successfully added device to Zenoss server
and
> am receiving performance and events, etc.  Have successfully tested:
>
> python zenwin.py -C etc\zenwin.cfg
>  
> But when trying to run:
>
> python zenwinmodeler.py -C etc\zenwinmodeler.cfg -v10
>
>
> I get the following:
>
>
------------------------------------------------------------------------
> INFO:zen.SendEvent:SendEvent thread started.
> DEBUG:zen.SendEvent:Sending events: [{'device': 'my_pc', 'eventClass':
> '/App/Start', 'component': 'zenwinmodeler', 'seve
> rity': 0, 'summary': 'zenwinmodeler started'}]
> DEBUG:zen.zenwinmodeler:wmi probs: pr615,dell.testdomain.org
> INFO:zen.zenwinmodeler:reloading configuration
> ERROR:zen.zenwinmodeler:config load failed
> Traceback (most recent call last):
>   File "C:\Program Files\zenwin-1.0.1\zenutils\StatusMonitor.py", line
> 96, in getConfig
>     self.loadConfig()
>   File "zenwinmodeler.py", line 54, in loadConfig
>     self.lastStart, self.devices = \
>   File "C:\Python24\lib\xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>   File "C:\Python24\lib\xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>   File "C:\Python24\lib\xmlrpclib.py", line 1137, in request
>     headers
> ProtocolError: <ProtocolError for
>
zenoss:[EMAIL PROTECTED]:8080/zport/dmd/Devices/Server/Windows/devices/M
> Y_PC/: 401 Una
> uthorized>
> WARNING:zen.zenwinmodeler:initial config load failed will retry
> INFO:zen.zenwinmodeler:stopping...
> DEBUG:zen.SendEvent:Sending events: [{'device': 'my_pc', 'eventClass':
> '/App/Stop', 'component': 'zenwinmodeler', 'sever
> ity': 4, 'summary': 'zenwinmodeler stopped'}]
> INFO:zen.SendEvent:SendEvent thread ended.
>
------------------------------------------------------------------------
>
>
> My zenwinmodeler.cfg is as follows:
>
>
------------------------------------------------------------------------
> winurl
> http://10.3.72.36:8080/zport/dmd/Devices/Server/Windows/devices/MY_PC/
> zopeusername    zenoss
> zopepassword    zenoss
> zem             http://10.3.72.36:8081/
> cycle           1
>
------------------------------------------------------------------------
>
>
> Any insight is much appreciated.
>
> ----------------------------------------------------------------------
> The information contained in this e-mail and any attachments is to be
considered legally privileged and confidential.  If you have received
this communication in error, please notify the sender and permanently
delete the e-mail and any attachments immediately; you should not
retain, copy or use this e-mail or any attachment for any purpose, nor
disclose all or any part of the contents to any other person.
>
> We have taken every reasonable precaution to ensure the integrity of
this communication and that it does not contain any malicious payload
(i.e. attachments, embedded code, links, etc.).  The recipient is
responsible for re-verification.  The Credit Union accepts no liability
for any damage caused by this communication.
> ----------------------------------------------------------------------
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>
>   

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

----------------------------------------------------------------------
The information contained in this e-mail and any attachments is to be 
considered legally privileged and confidential.  If you have received this 
communication in error, please notify the sender and permanently delete the 
e-mail and any attachments immediately; you should not retain, copy or use this 
e-mail or any attachment for any purpose, nor disclose all or any part of the 
contents to any other person.

We have taken every reasonable precaution to ensure the integrity of this 
communication and that it does not contain any malicious payload (i.e. 
attachments, embedded code, links, etc.).  The recipient is responsible for 
re-verification.  The Credit Union accepts no liability for any damage caused 
by this communication.
----------------------------------------------------------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to