RE: Timeout: No Response after output of last OID

2006-03-29 Thread Ajay Hotchandani
Hi Dave,

I tried with net-snmp-5.2.2, and it works.
It gives output of commands:
1. snmpwalk -v 2c -c public localhost .1.3.6.1.6
2. Also, I get proper outputs for my MIB.

What I conclude from this, there is some problem with FC4 64-bit provided
net-snmp:
  net-snmp-5.2.1.2-fc4.1 (Updated version of FC4)
  net-snmp-5.2.1-12 (Standard version provided while installation)
With these net-snmp versions, above both the points are not working. For
second point, I get output of my whole MIB, but after output of last OID, I
get Timeout: No Response ... error message.

While, with net-snmp-5.2.2 (tar.gz installation), net-snmp-5.1-2.1 (FC1
64-bit, rpm installation), net-snmp-5.2.1-12 (FC4 32-bit, rpm
installation) and net-snmp-5.0.6-17 (RH9 32-bit, rpm installation);
everything works fine.
As, it is working fine with net-snmp-5.1-2.1 (FC1 64-bit) and
net-snmp-5.2.2 (FC4 64-bit), it doesn't seem 64-bit related issue either.

Thus, this is neither access control problem nor 64-bit problem.

I have couple of queries.
Is there any way by which, after output of last OID of my MIB, I get
following output instead of error message:
No more variables left in this MIB View (It is past the end of the
MIB tree)
OR
If possible, then how can I statically load MIBs like SNMPv2-SMI.txt,
SNMPv2-TC.txt etc. in agent? (Please take a note that here, net-snmp is
installed through rpm)
If I am not wrong then above MIBs are responsible for providing output for
OID .1.3.6.1.6. Please correct me if I am wrong in this. What I understand
here is, above MIBs might not be loaded into agent itself.

What I understand here, problem should be solved if any of above two points
can be applied. Again, correct me if I am wrong in this.

Thanks again, for all your help.

Regards,
Ajay

-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 3:35 PM
To: Ajay Hotchandani
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: Timeout: No Response after output of last OID

On Tue, 2006-03-21 at 09:47 +0530, Ajay Hotchandani wrote:
 Thanks a lot for all your help.
 
 I see only outgoing dump, 
[snip]
 Timeout: No Response from localhost.

Sorry - I'm out of ideas.
This looks exactly like an access control problem,
but your earlier comments seem to indicate that things
are set up correctly.

If it's a 64-bit problem, then I'm afraid I don't have
the resources (time or equipment) to investigate further.
All I can suggest is that you try to mimic the configuration
on parallel 64-bit and 32-bit systems, and see if you can
spot any differences between the two.

Try with the most recent code if you can (5.2.2 or 5.3.0.1)

And double check the access control - both in the snmpd.conf
files, and the SNMP tables (if you can see them).

Good Luck

Dave




eInfochips Business Disclaimer:
This message may contain confidential, proprietary or legally Privileged 
information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, Disclose, distribute, 
print, or copy any part of this message and you are requested to delete it and 
inform the sender. Any views expressed in this message are those of the 
individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by eInfochips Limited 
and/or eInfochips Inc(eInfochips) unless sent with that express intent and 
with due authority of eInfochips. eInfochips has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Timeout: No Response after output of last OID

2006-03-20 Thread Ajay Hotchandani
Hi Dave,

Thanks a lot for all your help.

I see only outgoing dump, following is output for that:
===
Sending 39 bytes to UDP: [127.0.0.1]:161

: 30 25 02 01  01 04 06 70  75 62 6C 69  63 A1 18 020%.public...

0016: 04 3B D0 8C  C9 02 01 00  02 01 00 30  0A 30 08 06.;.0.0..

0032: 04 2B 06 01  06 05 00 .+.

 

Timeout: No Response from localhost.
=

Regards,
Ajay

-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 06, 2006 4:02 PM
To: Ajay Hotchandani
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: Timeout: No Response after output of last OID

On Sat, 2006-03-04 at 11:27 +0530, Ajay Hotchandani wrote:
  What happens if you try
snmpwalk -v 2c -t 60 -c public localhost .1.3.6.1.6
  ?  (to give the agent more time to respond)
 
 Same output:
   Timeout: No Response from localhost

OK - so it's probably not simply the agent taking too
long to respond.

The next thing I'd try is

 snmpgetnext -v 2c -c public -r 0 -d localhost .1.3.6.1.6

That will doubtless fail as well, but do you see the request
and a response, or just the request?

If you see the dump of a response, then the problem would
seem to lie with the client (or at least the client dropping
a possibly malformed response packet).
  If you only see the outgoing dump, then the problem is
probably squarely with the agent.

Dave




eInfochips Business Disclaimer:
This message may contain confidential, proprietary or legally Privileged 
information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, Disclose, distribute, 
print, or copy any part of this message and you are requested to delete it and 
inform the sender. Any views expressed in this message are those of the 
individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by eInfochips Limited 
and/or eInfochips Inc(eInfochips) unless sent with that express intent and 
with due authority of eInfochips. eInfochips has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Timeout: No Response after output of last OID

2006-03-03 Thread Ajay Hotchandani
Hi Dave,

Same output:
Timeout: No Response from localhost

Just as reminder,
If I want to run my code run with OS provided
net-snmp-5.2.1.2-fc4.1.x86_64.rpm, then there are 2 ways:
Somehow make changes in my code that after output of last OID of my MIB, the
output should be No more variables left in this MIB View (It is past the
end of the MIB tree) instead of error message.
OR
Add SNMPv2-SMI.txt, SNMPv2-TC.txt etc. MIBs, which contains objects for
OID .1.3.6.1.6 to master agent.

I prefer first one. Please let me know if there is another way available.
 
Kindly let me know how can I execute above 2 potential solutions, or there
is another solution for this or any further information is needed.

Regards,
Ajay

-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 10:53 PM
To: Ajay Hotchandani
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: Timeout: No Response after output of last OID

On Fri, 2006-02-10 at 15:12 +0530, Ajay Hotchandani wrote:
 But with net-snmp-5.2.1.2-fc4.1, when I give command
 snmpwalk -v 2c -c public localhost .1.3.6.1.6, I get
  error as Timeout: No Response from localhost.

What happens if you try

   snmpwalk -v 2c -t 60 -c public localhost .1.3.6.1.6

?  (to give the agent more time to respond)


Dave





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Timeout: No Response after output of last OID

2006-02-10 Thread Ajay Hotchandani








Hi,



Thanks for reply.



When I give command snmpgetnext -v1 -c public localhost ucdavis.version.versionTag, I get the following output: UCD-SNMP-MIB::versionTag.0 = STRING: 5.2.1.2My snmpd.conf file has following entries: syslocation Unknown syscontact root@ rwcommunity publicI tried with net-snmp-5.2.2 and it worked, while same is not working with OS (FC4 64-bit) provided net-snmp-5.2.1.2-fc4.1.The difference in these net-snmp versions which could be causing this issue to occur may be like this,With net-snmp-5.2.2, when I give command snmpwalk v 2c c public localhost .1.3.6.1.6, I get output.But with net-snmp-5.2.1.2-fc4.1, when I give command snmpwalk v 2c c public localhost .1.3.6.1.6, I get error as Timeout: No Response from localhost.I want to make my code run with OS provided net-snmp-5.2.1.2-fc4.1.x86_64.rpm.I see two ways of doing this, but I dont know how to do:1. Somehow make changes in my code that after output of last OID of my MIB, the output should be No more variables left in this MIB View (It is past the end of the MIB tree) instead of error message.2. Add SNMPv2-SMI.txt, SNMPv2-TC.txt etc MIBs, which contains objects for OID .1.3.6.1.6 to master agent.I prefer first one. Please let me know if there is another way available.Kindly let me know how can I execute above 2 potential solutions, or there is another solution for this.Regards,Ajay



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
Sent: Wednesday, February 08, 2006 7:18 PM
To: Ajay Hotchandani
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: Timeout: No Response after output of last OID



