Snmpset delay

2005-08-23 Thread Reitberger, Susan
Title: Snmpset delay






I'm using net-snmp 5.1.1 on Linux, and I have found that when I do a lot of snmpget queries on sub-agent elements, and I try to do a snmpset - there is a rather long delay between when I issue the snmpset command and the agent sends out the set pdu's. Has anyone seen anything similar before, and/or is there a known fix? 

Susan





Timeout question

2005-08-09 Thread Reitberger, Susan
Title: Timeout question






I had a question about timeouts and requests.

If I do a snmpget with a timeout of t on multiple elements, i.e. snmpget localhost -t5 sysUpTime.0 sysContact.0 sysDescr.0, does the timeout apply to the complete request or each element in the request? In other words, in the example get(snmpget localhost -t5 sysUpTime.0 sysContact.0 sysDescr.0) does the system have 5 seconds to return all 3 objects, or 15 seconds to return all 3 objects(5 seconds per element)?

Susan Reitberger





RE: no response

2004-08-12 Thread Reitberger, Susan
Sometimes, the localhost is not configured. You can run ifconfig on unix to see
if local loopback is there. If it's not use ifconfig lo 127.0.0.1

That's what fixed it for me.

Susan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marlena Miller
Sent: Thursday, August 12, 2004 2:59 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: no response


I am doing everything on the local machine.


From: John Blake [EMAIL PROTECTED]
To: 'Marlena Miller' [EMAIL PROTECTED]
Subject: RE: no response
Date: Thu, 12 Aug 2004 14:57:11 -0400


  Can you ping the box you are trying to do snmp to?



-Original Message-
From: Marlena Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 2:54 PM
To: John Blake
Cc: [EMAIL PROTECTED]
Subject: RE: no response


That results in the same error.


 From: John Blake [EMAIL PROTECTED]
 To: 'Marlena Miller' [EMAIL PROTECTED]
 Subject: RE: no response
 Date: Thu, 12 Aug 2004 14:50:36 -0400
 
 
   try  snmpwalk -c public localhost system
 
 
 -Original Message-
 From: Marlena Miller [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 12, 2004 2:37 PM
 To: [EMAIL PROTECTED]
 Subject: no response
 
 
 I have built and installed snmp, and have started snmpd. When I 
 attempt anything like:
 
 % snmpwalk localhost public system
 
 I get the following error:
 
 Timeout: no response from localhost.
 
 My config file is very basic (I haven't even changed the community 
 name
to
 something other then public yet). Can someone please tell me where I
should
 look to debug this problem?
 
 Marlena
 
 _
 Don't just search. Find. Check out the new MSN Search! 
 http://search.msn.click-url.com/go/onm00200636ave/direct/01/
 
 
 
 ---
 SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank 
 Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only 
 $33 Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift. 
 http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
 ___
 Net-snmp-users mailing list [EMAIL PROTECTED]
 Please see the following page to unsubscribe or change other options:
 https://lists.sourceforge.net/lists/listinfo/net-snmp-users

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

_
Is your PC infected? Get a FREE online computer virus scan from McAfee(r) 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk
Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail
on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Net-snmp-users mailing list [EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Segmentation Fault in Subagent

2004-07-29 Thread Reitberger, Susan
Title: Segmentation Fault in Subagent





I am running the main agent and a subagent which communicate via the agentx protocol. When I try to set a read-only variable that the subagent is responsible for, the nonWritable error comes back to the command line but the subagent has a segmentation fault. The main agent keeps running smoothly. Has anyone else encountered this error, or have suggestions on how to fix it?

Susan





Snmp Agent as a thread

2004-07-21 Thread Reitberger, Susan
Title: Snmp Agent as a thread





I am trying to start the snmp agent as a thread under another application. Has anyone done this before? What function do I tell the thread to run? 

Also, I have been using dlmod to add my own mib module into the agent, will this still work when I start the agent as a thread?

Susan Reitberger