Restore "select all" behavior to managing SNMP collection of interfaces

Description

In the move from 1.6 to 1.8, I can no longer 'select all' while manipulating SNMP collection on interfaces. (Home/Admin/Node Management/Configure SNMP Data Collection per Interface)

For a small device I can run down the interfaces and click the collection state and then click the state I want.

But for a large device (say a core switch with 96 interfaces) it is really a pain to have to address each interface individually with three mouse clicks (once to change focus to the interface in question, once to activate the drop down, once to choose my collection option), and only see groups of 20 at a time.

At the same time I want to leave OpenNMS set to collect selected interfaces instead of automatically collecting all interfaces. The newer Windows server offerings have a huge number of virtual interfaces. (I've got a couple of 2008R2 Hyper-V servers that created 1024 virtual interfaces!)

It would be very nice to select all, and then de-select the few interfaces I am not interested in like the loopback.

An alternative would be to duplicate the selection behavior used when generating SNMP graphs for nodes. (Home/Reports/Resource Graphs/Choose) When I am selecting sources for custom graphs, I can use shift+click or ctrl+click to select multiple sources. Duplicating this behaviour would allow me to select all of the interfaces on a screen and setting their collection status.

I like the new interface, it is pretty and in some areas has real improvements. However in some cases like this (and the custom SNMP graphs) it becomes very click (and therefore time) intensive. 😞

Thank you!

Environment

Operating System: All Platform: PC

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Andy Ellsworth July 22, 2011 at 11:04 AM

Also affects 1.9.90.

Andy Ellsworth July 22, 2011 at 11:03 AM

Oh dear FSM, please, yes, fix this. 🙂

Meanwhile, if you're willing to dip into psql, you can change collection status for a given node based on some filters such as iftype, ifname, etc.

For example, to set all Ethernet interfaces to collect for nodeid 5:

update snmpinterface set snmpcollect='C' where nodeid='5' and snmpiftype='6';

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created September 3, 2010 at 1:12 PM
Updated September 21, 2021 at 9:15 PM

Flag notifications