Discussion:
extdirect Direct request failed: severity: TemplateRouter.getThresholds
kco87
2013-03-25 14:42:13 UTC
Permalink
kco87 [http://community.zenoss.org/people/kco87] created the discussion

"extdirect Direct request failed: severity: TemplateRouter.getThresholds"

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

--------------------------------------------------------------
Hi,

I just upgraded to Zenoss 4.2.3, and I cannot add any threshold on my Linux Devices, I get "AttributeError: severity" in the WebUI, and this in the event.log file :


2013-03-25T15:32:35 INFO extdirect Direct request failed: severity: TemplateRouter.getThresholds [{'uid': '/zport/dmd/Devices/Server/SSH/Linux/rrdTemplates/Device'}]
------
2013-03-25T15:32:35 INFO extdirect DirectRouter suppressed the following exception (Response cee4b1bd-c9a3-40fd-abce-83b0a8aedc6b):
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/extdirect/router.py", line 179, in _processDirectRequest
    response.result = _targetfn(**data)
  File "/opt/zenoss/Products/Zuul/routers/template.py", line 165, in getThresholds
    return DirectResponse.succeed(data=Zuul.marshal(thresholds))
  File "/opt/zenoss/Products/Zuul/__init__.py", line 128, in marshal
    marshalled_list.append(marshal(o, keys, marshallerName, objs))
  File "/opt/zenoss/Products/Zuul/__init__.py", line 101, in marshal
    return marshal(marshaller.marshal(keys),
  File "/opt/zenoss/Products/Zuul/marshalling.py", line 76, in marshal
    data = _marshalImplicitly(self._obj)
  File "/opt/zenoss/Products/Zuul/marshalling.py", line 39, in _marshalImplicitly
    for key in getPublicProperties(obj):
  File "/opt/zenoss/Products/Zuul/marshalling.py", line 28, in getPublicProperties
    if not key.startswith('_') and not callable(getattr(obj, key))
  File "/opt/zenoss/Products/Zuul/infos/template.py", line 517, in _getSeverity
    return self._object.severity
AttributeError: severity
--------------------------------------------------------------

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

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...