Re: SNMPv3 TSM snmpget doubt

2014-11-19 Thread sandhya reddy
*snmp_client.c::snmp_sess_synch_response(*) code is erroneous. snmpget request must sent a query for discovering snmpEngineID which the following code is sending. After this it is supposed to send the actual SNMP get request for a MIB variable say sysContact.0 When it does context probing it invok

SNMPv3 TSM snmpget doubt

2014-11-18 Thread sandhya reddy
I have installed net-snmp 5.6.2.1 and sent out snmp get request using snmpget command. This is a SNMPv3 request over TLS that i'm sending. snmpget request sends out two get request 1) Read operation for snmpEngineID.0 2) Actual get request querying for a MIB variable say sysContact.0 >From the to

Re: Doubt with SEQUENCE

2013-01-10 Thread Dave Shield
On 10 January 2013 14:38, Felipe Augusto de Souza wrote: > However, I have been trying to set a structure which is intended to be a > command with two paramaters (actually, two integers), but I always need to > be sent together. > > I am trying to do like this: > > Command ::= SEQUENCE { > command

Re: Doubt regarding IF-MIB

2010-01-19 Thread Dave Shield
2010/1/19 sanjaykumar : > But In below function and other similar function, > data are not access from below Pointer but try to access the other element > of "fTable_data  data;" Please take a look at the file 'ifTable/ifTable_defs.h' Dave

Re: Doubt regarding IF-MIB

2010-01-19 Thread sanjaykumar
Thanks you... Dave sanjay Dave Shield wrote: > 2010/1/19 sanjaykumar : > >> But In below function and other similar function, >> data are not access from below Pointer but try to access the other element >> of "fTable_data data;" >> > > Please take a look at the file 'ifTable/ifTabl

Re: Doubt regarding IF-MIB

2010-01-19 Thread sanjaykumar
Extract the current value of the ifMtu data. * copy (* ifMtu_val_ptr ) from rowreq_ctx->data */     (*ifMtu_val_ptr) = rowreq_ctx->data.ifMtu;  /*my doubt is here and in other similar function in     "if-mib/i

Re: Doubt regarding IF-MIB

2010-01-19 Thread Dave Shield
2010/1/19 sanjaykumar : >           I have a doubt regarding IF-MIB. > As I found that We get the data for if Table > from structure "ifTable_data  data;" an member of structure > "ifTable_rowreq_ctx * rowreq_ctx" > but what I observe that most of the member of

Doubt regarding IF-MIB

2010-01-19 Thread sanjaykumar
Hi All, I have a doubt regarding IF-MIB. As I found that We get the data for if Table from structure "ifTable_data data;" an member of structure "ifTable_rowreq_ctx * rowreq_ctx" but what I observe that most of the member of structure "ifTable_data

RE: Multi-Agent doubt

2009-05-21 Thread Sergio Cabaço
users@lists.sourceforge.net Subject: Re: Multi-Agent doubt Sergio Cabaço wrote: > Hello you all, > > > I'm have encountered a problem to what a still don't have a clue how to solve > or if it is possible to do so. > > It is a simple situation but a com

Re: Multi-Agent doubt

2009-05-21 Thread Glenn McAllister
Sergio Cabaço wrote: > Hello you all, > > > I'm have encountered a problem to what a still don't have a clue how to solve > or if it is possible to do so. > > It is a simple situation but a complicated jigsaw till the moment. The > objective is to have different ip addresses or different ports

Multi-Agent doubt

2009-05-21 Thread Sergio Cabaço
Hello you all, I'm have encountered a problem to what a still don't have a clue how to solve or if it is possible to do so. It is a simple situation but a complicated jigsaw till the moment. The objective is to have different ip addresses or different ports that can receive snmp requests. The

Re: Doubt on ipCidrRouteInfo OBJECT IDENTIFIER

2008-06-18 Thread Dave Shield
2008/6/17 Bhaskararao vakamullu <[EMAIL PROTECTED]>: > How the above value looks like when a walk is done on ipCidrRouteTable > for example?. $ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 169.254.0.0 0.0.0.0 255.2

Doubt on ipCidrRouteInfo OBJECT IDENTIFIER

2008-06-17 Thread Bhaskararao vakamullu
Hi All, How the above value looks like when a walk is done on ipCidrRouteTable for example?. Please reply and thanks in advance. Thanks and Regards, Bhaskararao.V "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of

Re: Doubt on configuring ipNetToMediaTable from the IP MIB (RFC 4293)through netsnmp

2008-06-17 Thread Dave Shield
2008/6/16 Mike Ayers <[EMAIL PROTECTED]>: >You may be able to create entries in an ipNetToMediaTable, > but you cannot change them, as the MAX-ACCESS of the > two non-index objects is read-create. Sorry, Mike - that's not correct. "read-create" is the highest level of access, and covers "r

RE: Doubt on configuring ipNetToMediaTable from the IP MIB (RFC 4293)through netsnmp

2008-06-16 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bhaskararao vakamullu > Sent: Friday, June 13, 2008 7:48 AM > I am using net snmp for my router for managing.I am trying > to configure ipNetToMedia Table > entries using snmpset command. You may be able to create

Doubt on configuring ipNetToMediaTable from the IP MIB (RFC 4293) through netsnmp

2008-06-13 Thread Bhaskararao vakamullu
Hi net snmp group, I am using net snmp for my router for managing.I am trying to configure ipNetToMedia Table entries using snmpset command.I loaded RFC 4293 MIB. I am using netsnmp-5.4.1 and would like to know whether this configures ipNetToMedia Table entries as RFC itself says this tab

Doubt on configuring ipNetToMediaTable from the IP MIB (RFC 4293) through netsnmp

2008-06-13 Thread Bhaskararao vakamullu
Hi net snmp group, I am using net snmp for my router for managing.I am trying to configure ipNetToMedia Table entries using snmpset command.I loaded RFC 4293 MIB. I am using netsnmp-5.4.1 and would like to know whether this configures ipNetToMedia Table entries as RFC itself says this tab

Re: Doubt in Network topology

2008-01-29 Thread Brian Loe
Hub is impossible - unless its some fancy managed hub (never used one - if they exist) - must do physical survey. Most switches will have a forwarding database you can look at, just eliminate all IPs/MACs that are connected to uplink ports from the list and you'll have it. On Jan 29, 2008 12:10 P

Doubt in Network topology

2008-01-29 Thread mano
Hi , how can i do the topology of a network?? For example , how can i know whether a group of PC's are connected to a switch or hub or router?? Thanks in advance for your help, Mano - This SF.net email is sponsored by: Micr

RE: Doubt related to SNMPGET

2007-03-16 Thread Subrahmanya Hegde
@lists.sourceforge.net Subject: Re: Doubt related to SNMPGET On 16/03/07, [EMAIL PROTECTED] wrote: > 1) Is there any error condition such that SNMP agent will not send any > response PDU to manager? Yes. If you specify an unknown community (with SNMPv1 or SNMPv2c), then the agent simply drops the r

RE: Doubt related to SNMPGET

2007-03-16 Thread somenath.pal
, Somenath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Friday, March 16, 2007 3:24 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Doubt related to SNMPGET On 16/03/07, [EMAIL PROTECTED

Re: Doubt related to SNMPGET

2007-03-16 Thread Dave Shield
On 16/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 1) Is there any error condition such that SNMP agent will not send any > response PDU to manager? Yes. If you specify an unknown community (with SNMPv1 or SNMPv2c), then the agent simply drops the request altogether. It does not send ba

Doubt related to SNMPGET

2007-03-15 Thread somenath.pal
Hi all, I have the following doubt about SNMPGET. 1) Is there any error condition such that SNMP agent will not send any response PDU to manager? In case of error condition which is not known to SNMP agent (which is return by the subsystem responsible for implementing MIB attribute) what SNMP

Re: doubt about agent/extension internal data types

2007-03-01 Thread Joao Miguel Ferreira
On Thu, 2007-03-01 at 22:48 +, Dave Shield wrote: > On 01/03/07, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote: > > I'dd like to know where I can find documentation explaning the > > contents/types of each of the arguments passed to the function when it > > gets called... > > AGENT.txt Hi Da

Re: doubt about agent/extension internal data types

2007-03-01 Thread Dave Shield
On 01/03/07, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote: > I'dd like to know where I can find documentation explaning the > contents/types of each of the arguments passed to the function when it > gets called... AGENT.txt Dave -

doubt about agent/extension internal data types

2007-03-01 Thread Joao Miguel Ferreira
Hello all, bellow is an excerpt of code generated by mib2c for the implementation of some MIB (the upsMIB in this case...) I'dd like to know where I can find documentation explaning the contents/types of each of the arguments passed to the function when it gets called... specially this one: "oid

A doubt regarding SET

2006-11-29 Thread Joseph S
hi, hi, Iam using SNMP version 5.3.0.1.All the user and access control informations are configured with "rwuser". When a v 3 set request is sent for a read-only scalar object, I get the response messagse as ./snmpset -v 3 -l authNoPriv -u antonyraj -a MD5 -A joseph12

Re: Re :Re: Re :Re: {SPAM?} Re :Re: Doubt

2006-11-02 Thread Dave Shield
On 2 Nov 2006 05:49:50 -, joseph antony <[EMAIL PROTECTED]> wrote: > What ever SIGNAL it may be say SIGKILL or SIGTERM or HUP the > behaviour is same. I'm surprised. The expected behaviour of KILL, TERM and HUP is very different. HUP ought to signal the agent to re-read the config file, whi

Re :Re: Re :Re: {SPAM?} Re :Re: Doubt

2006-11-01 Thread joseph antony
Thomas,  What ever SIGNAL it may be say SIGKILL or SIGTERM or HUP thebehaviour is same.net-snmp-users@lists.sourceforge.net wrotejoseph antony wrote:> 4. Now stop the agent by giving a kill -9 agent_pid.Argh. You've been saying "SIGTERM" initially, but you're sending SIGKILLhere. Don't do.+

Re: Re :Re: {SPAM?} Re :Re: Doubt

2006-10-31 Thread Dave Shield
On 31 Oct 2006 12:16:23 -, joseph antony wrote: > 4.Now stop the agent by giving a kill -9 agent_pid. As Thomas said. If you send a daemon the emergency stop signal (-9), then: a) the agent may indeed end up in an unexpected state b) you deserve all you get! You should *NEVER* use

Re: Re :Re: {SPAM?} Re :Re: Doubt

2006-10-31 Thread Thomas Anders
joseph antony wrote: > 4. Now stop the agent by giving a kill -9 agent_pid. Argh. You've been saying "SIGTERM" initially, but you're sending SIGKILL here. Don't do. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) --

Re :Re: {SPAM?} Re :Re: Doubt

2006-10-31 Thread joseph antony
Dave, Steps to reproduce the problem.1.Configure a user by adding "createUser antony MD5 joseph123" in the /var/net-snmp/snmpd.conf file.2.add the line "rouser antony" in /usr/local/share/snmp/snmpd.conf3. start the agent and open the /var/net-snmp/snmpd.conf  file you can see a usmUser lin

Re: {SPAM?} Re :Re: Doubt

2006-10-31 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 31 Oc

Re: Doubt

2006-10-30 Thread Dave Shield
ted the snmp agent the usmUser line got > deleted from the /var/snmp/snmpd.conf file. I doubt that the "trapsess" line is relevant here. I'm more interested in how you restart the agent. In particular, are you shutting the agent down before restarting it, or just sending it a re

Doubt

2006-10-30 Thread joseph antony
Hi, I have configured a user name in /var/snmp/snmpd.conf file i.e added the following line"createUser antony MD5 joseph123" , added "rouser antony" in usr/local/share/snmpd.conf file and started the agent a usmUser line has got created in the /var/snmp/snmpd.conf file.Then I added this user wi

GETNEXT doubt

2006-09-26 Thread somenath.pal
Hi ALL,   I have a doubt regarding GETNEXT in snmpv3. Suppose we have three tables T1, T2, T3 they are in lexicographic order. Table T1 and T3 are in same view and T2 in different view.   Now for GETNEXT in the last row, last column of table T1 should the agent return error or first

Re: GETNEXT doubt

2006-09-26 Thread Dave Shield
On 26/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Suppose we have three tables T1, T2, T3 they are in lexicographic order. > Table T1 and T3 are in same view and T2 in different view. > > Now for GETNEXT in the last row, last column of table T1 should the agent > return error or first row

Re: doubt about engine Id and community name

2006-08-04 Thread Dave Shield
On 04/08/06, [EMAIL PROTECTED] wrote: > Is there any relation between engine Id and community? No. If nothing else, an SNMP agent will only have one engineID, but could easily respond to several communities (with potentially different views for each one). The two are not connected in the slig

doubt about engine Id and community name

2006-08-04 Thread raghavendra.sadaramachandra
Hi All,    Is there any relation between engine Id and community? If so will any one explain me how they are related.   Regards, Raghavendra. S     - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.n

Doubt regarding BITS

2006-07-13 Thread sasikumar.bodathula
Title: Doubt regarding BITS Hi All,     I am using BITS in my snmp agent implementation is there any sample code available for reference for both SET and GET operation.     I am having another doubt i.e. how the bits values to be given from manager side. I am using the following command for

Snmp set doubt

2006-06-12 Thread sasikumar.bodathula
Hi, I am implementing snmpset the index is a string index I used following command to generate the .c and .h files ./mib2c -c mib2c.iterate.conf Vlan-MIB::VlanTable The command is is ./snmpset -v 2c -c private localhost Vlan-MIB::Vlantype.\'lr\' i 1 But in the case MODE_SET_RESERVE1 I am prin

snmp set doubt

2006-05-18 Thread sasikumar.bodathula
Title: snmp set doubt Hi All,   I am refering the the following link for implementing snmp set http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/mib_module/index.html My doubt is in MODE_SET_COMMIT only we are writing the data to the memory if somthing goes wrong how net-snmp

doubt about local and remote engineID...?

2006-04-06 Thread raghavendra.sadaramachandra
Hi All,    I am using net-snmp-5.3.0.1. I have very basic doubt about engineID's. Which goes as below.   From net-snmp documents I found out few things about engineID.    (1) if u put some command say :    rwuser    ---> in /usr/local/share/snmp/snmpd.conf  createUser my

doubt about local and remote engineID...?

2006-04-06 Thread raghavendra.sadaramachandra
Hi All,      I am using net-snmp-5.3.0.1. I have very basic doubt about engineID's. Which goes as below.    From net-snmp documents I found out few things about engineID.      (1) if u put some command say :    rwuser    ---> in /usr/local/share/snmp/snmpd.conf   createUse

Re: Snmpv3 user key doubt

2006-02-06 Thread Wes Hardaker
>>>>> On Fri, 23 Dec 2005 12:39:54 +0530, <[EMAIL PROTECTED]> said: sasikumar> In one of the document I read this, the content of the sasikumar> document is (Oreilly Essential SNMP this raised the doubt). One of the things I hate when picking up books in book store

RE: --with-mib-module doubt

2006-01-27 Thread Dave Shield
On Fri, 2006-01-27 at 21:36 +0530, [EMAIL PROTECTED] wrote: >In the below mentioned case only one file we will be using how > my other modules will be compiled. Will configure_require take of > that What do you think? Don't ask me - *try* it! > and does this require myModules.c file also.

RE: --with-mib-module doubt

2006-01-27 Thread sasikumar.bodathula
Title: RE: --with-mib-module doubt Hi Dave,     Normally what is observed is by giving all the module names in the configure command the module names are added in the make file. In the below mentioned case only one file we will be using how my other modules will be compiled. Will

Re: --with-mib-module doubt

2006-01-27 Thread Dave Shield
On Fri, 2006-01-27 at 14:24 +0530, [EMAIL PROTECTED] wrote: > Hi All, > I am having one doubt, I am trying to register 35 mib handler > functions using --with-mib-modules option but only few are getting > registered i.e first 30 in the list are getting registered the last > few

--with-mib-module doubt

2006-01-27 Thread sasikumar.bodathula
Title: --with-mib-module doubt Hi All,     I am having one doubt, I am trying to register 35 mib handler functions using --with-mib-modules option but only few are getting registered i.e first 30 in the list are getting registered the last few are not getting registered. Is there any

RE: Snmpv3 user key doubt

2005-12-22 Thread sasikumar.bodathula
Hi, Thanks for your reply, In one of the document I read this, the content of the document is (Oreilly Essential SNMP this raised the doubt). "After making these changes, stop and restart the agent. When the agent is started, it reads the configuration file, computes secret keys for the

Re: Snmpv3 user key doubt

2005-12-22 Thread Wes Hardaker
> On Fri, 23 Dec 2005 11:04:32 +0530, <[EMAIL PROTECTED]> said: sasikumar> If I am creating a v3 user an unique key will be generated sasikumar> from engineID, for net-snmp engineID is IP address(Is this sasikumar> IP address is the managers IP address). By default, net-snmp uses it's own alg

Snmpv3 user key doubt

2005-12-22 Thread sasikumar.bodathula
Hi All, If I am creating a v3 user an unique key will be generated from engineID, for net-snmp engineID is IP address(Is this IP address is the managers IP address). Regards, Sasikumar.B --- This SF.net email is sponsored by: Splunk Inc.

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Sasikumar Bodathula
Thanks Dave... On Tue, 2005-06-14 at 19:07, Dave Shield wrote: > On Tue, 2005-06-14 at 13:59, Sasikumar Bodathula wrote: > > Hi Dave, > > I have attached the code which i little bit modified to learn abt > > set function scalar_int.c is the example file that i took from the > > net-snmp code

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 13:59, Sasikumar Bodathula wrote: > Hi Dave, > I have attached the code which i little bit modified to learn abt > set function scalar_int.c is the example file that i took from the > net-snmp code and modified. Thanks. I've configured that file into my agent, and it wo

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Sasikumar Bodathula
> I am having doubt do i need to set requests->delegated to zero. > > You shouldn't normally need to touch the 'delegated' flag. > This is a very specialised requirement, and isn't relevant > for a simple watched instance, as you've been describing. >

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 13:23, Sasikumar Bodathula wrote: > I am having doubt do i need to set requests->delegated to zero. You shouldn't normally need to touch the 'delegated' flag. This is a very specialised requirement, and isn't relevant for a simple watched instance,

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Sasikumar Bodathula
Hi All, I am having doubt do i need to set requests->delegated to zero. for me the function netsnmp_check_for_delegated() is returning 1. On Mon, 2005-06-13 at 16:13, Sasikumar Bodathula wrote: > Can any one tell me why netsnmp_assert(requests->agent_req_info == > asp->reqin

Re: Doubt in scalar_int.c (more clarification)

2005-06-13 Thread Sasikumar Bodathula
Can any one tell me why netsnmp_assert(requests->agent_req_info == asp->reqinfo); is failing am i doing anything wrong in my code. or this is due to access control. On Mon, 2005-06-13 at 10:32, Sasikumar Bodathula wrote: > Here are some more information. > The location it is failing is in the file

Re: Doubt in scalar_int.c (more clarification)

2005-06-12 Thread Sasikumar Bodathula
Here are some more information. The location it is failing is in the file snmp_agent.c in the function netsnmp_check_requests_status() it is entering thw while condition and failing in the netsnmp_assert function. this is the line it is showing failed in the snmpd.log file. On Sat, 2005-06-11 at 1

Re: Doubt in scalar_int.c (more clarification)

2005-06-11 Thread Sasikumar Bodathula
Here is more debug data. I added few print statements to see the flow in the master code. The flow which i was able to trace. 1. handle_set function is called. 2. handle_var_requests function is called. 3. default case is called 4. netsnmp_check_requests_status is called. In this function i am p

Re: Doubt in scalar_int.c (more clarification)

2005-06-11 Thread Sasikumar Bodathula
Access control for snmpv2c user is set following. rwcommunity writeuser 10.0.0.50 On Fri, 2005-06-10 at 20:25, Robert Story wrote: > On 10 Jun 2005 19:26:22 +0530 Sasikumar wrote: > SB> When i was testing the set i noticed that in the function > SB> netsnmp_check_requests_status() requests->s

Re: Doubt in scalar_int.c (more clarification)

2005-06-10 Thread Robert Story
On Fri, 10 Jun 2005 15:59:53 +0100 Dave wrote: DS> On Fri, 2005-06-10 at 15:55, Robert Story wrote: DS> > On 10 Jun 2005 19:26:22 +0530 Sasikumar wrote: DS> > SB> When i was testing the set i noticed that in the function DS> > SB> netsnmp_check_requests_status() requests->status is set as DS>

Re: Doubt in scalar_int.c (more clarification)

2005-06-10 Thread Dave Shield
On Fri, 2005-06-10 at 15:55, Robert Story wrote: > On 10 Jun 2005 19:26:22 +0530 Sasikumar wrote: > SB> When i was testing the set i noticed that in the function > SB> netsnmp_check_requests_status() requests->status is set as > SB> SNMP_ERR_NOTWRITABLE before calling MODE_SET_RESERVE1 can nay

Re: Doubt in scalar_int.c (more clarification)

2005-06-10 Thread Robert Story
On 10 Jun 2005 19:26:22 +0530 Sasikumar wrote: SB> When i was testing the set i noticed that in the function SB> netsnmp_check_requests_status() requests->status is set as SB> SNMP_ERR_NOTWRITABLE before calling MODE_SET_RESERVE1 can nay one tell SB> me why this is happening. Is it am i doing

Doubt in scalar_int.c (more clarification)

2005-06-10 Thread Sasikumar Bodathula
Hi All, When i was testing the set i noticed that in the function netsnmp_check_requests_status() requests->status is set as SNMP_ERR_NOTWRITABLE before calling MODE_SET_RESERVE1 can nay one tell me why this is happening. Is it am i doing anything wrong. On Fri, 2005-06-10 at 08:47, Sasikumar

Doubt in scalar_int.c

2005-06-09 Thread Sasikumar Bodathula
Hi All, I was testing the snmpset with the example file scalar_int.c that comes with the net-snmp. I extended it to test set but it is failing every time giving following error in the mib-browser. THIS IS THE RESPONSE FOR THE SET REQUEST Request Failed: Get Response PDU received from 127.0.0

Re: rmon doubt

2005-04-29 Thread Dave Shield
On Thu, 2005-04-28 at 06:33, priya wrote: > How to configure Rmon in net-snmp. Please see the FAQ entry: Does the agent support the RMON-MIB? Dave --- SF.Net email is sponsored by: Tell us your software development plans! Take t

rmon doubt

2005-04-28 Thread priya
Hai,       How to configure Rmon in net-snmp.Please tell the steps.I don't know how to retrieve rmon information using get/getnext command in Linux.      Thanks a lot for ur suggestion      

Re: Repost: Net-snmp doubt

2005-04-26 Thread Mauricio Reyes
Hello Robert, I have tested the patch and it seems to work in these conditions: 1. trapsses destination down 2. destination started after agent started 3. destination restarted while agent running And all traps were received as expected. No error message was seen. Thanks a lot for your help.

Re: Repost: Net-snmp doubt

2005-04-22 Thread Mauricio Reyes
Hello, I have tested what you sent me, but I'm getting this message: snmpd: send_trap: USM unknown security name (no such user exists) NET-SNMP version 5.2.1 snmpd: send_trap: USM unknown security name (no such user exists) snmpd: send_trap: USM unknown security name (no such user exists) It ap

Re: Repost: Net-snmp doubt

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 09:00:58 -0700 (PDT) Mauricio wrote: MR> I have tested what you sent me, but I'm getting this MR> message: MR> MR> snmpd: send_trap: USM unknown security name (no such MR> user exists) Sigh. Ok, I now know more about trap sessions and engineID discovery that I really wanted to

Re: Repost: Net-snmp doubt

2005-04-22 Thread Robert Story
On Fri, 22 Apr 2005 15:02:10 +0100 Dave wrote: DS> On Fri, 2005-04-22 at 14:54, Robert Story wrote: DS> > Ok, I found my mistake. Reverse the previous patch, DS> > and apply this one instead... DS> DS> DS> @@ -704,6 +704,7 @@ DS> session->version = SNMP_DEFAULT_VERSION; DS> session->sec

Re: Repost: Net-snmp doubt

2005-04-22 Thread Dave Shield
On Fri, 2005-04-22 at 14:54, Robert Story wrote: > Ok, I found my mistake. Reverse the previous patch, > and apply this one instead... @@ -704,6 +704,7 @@ session->version = SNMP_DEFAULT_VERSION; session->securityModel = SNMP_DEFAULT_SECMODEL; session->rcvMsgMaxSize = SNMP_MAX_MSG_

Re: Repost: Net-snmp doubt

2005-04-22 Thread Robert Story
On Mon, 18 Apr 2005 10:58:36 -0700 (PDT) Mauricio wrote: MR> I have deleted that line, but there's still errors. I MR> used gdb to debug and got this: Ok, I found my mistake. Reverse the previous patch, and apply this one instead... -- NOTE: messages sent directly to me, instead of the lists, wi

Re: Repost: Net-snmp doubt

2005-04-18 Thread Mauricio Reyes
Hello Robert, I have deleted that line, but there's still errors. I used gdb to debug and got this: Program received signal SIGSEGV, Segmentation fault. snmp_sess_synch_response (sessp=0x80d96a8, pdu=Variable "pdu" is not available. ) at snmp_client.c:870 870 cbsav = ss->callback; (gdb)

Re: Repost: Net-snmp doubt

2005-04-18 Thread Robert Story
On Sun, 17 Apr 2005 11:44:21 -0700 (PDT) Mauricio wrote: MR> I have tested the patch you sent me, but it seems to MR> fail. I get this line: MR> MR> C:\usr>snmpd MR> netsnmp_assert x failed C:\Documents and MR> Settings\Maure\Desktop\net-snmp-5.2.1\ne MR> t-snmp-5.2.1\snmplib\snmp_api.c:1271 MR>

Re: Repost: Net-snmp doubt

2005-04-17 Thread Mauricio Reyes
Hello Robert, I have tested the patch you sent me, but it seems to fail. I get this line: C:\usr>snmpd netsnmp_assert x failed C:\Documents and Settings\Maure\Desktop\net-snmp-5.2.1\ne t-snmp-5.2.1\snmplib\snmp_api.c:1271 The code that seems to generate the error is this: if (slp != NULL) {

Re: Repost: Net-snmp doubt

2005-04-15 Thread Robert Story
On Fri, 15 Apr 2005 10:09:58 -0400 Robert wrote: RS> The patch was for 5.0.9, and I changed it a bit, so this is untested. Give RS> it a whirl and let me know if: RS> RS> a) there is no error message at startup if the peer is down RS> b) after bringing up the peer, informs are received... forgot

Re: Repost: Net-snmp doubt

2005-04-15 Thread Robert Story
On Thu, 14 Apr 2005 18:35:08 -0700 (PDT) Mauricio wrote: MR> > Yeah, that's what he tried. I do remember seeing a MR> > patch go by that delayed MR> > engineID discovery until it was needed. I'll see if MR> > I can dig it up... MR> > MR> I'd appreciate that. The patch was for 5.0.9, and I changed

Re: Repost: Net-snmp doubt

2005-04-14 Thread Mauricio Reyes
Hello Robert, I'd appreciate that. Thanks a lot. --- Robert Story <[EMAIL PROTECTED]> wrote: > On Thu, 14 Apr 2005 09:45:24 +0100 Dave wrote: > DS> On Thu, 2005-04-14 at 01:30, Mauricio Reyes > wrote: > DS> > Yes, I can send traps with those parameters. > When the > DS> > trapsess destination m

Re: Repost: Net-snmp doubt

2005-04-14 Thread Robert Story
On Thu, 14 Apr 2005 09:45:24 +0100 Dave wrote: DS> On Thu, 2005-04-14 at 01:30, Mauricio Reyes wrote: DS> > Yes, I can send traps with those parameters. When the DS> > trapsess destination machine is up, I receive the DS> > traps as expected. DS> DS> The situation here sounds slightly different. D

Re: Repost: Net-snmp doubt

2005-04-14 Thread Dave Shield
On Thu, 2005-04-14 at 01:30, Mauricio Reyes wrote: > Yes, I can send traps with those parameters. When the > trapsess destination machine is up, I receive the > traps as expected. That's basically working as expected. Remember that traps are an *unreliable* mechanism. If the trap receiver is down

Repost: Net-snmp doubt

2005-04-13 Thread Mauricio Reyes
Hello Robert, Yes, I can send traps with those parameters. When the trapsess destination machine is up, I receive the traps as expected. Can you help me with this? I really need to solve this. Thanks a lot. --- Robert Story <[EMAIL PROTECTED]> wrote: > On Tue, 29 Mar 2005 17:33:16 -0800 (PST

Re: Net-snmp doubt

2005-04-04 Thread Andres C
lt;[EMAIL PROTECTED]> CC: net-snmp-users@lists.sourceforge.net Subject: Re: Net-snmp doubt Date: Fri, 1 Apr 2005 19:10:09 -0500 On Tue, 29 Mar 2005 17:33:16 -0800 (PST) Mauricio wrote: MR> 1. When you are using trapsess and the destination is MR> down, does it retries to connect? Because the trap

Re: Net-snmp doubt

2005-04-01 Thread Robert Story
On Tue, 29 Mar 2005 17:33:16 -0800 (PST) Mauricio wrote: MR> 1. When you are using trapsess and the destination is MR> down, does it retries to connect? Because the traps MR> are lost. MR> I get this error: MR> /usr/local/share/snmp/snmpd.conf: line 30: Error: MR> snmpd: failed to parse this line

Net-snmp doubt

2005-03-29 Thread Mauricio Reyes
Hello, I have two questions concerning Net-snmp: 1. When you are using trapsess and the destination is down, does it retries to connect? Because the traps are lost. I get this error: /usr/local/share/snmp/snmpd.conf: line 30: Error: snmpd: failed to parse this line or the remote trap receiver i

Re: Doubt on alarms

2005-03-09 Thread Robert Story
On Tue, 1 Mar 2005 12:03:21 -0800 (PST) Mauricio wrote: MR> I was looking at the way alarms work and I have a MR> question: what is the minimum time you can tell a MR> alarm to repeat itself? MR> is it 1 second? Yes. MR> is it posible to go to milliseconds? No, the api is just for seconds. You'd

REPOST: Doubt on alarms

2005-03-08 Thread Mauricio Reyes
Hello, I was looking at the way alarms work and I have a question: what is the minimum time you can tell a alarm to repeat itself? is it 1 second? is it possible to go to milliseconds? another question I have is this: when you are using trapsess and the destination is down, does it retries to con

Doubt on alarms

2005-03-02 Thread Mauricio Reyes
Hello, I was looking at the way alarms work and I have a question: what is the minimum time you can tell a alarm to repeat itself? is it 1 second? is it posible to go to milliseconds? Thanks, mauricio __ Do you Yahoo!? Yahoo! Mail - Easier than

Re: netsnmp doubt

2004-12-29 Thread Dave Shield
> i am trying to use authentication and enryption using snmp v3. > a snmpget works well > but when i use the code below i get: > Encryption support not enabled. > Why it says it doesn't support encryption, if it works above? > the agent was compiled with openssl I don't think the problem is

Re: Doubt

2004-12-11 Thread Wes Hardaker
> On Mon, 06 Dec 2004 18:15:15 +, "Mauricio Reyes" <[EMAIL PROTECTED]> > said: Mauricio> I was wondering where the snmpd.conf file is read from Mauricio> within the code. i need to know how it is read. In init_snmp() (inside read_configs()) See the read_config manual page. Mauricio

Re: snmpset() application doubt

2004-12-07 Thread John Hardin
ailto:[EMAIL PROTECTED] On Behalf Of Pedro Neves Sent: Tuesday, December 07, 2004 1:43 AM To: Sundeep Singh Cc: net-snmp Subject: Re: snmpset() application doubt On Tue, 2004-12-07 at 04:18, Sundeep Singh wrote: On Mon, 6 Dec 2004, Pedro Neves wrote: Dear all, I am trying to work with the sn

RE: snmpset() application doubt

2004-12-07 Thread Jeff Johnson
doubt On Tue, 2004-12-07 at 04:18, Sundeep Singh wrote: > On Mon, 6 Dec 2004, Pedro Neves wrote: > > > Dear all, > > > > I am trying to work with the snmpset() application but it retrieves an > > error related with the permissions. > > > > $snmpset -v 2c -

Re: snmpset() application doubt

2004-12-07 Thread Pedro Neves
On Tue, 2004-12-07 at 04:18, Sundeep Singh wrote: > On Mon, 6 Dec 2004, Pedro Neves wrote: > > > Dear all, > > > > I am trying to work with the snmpset() application but it retrieves an > > error related with the permissions. > > > > $snmpset -v 2c -c private > > Error in packet. > >

Re: snmpset() application doubt

2004-12-06 Thread Sundeep Singh
On Mon, 6 Dec 2004, Pedro Neves wrote: Dear all, I am trying to work with the snmpset() application but it retrieves an error related with the permissions. $snmpset -v 2c -c private Error in packet. Reason: notWritable (that object does not support modification) what object are u tryin

snmpset() application doubt

2004-12-06 Thread Pedro Neves
Dear all, I am trying to work with the snmpset() application but it retrieves an error related with the permissions. $snmpset -v 2c -c private Error in packet. Reason: notWritable (that object does not support modification) What should I do? Thanks in advance for any possible help.

Doubt

2004-12-06 Thread Mauricio Reyes
Hi all, I was wondering where the snmpd.conf file is read from within the code. i need to know how it is read. Also i'd like to know how the MIB's are read and from where in the code. Last, how does the snmptranslate command works? thanks mauricio _

Re: netsnmp doubt

2004-11-09 Thread Mauricio Reyes
lt;[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: netsnmp doubt Date: Tue, 9 Nov 2004 15:42:07 -0800 Mauricio: I recommend that you read the book Windows NT SNMP, and use its examples as a means of first education regarding the use of SNMP in a Windows environment. The author of the book

Re: netsnmp doubt

2004-11-09 Thread wrb
Mauricio: I recommend that you read the book Windows NT SNMP, and use its examples as a means of first education regarding the use of SNMP in a Windows environment. The author of the book has done a superb job of making SNMP simple to understand, if it is a bit abridged. The book is published by

netsnmp doubt

2004-11-09 Thread Mauricio Reyes
Hi All, I haven't had an answer so I don't know if the mail was received. Just in case below is what i wrote. thanks Mauricio. - Hi all, I'm new to net snmp. i work with microsoft windows. I am trying to use the snmpdemoapp.c in the tutorial. but can't

  1   2   >