Regarding swinst_rpm.c

2021-03-25 Thread Song, Xiongwei
Hi net-snmp experts, I'm hitting the error below when building net-snmp: 814 ../../../net-snmp-5.7.3/agent/mibgroup/host/data_access/swinst_rpm.c:119:27: error: '_RPMVSF_NOSIGNATURES' undeclared (first use in this function) 815 rpmtsSetVSFlags( ts, (_RPMVSF_NOSIGNATURES|_RPMVSF_NODIGESTS)); 816

Re: Regarding swinst_rpm.c

2021-03-25 Thread Bart Van Assche
On 3/25/21 1:29 AM, Song, Xiongwei wrote: > I'm hitting the error below when building net-snmp: > > 814 > ../../../net-snmp-5.7.3/agent/mibgroup/host/data_access/swinst_rpm.c:119:27: > error: '_RPMVSF_NOSIGNATURES' undeclared (first use in this function) > 815 rpmtsSetVSFlags( ts, (_RPMVSF_NOSIGNA

MIB search path

2021-03-25 Thread Simon Chamlian
Hi, When using snmpinform, I get the messages: SNMPInform failed: MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs Where are these MIB search paths defined? When I issue: # net-snmp-config --default-mibdirs /home/root/.snmp/mibs:/usr/share/snmp/mibs So it should look for: /home/root/.sn