This one is pretty complex. It’s too difficult to create configuration UI for this, so it either relies on the old “front page” style portpercent configuration, or writing the JSON config for it and putting it into the database entry for the widget directly. This allows multiple of these types of widgets to exist.
It’s not really documented because it was only really added for one person, and I think it’s a bit complex. The format is like this : { "groups": { "Peering": {"group": "39"}, "Transit": {"group": "40"} }, "graph_format": "single" } graph_format can be single, multi or bare. Formatting is very important, it needs to be valid JSON. Adam. From: Eric W. Bates (he) via observium <observium@lists.observium.org> Sent: 17 October 2022 19:04 To: Adam Armstrong <ad...@observium.org> Cc: Observium <observium@lists.observium.org>; Eric W. Bates (he) <eba...@whoi.edu> Subject: [Observium] Re: changes to Cool. How does one actually configure an "internet traffic" widget? If I try to edit the old 'frontpage' object all I'm allowed to do is to change it's title. I'm guessing I want the "Traffic Composition" widget for this purpose? I've added one, but when I open up the settings, it gives me a static screen with what looks like a php array(): array( widget_id => 21 dash_id => 1 widget_type => port_percent widget_config => array() x => 0 y => 46 width => 12 height => 5 ) There doesn't appear to be a way to edit the settings. But presumably, I want to put the port ID's in the "widget_config" array? Happy to RTFM, but I can't find anything other than https://docs.observium.org/dashboard/ and it doesn't discuss individual widgets. Thanks for your time. On 10/17/22 11:45, Adam Armstrong via observium wrote: The frontpage array is no longer used. You directly add/remove graphs to/from the dashboard. You can click the icon on the bottom bar of the dashboard to enter editing model adam. Eric W. Bates (he) via observium wrote on 2022-10-17 13:37: We replaced our edge routers over the weekend and I updated the list of port id's in $config['frontpage']['custom_traffic']['ids'] with the new ones from the new routers; however, the custom graph on the front page hasn't changed and still lists the old interfaces (on the now shut-down routers). What else do I need to do? Thanks. _______________________________________________ observium mailing list -- observium@lists.observium.org <mailto:observium@lists.observium.org> To unsubscribe send an email to observium-le...@lists.observium.org <mailto:observium-le...@lists.observium.org> -- Sent from <https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach> Postbox
_______________________________________________ observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-le...@lists.observium.org