Discussion:
Annoying Zenoss Bug. Not sure how to proceed.
GOM
2011-11-16 01:04:49 UTC
Permalink
GOM [http://community.zenoss.org/people/GOM] created the discussion

"Annoying Zenoss Bug. Not sure how to proceed."

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

--------------------------------------------------------------
Loading Image... Loading Image...

Using zenoss 3.2.0. Have a Monitoring template with around 80 COMMAND data sources in it. I need to make graphs, but encountering a Zenoss bug that doesn't allow adding datapoints to graph. I assume it has to do with the amount of data sources in the template. When the "Add Data Point" dialog is open (shown above), the UI makes a call to /zport/dmd/template_router to get the list of available data points when you click the dropdown. The call looks like:

{"action":"TemplateRouter","method":"getGraphPoints","data":[{"uid":"/zport/dmd/Devices/Data Monitoring/rrdTemplates/foo/graphDefs/bar"}],"type":"rpc","tid":1072}

The reponse typically looks like:

{
    "tid": 1072,
    "action": "TemplateRouter",
    "type": "rpc",
    "method": "*getDataPoints*",
    "result": {
        "*data*": [
            {
                "isrow": true,
                "leaf": true,
                "description": "",
                "rrdmin": null,
                "availableRRDTypes": [
                    "COUNTER",
                    "GAUGE",
                    "DERIVE",
                    "ABSOLUTE"
                ],
                "name": "abcd-my-datapoint",
                "meta_type": "RRDDataPoint",
                "newId": "android_primo",
                "createCmd": "",
                "rrdtype": "DERIVE",
                "inspector_type": "RRDDataPoint",
                "rrdmax": null,
                "objectProperties": [
*              ...*
*               ... (lot of stuff for each datapoint in the data property)*
*     ...*

That's what it looks like with similar templates which work, with smaller amounts of data sources.

Unfortunately for this template, at this point in the UI, the call is made and the zenoss server returns:

{"tid": 24, "action": "TemplateRouter", "type": "rpc", "method": "getDataPoints", *"result": {"data": []*, "success": true}}

... Zenoss server does not return the datapoints to the UI so they can be selected and added, the dropdown menu never becomes populated with datapoints. It looks like this: http://screencast.com/t/8gLYEgP6 http://screencast.com/t/8gLYEgP6


Anyone have any idea what might be happening? Any server side log I can look at? I'm assuming Zenoss can't handle 80 datasources in 1 template? Seems totally wrong, but subtle things like the fact that the dropdown isn't wide enough to display long data source names leads me to believe that no one tests this part of the app?

Most importantly, how can I add my datapoints to a graph? Can I hack it somehow? If this is a Zenoss bug, how can I work around it. Is there a way to add data points to graphs by the command line or through some other trick?
--------------------------------------------------------------

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

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