IfAdminStatus extension / itegration

2018-04-23 Thread Alan Del Tredici
Hello, We would like to extend functionality of ifAdminStatus on our platform which is using net-snmp v5.7.3. The goal is to monitor a hardware register bit which indicates whether the external power supply of the interface is enabled, and report this bit via ifAdminStatus.1. We also want to s

Re: Net-SNMP v5.8 and Darwin

2018-04-23 Thread Keith Mendoza
Bart, On Mon, Apr 23, 2018, at 6:45 AM, Bart Van Assche wrote: > On 04/23/18 00:34, Keith Mendoza wrote: > > Even with the -std=c89 flag the issue is still present. I was able to > > replicate the issue with the following code: > > > > === BEGIN C CODE === > > #include > > #define OPENSSL_NO_SH

Re: Net-SNMP v5.8 and Darwin

2018-04-23 Thread Bart Van Assche
On 04/23/18 00:34, Keith Mendoza wrote: Even with the -std=c89 flag the issue is still present. I was able to replicate the issue with the following code: === BEGIN C CODE === #include #define OPENSSL_NO_SHA512 #include const EVP_MD *getType() { const EVP_MD *ret; ret = (const EVP_

Re: Trying to run tutorial example

2018-04-23 Thread Ran Shalit
Thank you! I have managed to make it working. The tutorial in http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent helped me a lot, Yet, the following 2 things helped me make it working: 1. upgrade from 5.6.2 to 5.7.3 2. add agentx in configure --with-mib-modules="agentx" 3. add

Re: Trying to run tutorial example

2018-04-23 Thread Anders Wallin
Hi, the tarball includes a makefile and testscripts that works for 5.7.3 and 5.8-pre Just run; make make test1 make test2 No documentation included, but the script and Makefile should be possible to read and understand Regards Anders mån 23 apr. 2018 kl 07:51 skrev Ran Shalit : > Hello, > > I