Hi,

Ensure you can connect to n.n.n.n:8081, which should be the zenxevent server. Point your windows browser to it: you will get back an error, but at least you will know you can connect.

-Eric

Burbach, Bernd Jakob wrote:
Hi,

thanks for answering.

Make sure the config files on the windows box have the proper user, password and url. Seems like something is wrong there.

This I did several times but there is nothing wrong. I'm using the default 
values admin/zenoss - and with these I can login via firefox.

On WinXP even the wmi connection does not work ("Zugriff verweigert" means "access 
denied"). Seems to be a general problem here since WMI does log error messages itself.

By the way:
- I'm acting as admin.
- The windows firewall is deactivated.
- We have McAfee VirusScan running in the background. But deactivation has no 
effect.
- New Microsoft patches have been installed. Is it possible that some patches 
cause errors in zenwin?
- Are there any services which in fact MUST run for zenwin to work properly?

Another problem with zeneventlog - cannot load the configuration:

INFO:zen.SendEvent:SendEvent thread started.
INFO:zen.zeneventlog:reloading configuration
ERROR:zen.zeneventlog:config load failed
Traceback (most recent call last):
  File "C:\sbin\zenwin\zenutils\StatusMonitor.py", line 96, in getConfig
    self.loadConfig()
  File "zeneventlog.py", line 58, in loadConfig
    for name,user,passwd,sev,url in devices:
ValueError: need more than 4 values to unpack
WARNING:zen.zeneventlog:initial config load failed will retry

The config file content is:
winurl          http://n.n.n.n:8080/zport/dmd/Devices/Server/Windows
zopeusername    admin
zopepassword    zenoss
zem             http://n.n.n.n:8081/



The result of running zenwin (zenmodeler produces similar errors, including 
"ERROR:zen.zenwinmodeler:failed to get wmi issues"):

INFO:zen.zenwin:reloading configuration
INFO:zen.SendEvent:SendEvent thread started.
WARNING:zen.StatusTest:wmi connection failed: Zugriff verweigert
WARNING:zen.StatusTest:wmi connection failed: Zugriff verweigert
ERROR:zen.SendEvent:snmp event notification failed
Traceback (most recent call last):
  File "C:\sbin\zenwin\zenutils\SendEvent.py", line 64, in _sendEvents
    self.server.sendEvents(self.events)
  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 1129, in request
    self.send_content(h, request_body)
  File "C:\Python24\lib\xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
  File "C:\python24\lib\httplib.py", line 798, in endheaders
    self._send_output()
  File "C:\python24\lib\httplib.py", line 679, in _send_output
    self.send(msg)
  File "C:\python24\lib\httplib.py", line 646, in send
    self.connect()
  File "C:\python24\lib\httplib.py", line 630, in connect
    raise socket.error, msg
error: (10061, 'Connection refused')
ERROR:zen.SendEvent:snmp event notification failed
[Traceback (most recent call last):
.. snip ..
error: (10061, 'Connection refused')]
WARNING:zen.StatusTest:wmi connection failed: Zugriff verweigert.
WARNING:zen.StatusTest:wmi connection failed: Zugriff verweigert.
WARNING:zen.StatusTest:wmi connection failed: Zugriff verweigert.
WARNING:zen.StatusTest:wmi connection failed: Zugriff verweigert.
WARNING:zen.StatusTest:wmi connection failed: Zugriff verweigert
ERROR:zen.SendEvent:snmp event notification failed
[Traceback (most recent call last):
.. snip ..
error: (10061, 'Connection refused')]
ERROR:zen.SendEvent:snmp event notification failed
[Traceback (most recent call last):
.. snip ..
error: (10061, 'Connection refused')]
WARNING:zen.StatusTest:wmi connection failed: Zugriff verweigert.
ERROR:zen.SendEvent:snmp event notification failed
[Traceback (most recent call last):
.. snip ..
error: (10061, 'Connection refused')]
INFO:zen.zenwin:Com InterfaceCount: 6
INFO:zen.zenwin:Com GatewayCount: 0
INFO:zen.zenwin:tested 13 devices in 12.20 seconds
INFO:zen.zenwin:stopping...
ERROR:zen.SendEvent:snmp event notification failed
[Traceback (most recent call last):
.. snip ..
error: (10061, 'Connection refused')]
INFO:zen.SendEvent:SendEvent thread ended.

kind regards
Bernd Burbach

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

Reply via email to