Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard Configuration #74

Open
lutzee opened this issue Jan 8, 2015 · 8 comments
Open

Dashboard Configuration #74

lutzee opened this issue Jan 8, 2015 · 8 comments

Comments

@lutzee
Copy link

lutzee commented Jan 8, 2015

Hi, I have installed Opserver in a test environment but I am failing to understand how exactly the dashboard works.

The example screenshots appear to show monitoring of some basic information about servers however I do not understand how these are configured.

I have SQL and Redis monitoring configured, should these also be showing up on the dashboard automatically?
image
image

I have removed the Orion bit from the dashboard configuration (I don't have such a system). Is this provider required? As far as I could tell it was just used for network monitoring which I am not interested in.

Current DesktopSettings.json file https://gist.github.com/lutzee/3e1b6ec72eacbc8047e8

The Dashboard is currently showing up as disabled.

@YannickMeeus
Copy link

A provider is required if you want to use the dashboard. You can use the individual monitoring tabs, if you have such requirements (We're currently only using the SQL functionality). If you want a dashboard displaying more aggregated data about CPU usage, memory usage, networking alerts and the like, you'll need a provider for it. If you have a look at the Bosun branch, a start has been made at replacing the Orion provider with their in-house Bosun product. It's all open source and well worth having a look at:

@kpirlo
Copy link

kpirlo commented May 1, 2015

Hey Krud,
I am trying to use the bosun branch, but i do not see how you configure it for bosun. The example dashboardSettings.json still lists Orion information under providers? Is there an example of what needs configured to connect OpServer to bosun?

@NickCraver
Copy link
Member

@kpirlo check out the overhaul branch which has a lot more Bosun support built-in now if you're on the latest Bosun. We're adding APIs to Bosun and a bunch of bits to Opserver to consume those APIs. The example base config is very easy, you can find an example commented with the various providers here: https://github.com/opserver/Opserver/blob/overhaul/Opserver/Config/DashboardSettings.json.example

Simply use only the bosun key up top instead of Orion. Should if you need some help - my plan is to get master very polished along with a ton of long overdue documentation on setup.

@mqbk
Copy link

mqbk commented Sep 7, 2017

@NickCraver I have setup bosun and added the host to the dashboard settings; however, when I run the Opserver, it says "No nodes available". If I enabled the wmi provider, I shown the nodes that are added. I have the scollector running on a few nodes, but I do not see anything being loaded. Here is a sample of my code for bosun:

"providers": {
    /* If using bosun, an API and a key (in recent bosun versions) needs to be provided */
    "bosun": {
      "host": "https://<bosun-ip-address>:<port>"
      //"apiKey": "IAmALittleApiKeyShortAndStout"
    
    }

Am I missing something?

@NickCraver
Copy link
Member

@mqbk If you look at /admin/errors, it should show you what exception is being thrown by the Bosun fetch :)

I'd guess it's either: HTTPS/port mismatch, or an API key mismatch. If you're on a very old version of Bosun, I'm not sure what would happen - that config isn't really a known or tested quantity.

@mqbk
Copy link

mqbk commented Sep 7, 2017

@NickCraver Where would I get the API Key? I have searched all over to find one.

@mqbk
Copy link

mqbk commented Sep 7, 2017

I found the error. IT says that there was an unexpected packet format.

@mqbk
Copy link

mqbk commented Sep 7, 2017

I fixed it by changing https:// to http:// , and it worked. If anyone else runs into this issue. This may help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants