rolfs
2013-05-29 14:14:40 UTC
rolfs [http://community.zenoss.org/people/rolfs] created the discussion
"Re: 4.2.3: Listing Monitoring Temlates gets timeout - cant decode byte 0x92"
To view the discussion, visit: http://community.zenoss.org/message/73371#73371
--------------------------------------------------------------
I can now answer myself:
The problem came from a description on one of my monitoring tempates that was entered with an unprintable character.
By running this in zendmd, i was able to spot the wrong character in the description of the template..
for i in dmd.Devices.getSubOrganizers():
  for t in i.rrdTemplates.objectItemsAll():
     print "ID: %s URL: %s DESC: %s" % (t[1].id,t[1].getUIPath(), t[1].description)
for t in dmd.Devices.rrdTemplates.objectItemsAll():
     print "ID: %s URL: %s DESC: %s" % (t[1].id,t[1].getUIPath(), t[1].description)
After finding "TheErrorTemplate" remove the description from it by executing...
dmd.Devices.rrdTemplates.TheErrorTemplate.description='string'
commit()
Please push Like if you like this.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73371#73371]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Re: 4.2.3: Listing Monitoring Temlates gets timeout - cant decode byte 0x92"
To view the discussion, visit: http://community.zenoss.org/message/73371#73371
--------------------------------------------------------------
I can now answer myself:
The problem came from a description on one of my monitoring tempates that was entered with an unprintable character.
By running this in zendmd, i was able to spot the wrong character in the description of the template..
for i in dmd.Devices.getSubOrganizers():
  for t in i.rrdTemplates.objectItemsAll():
     print "ID: %s URL: %s DESC: %s" % (t[1].id,t[1].getUIPath(), t[1].description)
for t in dmd.Devices.rrdTemplates.objectItemsAll():
     print "ID: %s URL: %s DESC: %s" % (t[1].id,t[1].getUIPath(), t[1].description)
After finding "TheErrorTemplate" remove the description from it by executing...
dmd.Devices.rrdTemplates.TheErrorTemplate.description='string'
commit()
Please push Like if you like this.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73371#73371]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]