Doesn't data retrieval requires IPC ?

2016-10-23 Thread Ran Shalit
Hello, I am not sure as to how to modify code after using mib2c. It is said " Modify the code templates to fill in the data collection and management portions of the module." Say, there is an application which runs in the same device which determines the data values, which are required to be

Re: Unit snmp.service not found

2017-11-22 Thread Ran Shalit
On Thu, Nov 23, 2017 at 9:36 AM, Robert Story wrote: > On Thu, 16 Nov 2017 11:08:46 +0200 Ran wrote: > RS> I can't find /etc/snmp.conf after yocto build with : > RS> CORE_IMAGE_EXTRA_INSTALL += "net-snmp net-snmp-server > RS> net-snmp-libs net-snmp-mibs" > > I have no idea

Unit snmp.service not found

2017-11-16 Thread Ran Shalit
Hello, I can't find /etc/snmp.conf after yocto build with : CORE_IMAGE_EXTRA_INSTALL += "net-snmp net-snmp-server net-snmp-libs net-snmp-mibs" I also tried to restart snmp: root@imx6qsabresd:/etc/openvivoe# systemctl restart snmp.service Failed to restart snmp.service: Unit snmp.service not

snmpd.conf path

2018-04-18 Thread Ran Shalit
Hello, I use older kernel (2.6.37), and managed to build snmp 5.6.2 with it. Yet, I don't have perl support, and didn't find snmpd.conf in the installed files. Should I manually write snmpd.conf file and place it in usr/local/etc/snmp/snmp.conf ? Thank you, ranran

using both client and server

2018-04-16 Thread Ran Shalit
Hello, We need to use net-client as both client and server (not at the same time). Does it requires different builds ? I have build it as following, should it work with both ? ./configure --prefix=/usr --build=i386-linux --host=arm-linux --target=arm-linux

work without configuration file ( snmpd.conf)

2018-04-19 Thread Ran Shalit
Hello, Is it possible to workl without configuration file ( snmpd.conf) ? Thank you, ranran -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

agentX with MIB tutorial problem

2018-04-22 Thread Ran Shalit
Hello, I am trying to run the tutorial for running agentX with MIB as described here: http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent Yet, I keep getting "No Such Object available on this agent at this OID"... root@dm814x-evm:~# snmpd -Lo Turning on AgentX master

Loading a new MIB

2018-04-22 Thread Ran Shalit
Hello, I'm new with net-snmp. I've managed to cross compile and install net-snmp 5.6.2 on my device. I also manage to start snmpd, and snmpwalk. I than tried to add MIB: I added the following to /usr/share/snmp/mibs