Hi Teddy,

As you may have guessed, we do not have a lot of equipment configured to
use chinese. Your help is appreciated.

On your zenoss computer, could you open a terminal, and send along the
output from running this command at the command line:

$ zendmd
>>> dmd.Devices.Server.Windows.getWinServices()

Thanks!

-Eric


teddy yan wrote:
> hi,
>   all
>   When I try to monitor windows(chinese simplifiy encoding:gb2312) trough 
> zenoss(0.22.4) .This is my problem:
>   C:\zenwin\zenwin-0.23.0>python zenwin.py -C etc\zenwin.cfg
> INFO:zen.zenwin:reloading configuration
> INFO:zen.SendEvent:SendEvent thread started.
> ERROR:zen.zenwin:config load failed
> Traceback (most recent call last):
>   File "C:\zenwin\zenwin-0.23.0\zenutils\StatusMonitor.py", line 
> 96, in 
> getConfi
> g
>     self.loadConfig()
>   File "zenwin.py", line 58, in loadConfig
>     for n,u,p,s in server.getWinServices():
>   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 1147, in request
>     return self._parse_response(h.getfile(), sock)
>   File "C:\Python24\lib\xmlrpclib.py", line 1286, in _parse_response
>     return u.close()
>   File "C:\Python24\lib\xmlrpclib.py", line 744, in close
>     raise Fault(**self._stack[0])
> Fault: <Fault -1: 'Unexpected Zope exception: exceptions.TypeError - 
> dictionary
> key must be string'>
> WARNING:zen.zenwin:initial config load failed will retry
>    
>   At first, I thought about this question maybe caused by xmlrpclib.py 
> .xml-rpc can not surport non_ascii string.but when I read the xmlrpclib.py I 
> found there are unicode() even BASE64 to treat the non_ascii coding.I was 
> confused .When I continue install the zenwinsvc.py without "zenwin.py -C 
> etc\zenwin.cfg".the service can be installed and can be started .
>    
>   Second, when I pulled the windows node.just the winservice could be 
> monitored.the network or route and filesystem  or CPU etc could not 
> display.but when I read the eventlog .I found the datacollector has worked 
> fine. I couldn't find out what is the problem. Please help me!
>     Third, when i added a windows box which run on vmware  ,I used  "Unknown, 
>  .1.3.6.1.4.1.8072.3.2.10" for HWProduct.It works fine.But when I used the 
> same for a real windows box(not run on vmware)I couldn't get the interface 
> and route inform.WHAT CAN I DO???
>   Teddy 
>
>               
> ---------------------------------
> 抢注雅虎免费邮箱-3.5G容量,20M附件! 
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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

Reply via email to