Re: Problem with C APIs

2012-10-03 Thread Wes Hardaker
Geet Bhatia writes: > Hi, > > I am trying to make small manager application in qt (for GUI) with Net-SNMP > C APIs. > > 1. I am able to parse MIB file through read_mib. But when I traverse the > tree struct, return value of read_mib, to get information it shows zero > content in that but pointer

Re: Can i define OctectString with size of 10K

2012-10-03 Thread Wes Hardaker
avihai marchiano writes: > I wonder if i can define my MIB as OctectString with 10k size. I forget the size limit imposed by the protocol itself, but I think it's possible. You'll want to use TCP instead of UDP though. -- Wes Hardaker Please mail all replies to [email protected]

Re: While building netsnmp /usr/bin/ld: cannot find -lperl collect2: ld returned 1 exit status thrown

2012-10-03 Thread Wes Hardaker
Anish Nath writes: > *** Warning: Linking the shared library libnetsnmpagent.la against the > *** static library (besides installing perl like others suggested, you can also compile with --disable-embedded-perl if you don't want perl support at all) -- Wes Hardaker Please mail all replies to ne

Re: net-snmp stopping with core dump

2012-10-03 Thread Wes Hardaker
Mohammad Shamim writes: > Need help your help to resolve the net-snmp crash issue with core dump > file on solaris 10 servers. You should use gdb or a similar debugger to figure out where it's crashing. [we actually have a good wiki page about how to do that, but our wiki is broken at the momen

SNMPD in CHROOT ... errors!!

2012-10-03 Thread Jatin Bodarya
While running snmp as CHROOT mode it is showing following error can anyone help me ??? Previously It was working fine..but suddenly It is giving errors.. [root@manage /]# /usr/sbin/chroot /var/snmp1/ /usr/local/sbin/snmpd -f -Le -Ddisman /usr/sbin/chroot: syntax error near unexpected token