Discussion:
snmpd.conf : interface group
(too old to reply)
Zvi Vered
2016-06-08 16:36:36 UTC
Permalink
Hello,

Do you have a sample of list of interface I can put in snmpd.conf ?

My x86 manages a switch. It runs snmpd. This x86 has few etherent devices.

I think (not sure) that by default, ifNumber is the number of those devices.
Am I right ?

In my case the number of devices is 16 which are the number of ports in the
switch.

Best regards,
Z.V
Jeroen van Ingen
2016-06-09 11:55:04 UTC
Permalink
Hi,

What do you mean with "my x86 manages a switch" ? Are you running Linux
on a hardware platform with x86 based main CPU, and does the hardware
include some sort of on-board 16-port switch module?

I don't have a solution for you, but if the above is roughly your
situation, you may want to look at what Pica8 and/or Cumulus Linux are
doing. Their software is based on Linux, runs on whitelabel switches and
their SNMP agents nicely report the info & statistics from the ports on
the switch SoC (which is generally a Broadcom unit and iirc somehow
integrates with the kernel, I guess via proprietary Broadcom SDK).

For a network device to have a usable SNMP implementation, you need a
lot more than only the number of interfaces and the interface names;
you'll need interface statistics, VLAN config, forwarding tables, ARP
tables etc. If you're writing this from scratch without any examples,
it'll take a //very very// long time to get that right.


Regards,
Jeroen
Post by Zvi Vered
Hello,
Do you have a sample of list of interface I can put in snmpd.conf ?
My x86 manages a switch. It runs snmpd. This x86 has few etherent devices.
I think (not sure) that by default, ifNumber is the number of those devices.
Am I right ?
In my case the number of devices is 16 which are the number of ports in the
switch.
Best regards,
Z.V
Zvi Vered
2016-06-09 18:52:44 UTC
Permalink
Hi Jeroen,

My x86 is connected via PCIe to an Intel's device. This device(ASIC)
is an ethernet switch (fm10k)
Intel provides a linux library + device driver for managing the switch
(e.g: read port status, set port speed).
I want to run snmpd on the x86 and fill the TODO with the relevant Intel's API.

Intel does not provide any SNMP infrastructure for this device.

I think it will be great if the x86 will run snmpd with some
customization and will monitor\manage the switch device.
Is it possible ?

What SNMP agent runs in all commercial switches. Is it not snmpd ?

Thank you,
Zvika

On Thu, Jun 9, 2016 at 2:55 PM, Jeroen van Ingen
Post by Jeroen van Ingen
Hi,
What do you mean with "my x86 manages a switch" ? Are you running Linux
on a hardware platform with x86 based main CPU, and does the hardware
include some sort of on-board 16-port switch module?
I don't have a solution for you, but if the above is roughly your
situation, you may want to look at what Pica8 and/or Cumulus Linux are
doing. Their software is based on Linux, runs on whitelabel switches and
their SNMP agents nicely report the info & statistics from the ports on
the switch SoC (which is generally a Broadcom unit and iirc somehow
integrates with the kernel, I guess via proprietary Broadcom SDK).
For a network device to have a usable SNMP implementation, you need a
lot more than only the number of interfaces and the interface names;
you'll need interface statistics, VLAN config, forwarding tables, ARP
tables etc. If you're writing this from scratch without any examples,
it'll take a //very very// long time to get that right.
Regards,
Jeroen
Post by Zvi Vered
Hello,
Do you have a sample of list of interface I can put in snmpd.conf ?
My x86 manages a switch. It runs snmpd. This x86 has few etherent devices.
I think (not sure) that by default, ifNumber is the number of those devices.
Am I right ?
In my case the number of devices is 16 which are the number of ports in the
switch.
Best regards,
Z.V
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Loading...