laLoadInt.1 through snmpd.conf

2018-01-12 Thread czezz
Hi, when I execute following snmpwalk for Load on my system, then I get results and that works OK. # snmpwalk -v 2c -c public 10.18.20.51:161 laLoadInt UCD-SNMP-MIB::laLoadInt.1 = INTEGER: 66 UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 128 UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 151 # snmpwalk -v

program coredump because "callback_magic" behavior was changed since 5.6.x

2018-01-12 Thread Hao Chen
Hi All: 1. My program need to use "callback" function and pass something back. So, I use "callback_magic" to store an C++ object address. So, I can get my C++ object and use it my callback function. My code looks like: bool CERSnmpSession::open() {