Never mind... read that wrong.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



James Pulver wrote:
I just have to ask... I see 2.2.0 ... in my check for updates... I also have not seen an update notice.

Is there actually a Zenoss 2.2.1?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



dlloyd wrote:
I'm not sure if this is the proper forum to report bugs, but since I didn't see any links like, "report a bug in ZenOSS" on the main page, I figured it would work its way to the correct party here.

In ZenOSS 2.1.1

I've got a bunch of custom graphs set up in a custom performance template. The issue was that when I would use a remote collector and renderer, none of my custom graphs would show up. Digging a bit deeper, it appears that these are processed as DataPoint graphs. When ZenOSS renders a datapoint graph, it checks if the rendering is "isFake." If not, it will then check if the file exists on the filesystem.

Code from Products/ZenModel/DataPointGraphPoint.py:
77:86

Code:

# If we are really drawing the graph (ie we do not have a fake context)
        # then make sure the rrd file actually exists.
        if not getattr(context, 'isFake', False):
            if not os.path.isfile(rrdFile):
                desc = context.device().id
                if context.meta_type != 'Device':
                    desc += ' %s' % context.name()
                desc += ' %s' % self.dpName
                cmds.append('COMMENT:MISSING\: data file for %s' % desc)
                return cmds




Unfortunately, the isFake flag is not set when this is on a remote render server:

Code from Products/ZenModel/RRDView.py:
66:68

Code:

        if perfServer:
return perfServer.performanceGraphUrl(objpaq, targetpath, template, graph, drange)




Changing this to set the isFake flag works:

Code:

        if perfServer:
            setattr(objpaq,'isFake', True)
            return perfServer.performanceGraphUrl(objpaq, targetpath,
template, graph, drange)







-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=21722#21722

-------------------- m2f --------------------



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

Reply via email to