Re: Collect data from physical switchports
Norbert Steinhoff <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Thumbs up. That’s it. Thanks Norbert Am 12.01.2018 um 12:37 schrieb Ronny Trommer <[email protected]>: Hi Norbert, a way to do this is using a MatchingSnmpInterfacePolicy for the requisition your switches are in. The basic idea is for each physical interface is evaluated against some attributes. In the example attached I’ve enabled data collection for all interfaces with operstatus UP (1). You can do also enable those for interface types or a combination of them. If you want a little bit more control, you can also use a regex against the ifAlias which can be set on the device. Hope this helps. <interface-datacollection.png> > On 12. Jan 2018, at 12:15, Norbert Steinhoff <[email protected]> wrote: > > Hi all, > > I'm looking for an easy solution for the following requirement: > > In our branches we use Cisco Routers with 4 Port switchcards (HWIC/NIM-ES4 etc) > The ports of these cards work as vlan trunk or for specific devices in access mode. > > By default, opennms does not collect metrics of these interfaces. > I suggest because they have no ip assigned and so i need to activate datacollection > manually in "Configure SNMP Data Collection per Interface" > > For hundreds of routers... uuuh > > Is there a way in the config of opennms to activate datacollection on all > physical ports depending on a surveillance category (eg. DataCollect-SWitchports) ? > > Thanks in advance > Norbert > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-discuss mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this page: > https://lists.sourceforge.net/lists/listinfo/opennms-discuss ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss