I think I could trivially make the widget load its options from the per-widget json config field, if you’re brave enough to insert the configuration there J
I really wanted to make the widgets configurable, but I’ve never had time to write a configuration system for them.
Adam.
From: observium <observium-bounces@observium.org> On Behalf Of Gumilar Siegfried MSc. via observium
Sent: 19 October 2020 15:45
To: observium@observium.org
Cc: Gumilar Siegfried MSc. <siegfried.gumilar@stadtwerke-feldkirch.at>
Subject: [Observium] Additional portpercent element/widget on frontpage?
Hello!
I would love to be able to add a second Traffic Comparison (portpercent) with different port groups to our dashboard.
Is that somehow possible? Right now I can add a second „Traffic Composition“ Widget in the dashboard edit mode, but it still uses the same port groups as the other one.
This is how our current configuration looks like:
$config['frontpage']['order'] = array('status_summary', 'map', 'overall_traffic', 'portpercent', 'device_status', 'altert_table', 'syslog', 'eventlog');
$config['frontpage']['portpercent']['Peering'] = array('group' => 5);
$config['frontpage']['portpercent']['Transit'] = array('group' => 6);
$config['frontpage']['portpercent']['options'] = array('graph_format' => 'single');
In my opinion, it would be best if you could simply use portpercent2, for example, to configure the next widget.
Regards,
Siegfried