Sumit Mhatre | 22 Jul 12:54 2016
Picon

How to get/generate the engine ID for SNMP v3?

Hi all,
       I am using Net-SNMP for generating SNMP traps in my product. So, I am just shipping snmptrap.exe which I invoke with appropriate parameters. Well, I did not face any issue with SNMP v2c.
 But with SNMP v3, I am not getting:

1.  What value should I put for -e option i.e. EngineID ?
2. Or can I set/define it to random number?

Note: I am not running(nor shipping) snmpd as I just want to add trap capability.

Please suggest.
------------------------------------------------------------------------------
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.http://sdm.link/zohodev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Sumit Mhatre | 21 Jul 13:28 2016
Picon

Net-SNMP with OpenSSL 1.0.2

Hi all,
        I am planning to use Net-SNMP for SNMP trap solution in my product. My product uses/ships with OpenSSL 1.0.2. However , I have noticed Net-SNMP binaries support with OpenSSL 0.9.8...
Does Net-SNMP support / qualify OpenSSL 1.0.2 ?

Regards,
Sumit
------------------------------------------------------------------------------
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.http://sdm.link/zohodev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Gregg Nemas | 20 Jul 19:40 2016
Picon

Implementing row deletion side-effect in table data set

I used mib2c to generate a table handler using the table data set
helper. This is working correctly, including row insertion/deletion
via a row status column.

However, I need to be able to implement a side-effect that must occur
when a row is deleted, and I am not sure how to do that. I tried
detecting the deletion from within the table handler function that
mib2c generated, but I was not successful.

/* Test Code */

    int
    myTable_handler(
        netsnmp_mib_handler               *handler,
        netsnmp_handler_registration      *reginfo,
       netsnmp_agent_request_info        *reqinfo,
        netsnmp_request_info              *requests) {

        if (reqinfo->mode == MODE_COMMIT)
        {
            for (netsnmp_request_info* request = requests;
                 request;
                 request = request->next)
            {
                netsnmp_table_data_set_storage *data =
                    netsnmp_extract_table_data_set_column(request,
COLUMN_MYTABLEROWSTATUS);

                if (data == 0)
                    std::cout << "Null ptr" << std::endl;
                else if (*data->data.integer == RS_DESTROY)
                {
                    std::cout << "Destroying row" << std::endl;
                }
            }
        }

        return SNMP_ERR_NOERROR;
    }

The netsnmp_extract_table_data_set_column always seems to return a
null pointer. I've also tried detecting other phases (MODE_RESERVE1,
etc.).

Can someone offer some guidance? Ideally, I would be able to have
access to the complete row before it is deleted so I can examine other
columns within the row.

Thanks.

Gregg

------------------------------------------------------------------------------
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.http://sdm.link/zohodev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Hemanth Kumar | 19 Jul 14:19 2016
Picon

Need help with snmptrapd command

HI,
I am trying to figure out a way by which I can send following trap command without adding/mentioning the port number. The receiver is receiving the trap when the custom port number is mentioned 
snmptrap -v 2c -c rscommunity <DEST-IP-ADDRESS>:166 "" TRAP-TEST-MIB::demotraps  SNMPv2-MIB::sysLocation.0 s "some message"

By default, the following command does not require the port number to be mentioned when the snmptrapd is using the default port-161.
snmptrap -v 2c -c rscommunity <DEST-IP-ADDRESS> "" TRAP-TEST-MIB::demotraps  SNMPv2-MIB::sysLocation.0 s "some message"

Additional info:
firewall opened for the above mentioned custom port
SELINUX
/etc/sysconfig/selinux has the following edit  "SELINUX=disabled" (essentially SELINUX is off)


So far, I have been following the http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html to understand/test


Test Bed
2xservers with NET-SNMP version:  5.7.2 on CentOS 7.2

Thanks in advance
-Hemanth
------------------------------------------------------------------------------
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.http://sdm.link/zohodev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Marko Vucak | 14 Jul 12:54 2016
Picon

Encryption question

Hi

 

Having some problems with encryption.

 

I downloaded latest version: net-snmp-5.7.3

 

Then configured it with command:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --host=arm-v5te-linux-gnueabi --build=i686-host-linux-gnu --enable-ipv6 --with-defaults --with-openssl=internal --with-mib-modules=agentx,ucd_snmp --with-mibs --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp --with-default-snmp-version=3 --enable-shared --enable-internal-md5 --with-endianness=little --enable-agentx-dom-sock-only --enable-agent --enable-mibs --enable-snmpv1 --enable-snmpv2c --enable-snmpv3 --enable-des --enable-md5 --enable-sha1 --enable-aes --enable-snmptrapd-subagent --enable-mib-config-checking --enable-mfd-rewrites --disable-embedded-perl --without-perl-modules --disable-testing-code --disable-developer

 

