Opserver
Opserver copied to clipboard
Dashboard Configuration
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?
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.
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:
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?
@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.
@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?
@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.
@NickCraver Where would I get the API Key? I have searched all over to find one.
I found the error. IT says that there was an unexpected packet format.
I fixed it by changing https:// to http:// , and it worked. If anyone else runs into this issue. This may help