Esempio n. 1
0
    def _pnp_graph_icon_link(self, row, what):
        if display_options.disabled(display_options.X):
            return ""

        if not metrics.cmk_graphs_possible(row["site"]):
            return pnp_url(row, what)

        import cmk.gui.cee.plugins.views.graphs  # pylint: disable=redefined-outer-name,import-error,no-name-in-module
        return cmk.gui.cee.plugins.views.graphs.cmk_graph_url(row, what)  # pylint: disable=no-member
Esempio n. 2
0
 def _graph_icon_link(self, row, what):
     if display_options.disabled(display_options.X):
         return ""
     return cmk_graph_url(row, what)