Net-SNMP configuration summary said:

Authentication support: MD5 SHA1

Encryption support: DES AES


Then I made snmpd with make command.

 

When I execute command: snmpd -H 2>&1 | grep defPrivType

I get:  defPrivType DES (AES support not available)

 

Why no support for AES when it was OK in configure?




I have following snmpd.conf


master agentx

#Network hint
com2sec local     localhost           public
com2sec mynetwork 169.254.1.0/24      public

#create views
view all included  .1

# Add user
createUser myUser MD5 "12345678" DES abcdef
rwuser myUser

#ReadWrite group
group MyRWGroup usm local myUser

# For ALL_ACCESS view
access MyRWGroup "" usm auth exact all all all

Here, on command: snmpd -H i get error: Unknown privacy protocol 
Why? When DES is enabled.
Is something wrong with my configuration?
------------------------------------------------------------------------------
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.http://sdm.link/zohodev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
venerable83 | 11 Jul 11:14 2016

snmptranslate doesn't show full MIB-Tree on equal Systems

Hello,

 

I have two Linux Debain VMs and both are identical configured at net-snmp 5.4.3 (snmp, snmpd and snmptt).

They also have the same MIBs.

 

However if I use snmptranslate to check some OIDs, they show me different MIB-"Trees".

 

For example:

If I use snmptranslate -m ALL -Pu -Of .1.3.6.1.4.1.4491.2.1.6.2.1.1

on Server1 then it translated me .iso.org.dod.internet.private.enterprises.cableLabs.clabProject.clabProjDocsis.docsIfMCmtsMib.docsIfMCmtsConformance.docsIfMCmtsCompliances.docsIfMCmtsCoreDeviceCompliance

 

If I use the same command on Server2 then it translated me only

.iso.org.dod.internet.private.enterprises.cableLabs.clabProject.clabProjDocsis.docsIfMCmtsMib2.1.1

 

How can that be?

 

 

Best regards,

Venerable

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Picon

Liker error while building net-snmp

Hello.
I installed Windows SDK 7.1, ActivePerl v.5.16.3.1604 x64 and OpenSSL 1.0.1t
I'm trying to build net-snmp v5.7.2.1 by VS 2010, but on "Building DLL libraries" I'm getting errors:

libeay32MD.lib(b_print.obj) : error LNK2019: unresolved external symbol __report_rangecheckfailure referenced in function fmtfp
libeay32MD.lib(obj_dat.obj) : error LNK2001: unresolved external symbol __report_rangecheckfailure
libeay32MD.lib(b_dump.obj) : error LNK2001: unresolved external symbol __report_rangecheckfailure
libeay32MD.lib(pem_lib.obj) : error LNK2001: unresolved external symbol __report_rangecheckfailure

What am i doing wrong? Thanks
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Jobin Joseph | 8 Jul 11:02 2016
Picon

Disable name resolution in NETSNMP APPS using netsnmp_ds_booleans array value

Hello All,

We are using NetSNMP trap formatting routines
realloc_format_plain_trap and realloc_format_trap to format the
received traps. Its observed that gethostbyaddr() routine is used for
resolving the trap source ip address in these trap formatting
routines. For unresolved hostnames this routine is taking
approximately 5 seconds and the trap formatting routine returns after
5 seconds only.

In our environment, we continually adds hosts and this resulted in
delay in trap processing due to failed name resolutions.

I have checked NetSNMP code and it’s observed that the hostname
resolution is made configurable with snmptrapd.  netsnmp_ds_booleans
array index obtained from NETSNMP_DS_APPLICATION_ID and
NETSNMP_DS_APP_NUMERIC_IP is set as TRUE when snmptrapd is started
with –n option. So when we receive a trap, if this array index is set
as TRUE, then it does not attempt to translate source addresses of
incoming packets into hostnames, hence gethostbyaddr() is not invoked.

I have tried to modify to set this array index from my application,
similar way as done in snmptrapd code using NetSNMP snmplib routine
netsnmp_ds_set_boolean(). Also I tried to retrieve the value using
netsnmp_ds_get_boolean () routine and verified that the value
retrieved is 1. But it is observed that the value is not visible in
NetSNMP trap formatting routines when the value is retrieved using
netsnmp_ds_get_boolean () routine.

Could you please add two new routines in NetSNMP apps code to set and
get netsnmp_ds_booleans array values, similar to NetSNMP snmplib
routines netsnmp_ds_set_boolean() and netsnmp_ds_get_boolean ().

Thanks and Regards,
Jobin Joseph

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Thomas Andrews | 30 Jun 13:01 2016
Picon

Sample code to change passwords

Hi,

