Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 06-11-2016, 12:11 AM   #1
Registered: Sep 2007
Posts: 286

Rep: Reputation: 23
net-snmp - customize snmpd


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.

Thank you,
Old 06-13-2016, 09:29 AM   #2
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,416

Rep: Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541
snmp on a standard Linux host can be extended through shell scripts to perform any kind of checks. You could write extensions that make use of the linux/device library to query your device and report it back to your snmp client. These checks will be on a different OID but can then be set up as services in your monitoring software accordingly.

Look for the section "Executables/scripts" in snmpd.conf that should give details on extending snmpd with scripts and also shows the OID "entry point"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with running SNMP agent : snmpd prashant nirni Ubuntu 0 11-11-2011 09:12 AM
[SOLVED] snmp: where are the MIB files for OIDs reported through snmpd? eantoranz Linux - Server 1 03-22-2011 11:15 AM
SNMP Extend MIB on Ubuntu snmpd 5.4.1 lpse2000 Linux - Software 1 10-01-2009 05:55 PM
Net-SNMP (snmpd) Mithrilhall Linux - Newbie 3 05-25-2006 10:59 PM
Install snmp or snmpd rob_roman23 Linux - Software 13 03-28-2003 06:42 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration