SNMP Agent for LS1046A

cancel
Showing results for 
Search instead for 
Did you mean: 

SNMP Agent for LS1046A

154 Views
Contributor I

Hi, Iam using LS1046A QorIQ processor , i want to install the SNMP V3 agent on the Eval board and Query for SNMP parameters (MIB Parameters) from the Manager (i Reasoning MiB Browser) residing on a separate windows, please let me know the procedure for the same.

I am using Net SNMP for this purpose.

0 Kudos
7 Replies

148 Views
NXP TechSupport
NXP TechSupport

Do you use the latest LSDK 2004 release?

If yes, please refer to this topic about how to install and configure SNMP daemon and client on Ubuntu 18.04.

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-an-snmp-daemon-and-cli...

0 Kudos

136 Views
Contributor I

Yes, we are using the latest LSDK 2004 release.

We are using using VMware Workstation installed on a Windows machine (Windows 7), and we have installed Ubuntu 18.04 in Vmware.

Please let me know, how to install LSDK 20.04 on Ubuntu 18.04, and how do i configure the SNMP Agent over LSDK to repond queries from the SNMP Manager.

0 Kudos

120 Views
NXP TechSupport
NXP TechSupport

Please download the latest flex-builder LSDK 2004 from "https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscap...".

After uncompress the tar ball, please execute the following command to download firmware, bootpartition and ubuntu rootfs and deploy them to SD card.

$ source setup.env

$ flex-installer -i auto -m ls1046ardb -d /dev/sdx

Plug in SD card to your target bard and configure the target board boot from SD.

After enter Linux system, install the SNMP daemon

$ sudo apt-get update

$ sudo apt install snmpd

Edit snmpd.conf with text editor of your choice, we will be using nano: sudo nano /etc/snmp/snmpd.conf

Configure agentAddress: agentAddress udp:161,udp6:[::1]:161
-This will set the server to listen on all IPv4 and IPv6 addresses (remove the hashtags in front of this agentAddress information to make the comment "live")
-For higher security bind to your IP address. Ex: agentAddress udp:192.168.1.5:161

Configure rocommunity: rocommunity public
-Change "public" to your community name

Restart the SNMPD service: sudo service snmpd restart

 

0 Kudos

95 Views
Contributor I

Thank you very much for the reply,

Can i write a custom .c file (the Driver File) for handling custom MIB Parameters in the Eval Board (Eg: i want to add a new MiB parameter "SoftVer" : Which defines the Software Version of Firmware Loaded onto the Hardware).

Can u please provide some guidelines that i need to follow in the Firmware as well as in the .c file. Although iam able to get response for the OS parameters (as per RFC 1213), but i want some details that i have to follow if i have to fetch some custom MiB parameters from the Eval Board(Hardware).

Please share some sample code if u have any.

0 Kudos

83 Views
NXP TechSupport
NXP TechSupport

Please refer to "Writing Your Own SNMP MIB: Procedure" in https://netbeez.net/blog/snmp/.

0 Kudos

109 Views
Contributor I

Thank you very much for the reply,

Can i write a custom .c file (the Driver File) for handling custom MIB Parameters in the Eval Board (Eg: i want to add a new MiB parameter "SoftVer" : Which defines the Software Version of Firmware Loaded onto the Hardware),

Can u please provide some guidelines that i need to follow in the Firmware as well as in the .c file. Although iam able to get response for the OS parameters (as per RFC 1213), but i want some details that i have to follow if i have to fetch some custom MiB parameters from the Eval Board(Hardware).

Please share some sample code if u have any.

0 Kudos

144 Views
Contributor I

Great articles thanks for sharing this awesome blogs MyAARPMedicare

0 Kudos