I'm looking for some sample C code for an SNMP client to change it's password (using SNMP). I use AuthNoPriv with SNMPv3. The client has no shell access to the machine running snmpd, so it needs to be done securely over the wire.

My application currently uses NetSnmp libraries to do lots of things, but the user account has always been set manually on the command-line.

I've (briefly) looked at the source of snmpusm.c but it's over 4000 lines long, and all rather confusing..

There is a  description of what is required in the USM MIB but it's above my head - I need a concrete example...

Can anyone help please?

Many thanks,
Thomas
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Theodore Wynnychenko | 12 Jun 01:45 2016

Net::snmp error when using snmpV3 with APC UPS network card

Hello

I am not a Perl programmer (or anything like one), and (honestly) am not
completely sure this is where I should post my observation/question; but, I
think the perl net::snmp module is where the problem lies, so I decided to try
here first.

In any case, I have recently decided to get snmp working on my network to be
used with icinga2 for monitoring.  To that end, I was going to use MRTG (via the
check_mrtgtraf monitoring plugin for nagios/icinga) to watch network interface
usage.

I have set up net-snmp and this is working.  I also have set up snmp on several
pieces of hardware that include snmp capabilities.  As a matter of principle, I
have enabled snmpV3 where available.

But, while I have had no problems with snmpV3 using net-snmp, for one class of
hardware (old APC UPS Network Management cards - Model AP9617 circa 2007), I
have no trouble getting snmp data using snmpV3 with net-snmp, but snmpV3 fails
with Perl's Net::snmp (although snmpV1 works).

So, MRTG uses Perl and Net::smnp to collect data.  There is a utility called
cfgmaker included.

First, as an example, with a non-problem piece of hardware (an old HP LaserJet
printer):

Using net-smnp tools:

# snmpwalk -v 3 -a MD5 -A <pass> -u <user> -x DES -X <pass> -l authPriv -n
Jetdirect 10.0.128.250
SNMPv2-MIB::sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT,ROM
C.25.80,JETDIRECT,JD115,EEPROM V.28.06,CIDATE 04/27/2004
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.11.2.3.9.1
SNMPv2-MIB::sysUpTime.0 = Timeticks: (240889502) 27 days, 21:08:15.02
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: <name>
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 64
....ETC....

If I use MRTG's cfgmaker:

# /usr/local/bin/cfgmaker --ifref=eth --enablesnmpv3 --username <user>
--authpassword <pass> --authprotocol md5 --privprotocol des --privpassword
<pass> --contextengineid 0x0000000b00110abb64570001 --contextname Jetdirect
10.0.128.250:::::3
--base: SNMP V3 libraries found, SNMP V3 enabled.
--base: Get Device Info on public <at> 10.0.128.250:::::3
--base: Vendor Id: hp
--base: Populating confcache
--base: Get Interface Info
--base: Walking ifIndex
--snpd:   public <at> 10.0.128.250:::::3 -> 1 -> ifIndex = 1
--snpd:   public <at> 10.0.128.250:::::3 -> 2 -> ifIndex = 2
....ETC....

If I try to use snmpv3 with the APC hardware, net-snmp works:

# snmpwalk -v 3 -a MD5 -A <pass> -u <user> -x DES -X <pass> -l authPriv
10.0.128.182
SNMPv2-MIB::sysDescr.0 = STRING: APC Web/SNMP Management Card (MB:v3.9.2
PF:v3.7.3 PN:apc_hw02_aos_373.bin AF1:v3.7.2 AN1:apc_hw02_sumx_372.bin MN:AP9617
HR:5 SN: JA0143000596 MD:10/24/2001) (Embedded PowerNet SNMP Agent SW v2.2
compatible)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.318.1.3.2.8
SNMPv2-MIB::sysUpTime.0 = Timeticks: (19348130) 2 days, 5:44:41.30
SNMPv2-MIB::sysContact.0 = STRING: <me <at> my.com>
SNMPv2-MIB::sysName.0 = STRING: <name>
SNMPv2-MIB::sysLocation.0 = STRING: <location>
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: SNMPv2-SMI::snmpModules.10.3.1.1
SNMPv2-MIB::sysORID.3 = OID: SNMPv2-SMI::snmpModules.11.3.1.1
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-SMI::snmpModules.15.2.1.1
SNMPv2-MIB::sysORID.5 = OID: SNMPv2-SMI::snmpModules.16.2.1.1
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB Module from SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: SNMP Management Architecture MIB
SNMPv2-MIB::sysORDescr.3 = STRING: Message Processing and Dispatching MIB
SNMPv2-MIB::sysORDescr.4 = STRING: USM User MIB
SNMPv2-MIB::sysORDescr.5 = STRING: VACM MIB
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (0) 0:00:00.00
....ETC...

