Re: Junk in snmpwalk output

2018-10-04 Thread Niels Baggesen via Net-snmp-coders
Den 05-10-2018 kl. 00:56 skrev Gisle Vanem via Net-snmp-coders: With this command:   snmpwalk.exe -M mibs -m ALL -v1 -c public 10.0.0.21 I've getting lines with junk in the output:   IPV6-MIB::ipv6NetToMediaValid.1.''.12 = INTEGER: true(1) It is trying to show an OCTET

Re: Junk in snmpwalk output

2018-10-04 Thread Bart Van Assche
On Fri, 2018-10-05 at 00:56 +0200, Gisle Vanem via Net-snmp-coders wrote: > With this command: >snmpwalk.exe -M mibs -m ALL -v1 -c public 10.0.0.21 > > I've getting lines with junk in the output: >IPV6-MIB::ipv6NetToMediaValid.1.''.12 = INTEGER: true(1) >

Junk in snmpwalk output

2018-10-04 Thread Gisle Vanem via Net-snmp-coders
With this command: snmpwalk.exe -M mibs -m ALL -v1 -c public 10.0.0.21 I've getting lines with junk in the output: IPV6-MIB::ipv6NetToMediaValid.1.''.12 = INTEGER: true(1) IPV6-MIB::ipv6NetToMediaValid.1.''.22 = INTEGER: true(1)

snmptrapd

2018-10-04 Thread jayshankar nair
Hi, I am opening snmptrapd session with the below code netsnmp_session *sess_list = NULL, *ss = NULL; netsnmp_transport *transport = NULL; transport = netsnmp_transport_open_server("snmptrap", "udp:162"); ss = snmptrapd_add_session(transport); Currently i am able to read v2 traps. I was

SNMP daemon still running after snmpd -h command

2018-10-04 Thread Josef Ridky
Hi folks, I have discovered following issue. When I run in terminal: # snmpd -h I get proper usage information, but snmpd process still exists. I prepared simple patch with solution based on code from 5.7 version of net-snmp (in attachment). Regards Josef Ridky Associate Software Engineer

Given an OID, need API to evaluate it

2018-10-04 Thread Nitin Samuel
Hi All, Given an OID as a char[] or int[] as input, does the subagent have an API interface to evaluate any OID and return a varlist ? Will this netsnmp_query_get() help ? Thanks, NitinVS ___ Net-snmp-coders mailing list