Re: SNMPv2-MIB::sysUpTime No Such Instance currently exists at this OID

2010-12-27 Thread Abraham Varricatt
> > I have compiled snmpd for my i686 host and I get same problem - daemon > get request and client don't get answer. > Well, at least we are getting somewhere now! Can you tell us the exact command you use to compile net-snmp on your i686 host? The typical commands most people follow are, ./conf

Re: SNMPv2-MIB::sysUpTime No Such Instance currently exists at this OID

2010-12-27 Thread Brilliantov Kirill Vladimirovich
Hello Abraham and thank you for your reply! I have compiled snmpd for my i686 host and I get same problem - daemon get request and client don't get answer. I have two warning in config.log: configure:8234: WARNING: using cross tools not prefixed with host triplet configure:49413: WARNING: Can't che

Re: SNMPv2-MIB::sysUpTime No Such Instance currently exists at this OID

2010-12-27 Thread Abraham Varricatt
I'm not familiar with ARM, but I have some experience cross-compiling the net-snmp agent. First off, try a basic "configuration" test. The idea is to NOT cross compile and just compile the net-snmp agent to your local system. See if you can get the agent to run/work as you expect it, based on your

Re: delay in receiving cold start trap from net-snmpd daemon..

2010-12-27 Thread Abraham Varricatt
> > > I am invoking the net snmpd daemon in one of my startup script as follows: > > snmpd -f -c /etc/snmpd.conf & > > Can I ask why you are using both - the "-f" flag (run net-snmp agent as a foreground process, without spawning any new processes) and "&" (run in background) ? They seem to contr

Re: Problem in init_snmp in visual c++ (and Qt)

2010-12-27 Thread Dave Shield
On 27 December 2010 12:34, Ramesh Kumar wrote: > Do you mean to say input to init_snmp is name of executable. The normal convention is to pass the name of the executable as the argument to init_snmp(), yes. But you can actually pass whatever name you like - it's really only used to determine wh

Re: SNMPv2-MIB::sysUpTime No Such Instance currently exists at this OID

2010-12-27 Thread Brilliantov Kirill Vladimirovich
Sorry, this is my error. $ snmpget -v 2c -c public 192.168.10.253 .1.3.6.1.2.1.1.3.0 Timeout: No Response from 192.168.10.253 And snmpd debug output: . handler:returned: handler scalar returned 0 trace: netsnmp_call_handler(): agent_handler.c, 525: handler:returned:

SNMPv2-MIB::sysUpTime No Such Instance currently exists at this OID

2010-12-27 Thread Brilliantov Kirill Vladimirovich
Hello! I have used net-snmp 5.6. My configuration options: ./configure --prefix=/home/kirill/MVK-IP/contribs/net-snmp-5.6/install --host=arm-v5t-linux --target=arm-v5t-linux --build=i686 --disable-manuals --disable-ipv6 --with-cc=arm_v5t_le-gcc --with-ar=arm_v5t_le-ar --with-sys-contact="u...@comp

Problem in snmp_synch_response

2010-12-27 Thread Ramesh Kumar
Hi everyone I am trying to send SNMP GET. When I use int status = snmp_synch_response(ss, pdu, &response); status is 1 and response in NULL. My OID, Destination IP addresss and community name all are correct. I think packet is not reaching Destination. What could be the problem? If I use some m

Re: Problem in init_snmp in visual c++ (and Qt)

2010-12-27 Thread Ramesh Kumar
Thanks for your reply Do you mean to say input to init_snmp is name of executable. Also what happens, if foo.conf is not found? On Wed, Dec 22, 2010 at 10:54 AM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > > init_snmp("foo") bootstraps the net-snmp library. It's very required. > Th

Re: snmp

2010-12-27 Thread Mishustin Kirill
27.12.2010 15:32, 刘谋旺 пишет: > I hope send a signal to notice snmpd re-read configuration, or other > metheds, but not to > restart snmpd. Send a HUP signal to daemon. It will force agent to reread it's config. kill -SIGHUP Kirill. -

snmp

2010-12-27 Thread 刘谋旺
hi: If I modify configurations in snmp.conf , I want to take my modification into effect, but I don't want to restart snmpd, there are methods to implement my ideas. for example, I want to modify clientaddr, when I modify the configration finished, I hope send a signal to notice snmpd re

Re: ‘ifIndex’ undeclared

2010-12-27 Thread Brilliantov Kirill Vladimirovich
Ok, I solve this problem. $ ./configure --prefix=/home/kirill/MVK-IP/contribs/net-snmp-5.6/install --host=arm-v5t-linux --target=arm-v5t-linux --build=i686 --disable-manuals --disable-ipv6 --with-cc=arm_v5t_le-gcc --with-ar=arm_v5t_le-ar --with-sys-contact="u...@company.ru" --with-sys-location="i