Also, I can connect to the hardware with snmpV1 via cfgmaker and Net::snmp:

# cfgmaker --ifref=eth public <at> 10.0.128.182
--base: Get Device Info on public <at> 10.0.128.182:
--base: Vendor Id: Unknown Vendor - 1.3.6.1.4.1.318.1.3.2.8
--base: Populating confcache
--base: Get Interface Info
--base: Walking ifIndex
--snpd:   valinor <at> 10.0.128.182: -> 1 -> ifIndex = 1
--snpd:   valinor <at> 10.0.128.182: -> 2 -> ifIndex = 2
...ETC...

But, with cfgmaker and smnpV3, I see:

# /usr/local/bin/cfgmaker --ifref=eth --enablesnmpv3 --username <user>
--authpassword <pass> --authprotocol md5 --privprotocol des --privpassword
<pass> --contextengineid 0x8000013E0300C0B764D02C 10.0.128.182:::::3
--base: SNMP V3 libraries found, SNMP V3 enabled.
--base: Get Device Info on public <at> 10.0.128.182:::::3
Use of uninitialized value in pattern match (m//) at
/usr/local/libdata/perl5/site_perl/Net/SNMP.pm line 2620.
SNMPopen failed: Time synchronization failed during discovery
 at /usr/local/libdata/perl5/site_perl/Net_SNMP_util.pm line 1580.
        Net_SNMP_util::snmpopen("public\ <at> 10.0.128.182:::::3:v4only", 0,
ARRAY(0x1e34855688f8)) called at
/usr/local/libdata/perl5/site_perl/Net_SNMP_util.pm line 1690
        Net_SNMP_util::snmpwalk_flg("public\ <at> 10.0.128.182:::::3:v4only", undef,
HASH(0x1e34dcbad868), "1.3.6.1.2.1.1") called at
/usr/local/libdata/perl5/site_perl/Net_SNMP_util.pm line 786
        Net_SNMP_util::snmpwalk("public\ <at> 10.0.128.182:::::3:v4only",
HASH(0x1e34dcbad868), "1.3.6.1.2.1.1") called at /usr/local/bin/cfgmaker line
951
        main::DeviceInfo("public\ <at> 10.0.128.182:::::3", HASH(0x1e34da908af0),
HASH(0x1e34dcbad868)) called at /usr/local/bin/cfgmaker line 142
        main::main() called at /usr/local/bin/cfgmaker line 160
SNMPWALK Problem for public <at> 10.0.128.182:::::3:v4only at /usr/local/bin/cfgmaker
line 951.
WARNING: Skipping public <at> 10.0.128.182:::::3 as no info could be retrieved

Use of uninitialized value $comment_sysdescr in substitution (s///) at
/usr/local/bin/cfgmaker line 379.
Use of uninitialized value $sysname in concatenation (.) or string at
/usr/local/bin/cfgmaker line 412.
Use of uninitialized value $comment_sysdescr in concatenation (.) or string at
/usr/local/bin/cfgmaker line 412.
Use of uninitialized value $syscontact in concatenation (.) or string at
/usr/local/bin/cfgmaker line 412.
Use of uninitialized value $syslocation in concatenation (.) or string at
/usr/local/bin/cfgmaker line 412.
....ETC...

Now, it seems to me that the failure is not with MRTG's cfgmaker, but within
Net::snmp.

Not really knowing what I am talking about, it appears that cfgmaker calls
Net::snmp; then Net::snmp tries to establish a snmpV3 connection with the
hardware, but fails:  "Use of uninitialized value in pattern match (m//) at
/usr/local/libdata/perl5/site_perl/Net/SNMP.pm line 2620."

This initial failure with Net::snmp then leads to a lack of data, and all the
subsequent errors.

The problem could be with the hardware, but that seems unlikely since net-snmp
tools work with it.  Also, the problem does not seem to lie within MRTG's
cfgmaker, since the error appears to occur when control has been passed to
Net::snmp to establish a snmpV3 connection, but is unable to.

Exactly why this may be, I have no idea.

But, again, on principle, I would like to get this working.  If anyone has any
ideas on what I could do to get this working, please let me know.

Thanks in advance.
Ted

------------------------------------------------------------------------------
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
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Zvi Vered | 11 Jun 06:16 2016
Picon

snmpd - customize ifNumber

Hello,

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 ?

My first step is to understand how to "convince" snmpd that the switch
has 16 ports.
The default is 4 which is the number if etherent devices in the x86.
This is of course not relevant for my needs.

I also tried to run example_demon.c
But in my case I do not have new MIBs. Just the standard ones.

Thank you,
Zvika

------------------------------------------------------------------------------
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
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Gmane