On Wed, 2006-02-08 at 18:45 +0530, Ajay Hotchandani wrote:

 Means on FC4 64-bit, last OID of my MIB is last OID of system. 



Please see the FAQ entry:



 I can see the system group, but nothing else. Why?



Dave





---

This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files

for problems? Stop! Download the new AJAX search engine that makes

searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!

http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642

___

Net-snmp-users mailing list

Net-snmp-users@lists.sourceforge.net

Please see the following page to unsubscribe or change other options:

https://lists.sourceforge.net/lists/listinfo/net-snmp-users










RE: Timeout: No Response after output of last OID

2006-02-08 Thread Ajay Hotchandani








Hi,



Thanks for the reply.



I have tried with net-snmp-5.2.1.2-fc4.1, as per your
suggestion it may be vendor package related issue. But the result was same.



But now I have what may be potential problem:

Whenever I do snmpwalk on FC1 64-bit, FC4 32-bit or RH9 32-bit with OID
.1.3.6.1.6, I get output. 

But, when I do snmpwalk on FC4 64-bit, on same OID, I get error message
as Timeout: No Response from localhost.



Means on FC4 64-bit, last OID of my MIB is last OID of system. 

So, when I do snmpwalk on last OID of my MIB, it tries to snmpgetnext
on next OID, which is not there and it gives error.



Kindly help me regarding this.



Regards,

Ajay



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas Anders
Sent: Monday, February 06, 2006 2:14 AM
To: net-snmp-users@lists.sourceforge.net
Subject: Re: Timeout: No Response after output of last OID



Ajay Hotchandani wrote:

 On FC4 64-bit (net-snmp-5.2.1-12), after output of last OID of my
MIB, I 

 am getting following error:

 Timeout: No Response from localhost

 

 In /var/log/snmpd.log, I am getting following error
message:

 send response: Error building ASN.1 representation (build int size
4: s/b 8)

 

 I am able to walk whole MIB, but after output of last OID, I get
above 

 error.

 The same code is working fine with:

 FC1 64-bit (net-snmp-5.1-2.1)

 FC4 32-bit (net-snmp-5.2.1-12) 

 RH9 32-bit (net-snmp-5.0.6-17)



If upgrading is an option, please retry with 5.2.2 or 5.3.0.1. If
you're 

stuck with the vendor package, you'll need to report this to them.





+Thomas



-- 

Thomas Anders (thomas.anders at blue-cable.de)





---

This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files

for problems? Stop! Download the new AJAX search engine that makes

searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!

http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642

___

Net-snmp-users mailing list

Net-snmp-users@lists.sourceforge.net

Please see the following page to unsubscribe or change other options:

https://lists.sourceforge.net/lists/listinfo/net-snmp-users










Timeout: No Response after output of last OID

2006-02-05 Thread Ajay Hotchandani








Hi,



On FC4 64-bit (net-snmp-5.2.1-12), after output of last OID
of my MIB, I am getting following error:

Timeout: No Response from localhost



In /var/log/snmpd.log, I am getting following
error message:

send response: Error building ASN.1
representation (build int size 4: s/b 8)



I am able to walk whole MIB, but after output of last OID, I
get above error.

The same code is working fine with:

FC1 64-bit (net-snmp-5.1-2.1)

FC4 32-bit (net-snmp-5.2.1-12)

RH9 32-bit (net-snmp-5.0.6-17)



My snmpd.conf is like following:

syslocation Unknown (edit
/etc/snmp/snmpd.conf)

syscontact root@

rwcommunity public



Kindly help me regarding this.

Thanks in advance.



Regards,

Ajay