Discussion:
Problem when disabling monitoring of IP Service
FCharlier
2012-08-31 07:26:46 UTC
Permalink
FCharlier [http://community.zenoss.org/people/FCharlier] created the discussion

"Problem when disabling monitoring of IP Service"

To view the discussion, visit: http://community.zenoss.org/message/68346#68346

--------------------------------------------------------------
Hi all,

I'm currently investigating the use of Zenoss as monitoring/alerting platform at work. It seems that Zenoss fits complety our requirements but I think I have found a little bug. Indeed, when I have added one server to Zenoss, the modeler finds one smtp IP Service running on this machine and listenning to another IP than 127.0.0.1. So, as explained in the documentation, this IP Service is monitored. But, for some security reason, the Zennos machine can't contact the smtp machine on port 25. As we don't want to monitor this service, I try to deselect monitoring of this specifi IP Service but the web interface give me the error message: "AttributeError: componentSearch". In /opt/zenoss/log/event.log, I found the following error message:

------
2012-08-31T09:18:05 INFO extdirect Direct request failed: componentSearch: DeviceRouter.setComponentsMonitored [{'ranges': [], 'hashcheck': None, 'uids': ['/zport/dmd/Devices/Server/Linux/devices/10.3.0.42/os/ipservices/tcp_00025'], 'monitor': False, 'name': ''}]
------
2012-08-31T09:18:05 INFO extdirect DirectRouter suppressed the following exception (Response f011d221-32bd-4c91-8834-b4392f744483):
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/extdirect/router.py", line 180, in _processDirectRequest
    response.result = _targetfn(**data)
  File "/opt/zenoss/Products/Zuul/routers/device.py", line 914, in setComponentsMonitored
    facade.setMonitor(uids, monitor)
  File "/opt/zenoss/Products/Zuul/facades/devicefacade.py", line 303, in setMonitor
    self._root.componentSearch.catalog_object(comp, idxs=('monitored',))
AttributeError: componentSearch

We have installed Zenoss 4.2 on Centos 6.3.

Any help appreciated! ;)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68346#68346]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
FCharlier
2012-08-31 09:10:14 UTC
Permalink
FCharlier [http://community.zenoss.org/people/FCharlier] created the discussion

"Re: Problem when disabling monitoring of IP Service"

To view the discussion, visit: http://community.zenoss.org/message/68347#68347

--------------------------------------------------------------
More informations: I tried to delete monitoring of lo interface on another device, same result:

------
2012-08-31T11:09:29 INFO extdirect Direct request failed: componentSearch: DeviceRouter.setComponentsMonitored [{'ranges': [], 'hashcheck': None, 'uids': ['/zport/dmd/Devices/Server/Linux/devices/10.3.0.93/os/interfaces/lo'], 'monitor': True, 'name': ''}]
------
2012-08-31T11:09:29 INFO extdirect DirectRouter suppressed the following exception (Response 19086bcf-bcbe-47a8-ae5a-b17ed4a3a960):
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/extdirect/router.py", line 180, in _processDirectRequest
    response.result = _targetfn(**data)
  File "/opt/zenoss/Products/Zuul/routers/device.py", line 914, in setComponentsMonitored
    facade.setMonitor(uids, monitor)
  File "/opt/zenoss/Products/Zuul/facades/devicefacade.py", line 303, in setMonitor
    self._root.componentSearch.catalog_object(comp, idxs=('monitored',))
AttributeError: componentSearch
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68347#68347]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
pwarren
2012-08-31 13:28:47 UTC
Permalink
pwarren [http://community.zenoss.org/people/pwarren] created the discussion

"Re: Problem when disabling monitoring of IP Service"

To view the discussion, visit: http://community.zenoss.org/message/68332#68332

--------------------------------------------------------------
You have encountered this bug: http://jira.zenoss.com/jira/browse/ZEN-2966 http://jira.zenoss.com/jira/browse/ZEN-2966

I created a diff based on the changes in the ticket and made it available here: https://gist.github.com/3552651 https://gist.github.com/3552651
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68332#68332]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
FCharlier
2012-09-03 06:59:00 UTC
Permalink
FCharlier [http://community.zenoss.org/people/FCharlier] created the discussion

"Re: Problem when disabling monitoring of IP Service"

To view the discussion, visit: http://community.zenoss.org/message/68375#68375

--------------------------------------------------------------
You are right pwarren, after patch applicaiton my problem was solved  :)

Thanks!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68375#68375]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...