Skip to content
This repository was archived by the owner on May 18, 2021. It is now read-only.
This repository was archived by the owner on May 18, 2021. It is now read-only.

Client list view with links to external graphs #133

@shaftoe

Description

@shaftoe

We're happily using sensu-dashboard and so far one missing key feature for us (and relatively easy to implement I guess) is a way to easily browse graphs related to a single machine. For instance we keep statistical data on hostedgraphite.com, so if we want to look at data for server1, we have to open the browser and type something like:

https://www.hostedgraphite.com/xxxxxxxx/graphite/dashboard/#server1

(actually we have a shortened url redirect to make it easier but still suboptimal).

My first idea was to write a simple PHP script to generate links reading client list from sensu /clients api, but then my colleague suggested me this could be something of interest for other sensu users (for sure we're not the only one storing data on Graphite!) so, before digging into the code to see if it's not to hard, I'm here asking for suggestions.

How do you deal with this (minor) problem? Would it be hard/overkill to write some kind of plugin for sensu-dashboard to have custom links in #cilents view? perhaps a new column with a 'open graphs' link?

PS For us the URL is always predictable, with just the ending part to be replaced with the client name, so one single parameter in the config should suffice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions