Re: Collect data from physical switchports
Ronny Trommer <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[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. > 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
signature.asc
(application/pgp-signature, 529 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEEShtNBv7sJE0474B0kHWy5QiiRR4FAlpYnesACgkQkHWy5Qii RR7m2wf9HWgWwGPnxHIafiul4lF5G3rV6cMR2g89XaArX8iCoDIHEJA+xI+2rjlu 116J1kuUaoMqHpcLAYgF4q+1AL0cQgemTMA41B3xmZx+9pJFLSNoZ+Sdu09oTBqG HQHyr3DvSgGBA6/pMMIjkK8aG8uiuo0klPCNhb/iowcq+aU3J+EV+J3JoL2k0Il/ 3R1MC8/DCVg7z1dcGuAeREQ5CeUQAsQ7qKeaJQYt2iYevnpG90y6IveizJTEFg/B gf9djyEKMpYnGD01nKRx52eiLF7YBDNRJ+8nMEoMgZhLHeqJwsqdncMqBiBVroVS xkrzdsKIRvGamC/RI34NcsDeDwOPTg== =VHN0 -----END PGP SIGNATURE-----