Fwd: snmp inform - remote engine ID

2020-11-30 Thread SURYA T S
Hi Team, I am trying snmp trap and inform with the V3 version. snmpv3 trap is working for me when I configured agent[switch] local engine id[0x8b8503e0071bc9413c], in snmptrapd.conf of my workstation/vm(host) [switch]agent-netsnmp 5.8 -- [vm]host-netsnmp 5.7.2 SNMP TRAP

RE: V3 inform user requires engineID in persistent snmpd.conf?

2019-10-29 Thread Atkins, Brian
Also, a user configured with a remote engineID in order to support V3 inform messages, as described below, would never be able to perform other SNMP operations (GET, GET-NEXT, SET) because the authoritative engineID would not match the target, correct? From: Atkins, Brian Sent: Monday, October

V3 inform user requires engineID in persistent snmpd.conf?

2019-10-28 Thread Atkins, Brian
ined using a createUser directive in the persistent config file. However, since the localized keys will be generated before the inform requests are sent, it's impossible to rely on the engineID probe behavior to learn the target engineID, correct? The engineID may be correct, but the loca

Re: NET-SNMP 5.7.2 - SNMPv3 inform does not work

2019-05-07 Thread Anders Wallin
sco devices but informs > does not work and SNMPve traps works (createUser -e > myuser SHA AuthPass DES PrivPass in snmptrapd.conf,). > > In snmptrapd.conf, I add the below and restarted as per > http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3; > createUser Uuse

NET-SNMP 5.7.2 - SNMPv3 inform does not work

2019-05-05 Thread Mathew
/TUT:snmptrap_SNMPv3; createUser Uuser SHA AuthPass DES PrivPass When I send a test inform with "snmpinform -v 3 -u Uuser -a SHA -A AuthPass -x DES -X PrivPass42 coldStart.0", I see it "/var/log/messages" file but When I send the inform from Cisco, it does not come to /var/log/mess

SNMPV3 Inform not working on 5.7.3

2019-01-14 Thread Jayashree Panda
Hi Team, I'm using netsnmp 5.5 and INFORMS works perfectly fine. When install 5.7.3, i see some issues with Informs. When there is a inform sent from my agent , Manager where 5.7 is installed sends a packet with wrong engineID (looks like some dynamically created engineId) . Bcz of which inform

snmptrapd configuration - sending inform traps

2016-10-06 Thread Diego Alfredo Flores
HI Guys, Im doing my experience with snmptrapd I need to receive and send traps. I receive traps v1,v2 and I want to send inform traps So , I m tryintg to find the good config of snmptrapd to do that This is my config more ./etc/snmp/snmptrapd.conf disableAuthorization yes authCommunity log

Query regarding INFORM in netsnmp

2016-01-21 Thread Akhil Jain
Hello, I have been searching for INFORM implementation in netsnmp, but couldn't find much about it. I tried to search answers for following qn's in archives but couldn't find any. Please see, if anybody can help here with following question -- In v2C, INFORM's are supported. I want to know

Unable to receive V3 coldstart trap if one of the Inform destination configured is unavailable

2015-10-02 Thread raja vankam
Hi, I am testing SNMP agent created with V3 support. I have configured two inform destinations but not started one of the destinations trap receiver or removed the network cable from the server PC. At that time if I start the agent on the Linux target then the agent is not doing anything. Agent

Issue with net-snmp 5.7.1, EngineID probing is completed but inform is not recevied by Manager

2013-03-18 Thread Ponnuru, Rajeswari (NSN - IN/Hyderabad)
Hi All, We are using net-snmp 5.7.1 but we did not use -e option so engineID probing is happening for every inform request. We have seen an issue in our customer site that inform request was not received by Manager. When we checked the snoop logs on Manager side. Observed that get-request

How to configure disman snmpv3 inform

2013-02-13 Thread Måns Zigher
Hi, I have scanned the mailing archive and read all the manpages regarding net-snmp without any success on finding any information regarding how to configure informs for snmpv3. I would like to create a inform for snmpv3 on the following events linkup, linkdown, coldstart and warmstart. From

Re: How to configure disman snmpv3 inform

2013-02-13 Thread Måns Zigher
Hi, Based on the manpage http://www.net-snmp.org/docs/man/snmpd.conf.html I added the following line to my snmpd.conf file trapsess -Ci -v 3 -u my_mon_user -a MD5 -A pass2 -x DES -X pass1 -l authPriv udp:localhost:162 which resulted in that I managed to get a coldStart inform from my snmpd

How to configure snmp-inform over DTLS

2013-01-11 Thread Gerhard Illner
I run version 5.6.1.1. Snmp-inform over v2c and v3-usm works fine. Get/set attribute retrieval from mgr to agent through v3/DTLS using private certificates works fine. I try to send snmp-inform over DTLS, snmp-agent sends no message. Enabling agent-side D-tokens dtls,tls,openssl,cert,trapsess

INFORM can't be received after restart of trap receiver

2012-12-14 Thread Shu, Zhong Hua SPA RD NKG
Hello I using send_v2trap() function to send out inform notification from agent to trap receiver of NMS. The notification configured in below standard MIB via SNMP set command: - SNMP-NOTIFICATION-MIB::snmpNotifyTable - SNMP-TARGET-MIB::snmpTargetAddrTable - SNMP-TARGET-MIB

Re: Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.(Stuck Please help...)

2012-07-20 Thread Dave Shield
On 27 June 2012 19:11, Suresh kumar skjaiswa...@hotmail.com wrote: Hi Dave I also attached trapdconfig(in zip file 7.z format) Sorry for the delay in responding - I was on holiday, then got caught up with real work. Can you please post a copy of this as a straight text file, not encoded.

Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.(Stuck Please help...)

2012-06-27 Thread Suresh kumar
Hi Wes Please clarify issues seen in 2 and 3. 2. Also sending report SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0 (See EngineIDErrorPkt.pcap). updated System time on Agent; still error received. 3. V3 Inform received by Trap Receiver; response sent to agent but agent is sending

Re Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-25 Thread Suresh kumar
Gentle Reminder Please responce my query regarding 23 . Thanks ~Suresh From: skjaiswa...@hotmail.com To: net-snmp-cod...@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net Subject: Re Received response for SNMPv3 inform; but Agent still sending inform for the number of retries

Re Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-22 Thread Suresh kumar
opps forgot to atttached file Hi Wes Thanks for quick reply Please clarify issues seen in 2 and 3. 2. Also sending report SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0 (See EngineIDErrorPkt.pcap). updated System time on Agent; still error received. 3. V3 Inform received

RE: Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-21 Thread Suresh kumar
From: skjaiswa...@hotmail.com To: net-snmp-cod...@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net Subject: RE: Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured. Date: Thu, 21 Jun 2012 15:27:46 +0530 Hi Wes Thanks

Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-20 Thread Suresh kumar
(See EngineIDErrorPkt.pcap) 2. Also sending report SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0 (See EngineIDErrorPkt.pcap). updated System time on Agent; still error received. 3. V3 Inform received by Trap Receiver; response sent to agent but agent is sending inform again (retry = 1; See

Re: Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-20 Thread Dave Shield
On 20 June 2012 15:56, Suresh kumar skjaiswa...@hotmail.com wrote: Following is the snmpd.conf configuration: trapsess -v 3 -Ci -r 1 -t 5 -e 0x80001f8880386a8adc0005946b -n -a SHA -A mypassword -l authNoPriv -u traptest 192.168.101.226 and the snmptrapd.conf configuration? Dave

Re: Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-20 Thread Wes Hardaker
Suresh kumar skjaiswa...@hotmail.com writes: 1. Engine ID discovered correctly during discovery; but Agent still incrementing usmStatsUnknownEngineIDs.0 (See EngineIDErrorPkt.pcap) 2. Also sending report SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0 (See EngineIDErrorPkt.pcap). updated

SNMP INFORM(V3) not acknowledged by snmpd

2012-06-01 Thread Suresh kumar
We are not able to receive acknowledgment from snmptrapd when we are sending snmpv3 inform from agent The snmpd.conf contains trapsess -v 3 –Ci –r 6 –t 5 -n -a SHA -A mypassword -x AES -X mypassword -l authPriv -u traptest -e 0x81020304 xx.xx.xx.xx(ip address) The same

SNMP INFORM(V3) not acknowledged by snmpd

2012-05-28 Thread Suresh kumar
We are not able to receive acknowledgment from snmptrapd when we are sending snmpv3 inform from agent The snmpd.conf contains trapsess -v 3 –Ci –r 6 –t 5 -n -a SHA -A mypassword -x AES -X mypassword -l authPriv -u traptest -e 0x81020304 xx.xx.xx.xx(ip address) The same

Inform Response Handling When agent is in in SNMPv3 Mode.

2011-11-07 Thread Venki
Venki wrote: Hi All, Inform response/Get or set Request will be handled as explained below in SNMPv3 Mode. Take the latest session(snmp_read() API) and and check if FD is set or not if FD is set then *receive the response*, process the packet,verify the Msg id and request id

Re: Inform Response Handling When agent is in in SNMPv3 Mode.

2011-11-07 Thread Dave Shield
On 4 November 2011 06:08, Venki venkatesh...@globaledgesoft.com wrote:     Inform response/Get or set Request will be handled as explained below in SNMPv3 Mode. Are you telling us about behaviour that you have actually seen, or asking how the agent works?     Problem is that if multiple

Re: Inform Response Handling When agent is in in SNMPv3 Mode.

2011-11-07 Thread Venki
in the snmp_read() API should be after FD checking and receiving a response from the manager (present in _sess_read() API), because second time in for loop fdset fails because no fd's were presently set. So first inform request will not be removed from session list and it will be retransmitted

Inform Response Handling When agent is in in SNMPv3 Mode.

2011-11-04 Thread Venki
Hi All, Inform response/Get or set Request will be handled as explained below in SNMPv3 Mode. Take the latest session(snmp_read() API) and and check if FD is set or not if FD is set then *receive the response*, process the packet,verify the Msg id and request id , if it Matches

Re: Question on Trap/inform filtering and statistics

2011-08-18 Thread Wes Hardaker
On Tue, 16 Aug 2011 23:01:12 +0530, anand anand hianandh...@gmail.com said: aa - We have sub-agents A,B and C sending traps/informs to Net-Snmp ( aa on AgentX ). Is it possible to configure Net-snmp in way that it aa discards all traps/informs from B. ? If user wants to enable aa receiving

Question on Trap/inform filtering and statistics

2011-08-16 Thread anand anand
Hello all, I had some questions related to traps/informs - We have sub-agents A,B and C sending traps/informs to Net-Snmp ( on AgentX ). Is it possible to configure Net-snmp in way that it discards all traps/informs from B. ? If user wants to enable receiving traps from B at a

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-25 Thread anand anand
Hello Dave, I was providing the snmpd.conf file location from command line using -c option, while the snmpd alerady had SNMPCONFPATH configured. ( Although both were pointing to the same path ). Once i removed the -c option from command line the problem of duplicate Traps went away. My bad :(.

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread Dave Shield
On 20 July 2011 20:23, anand anand hianandh...@gmail.com wrote: In my snmpd.conf i have the following entry:  trap2sink 10.10.10.112:162 public  trap2sink nsn.nms.com:162 public Is this the correct syntax. Yes I read the following in snmpd.conf man page ..   This

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread anand anand
Hello Now i am able to see the trap in snmptrapd . The subagent is sending the trap to snmpd only once, but some how the output of snmptrapd shows the sent trap received 2 times. In my snmpd.conf file i have only one entry for trap2sink 10.10.10.188:162 public ./snmptrapd -f -Le -d Received

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread Dave Shield
On 21 July 2011 11:46, anand anand hianandh...@gmail.com wrote: In my snmpd.conf file i have only one entry for trap2sink  10.10.10.188:162 public Obvious question first - what is the address of the other trap2sink entry that you mentioned ? (nsn.nms.com) Dave

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread anand anand
Hello Dave, Before making the test, the NSN NMS entry was removed from the snmpd.conf file. After this the snmpd and snmptrapd were restarted. Kindly let me know any keywords which i can look at in the snmpd log which can help root cause the issue or any other information which you may need

Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread anand anand
Hello all, We are using agentx protocol to communicate between net-snmp and our application. The GET/SET/GET NEXT functionality are working fine. My query/doubt is about traps. ( I am a very new to trap/inform forwarding ) Please let me know if my understanding is correct : - Application

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread Dave Shield
this trap/inform to a receiver, which can be snmptrapd or any other receiver. Is my above understanding correct ? Yes Do we also need to build the Trap MIB into net-snmp ? No Dave -- 10 Tips for Better Web Security

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread anand anand
that snmpd forwards this trap/inform to a receiver, which can be snmptrapd or any other receiver. Is my above understanding correct ? Yes Do we also need to build the Trap MIB into net-snmp ? No Dave

Re: SNMPv3 inform request overrides USM parameters of the configured user

2010-09-22 Thread Dattaram Porob
invoked while sending the INFORM message. In this function the user is fetched from the current user list; even if the user exists with the correct engine id (that of the receiver) and security name, the USM parameters (protocols and keys) of the user are being overwritten with some session USM

RE: Help: To assign the pdu message type as Inform or v2traps -

2010-05-31 Thread Borra, Kishore Babu
) in snmpNotifyTable.c Is there any way to make this variable as extern variable , so that we can modify/tweak it to send as Inform or v2 Trap, depending on the requirement. Thanks in advance, Kishore -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com

Help: To assign the pdu message type as Inform or v2traps -

2010-03-25 Thread Borra, Kishore Babu
Hi, I like to know, if there is any api, to assign the Notification PDU type(to V2 Trap or Inform) depending on the Notification oid. Right now I can see that send_v2trap(), send_easy_trap() api's just send the Notificaitons as V1, or V2Trap or V2 - Informs, to the sinks, depending on the sink

Re: Help: To assign the pdu message type as Inform or v2traps -

2010-03-25 Thread Dave Shield
On 25 March 2010 07:26, Borra, Kishore Babu kishorebabu.bo...@adc.com wrote: But is there is any way to send the v2 Notifications as INFORMs, depending on the Notification OID type, and not the sink configuration type. It's not something that I've tried myself, but it might be possible to use

should/must the order in a trap/inform varbind list be maintained

2010-02-10 Thread Fulko Hew
Recently while debugging someones implementation of my MIB, I saw that they were sending the varbind list in a different sequence than was described (implicitly) by my VARIABLES clauses. ... I had never thought of sending the variables in a different order! In retrospect, I suppose there is

Re: Can a v3 inform attach a v3 noAuthNoPriv user ?

2009-12-15 Thread Dave Shield
2009/12/15 Andy hewanxi...@gmail.com: So I have a question, should the inform be attached with a user at least authNoPriv level ? It depends on how you've configured access control on the trap receiver. If you're using authUser log,execute,net wanhe-v3-68 (or similar) then the default

Can a v3 inform attach a v3 noAuthNoPriv user ?

2009-12-14 Thread Andy
is authNoPriv level or higher, it will be fine. So I have a question, should the inform be attached with a user at least authNoPriv level ? Thanks in advance. -Andy -- Return on Information: Google Enterprise Search pays

Re: Handling the inform request

2009-09-24 Thread sanjaykumar
Wes Hardaker wrote: On Wed, 23 Sep 2009 12:54:10 +0530, sanjaykumar sanjay.ku...@globaledgesoft.com said: s what about the different API available in agent/agent_trap.c ? If you're writing code

Handling the inform request

2009-09-23 Thread sanjaykumar
Hi All, I have a expecting to handle the inform Request, as per the my requirement. Presently I am handling it using snmptrap.c under "app". But I am facing the problem of having two "select" system call, one in agent/snmpd.c and another snmplib/snmp_client.c . As per

Subagents lose connection to master if no reply from inform destination

2009-06-17 Thread John Forsyth
I am running into an issue where several subagents lose their AgentX connection to snmpd master, all giving the following error message: AgentX master agent failed to respond to ping. Attempting to re-register This occurs after they successfully connect to snmpd. I have two v3 inform

Re: Subagents lose connection to master if no reply from inform destination

2009-06-17 Thread John Forsyth
their AgentX connection to snmpd master, all giving the following error message: AgentX master agent failed to respond to ping. Attempting to re-register This occurs after they successfully connect to snmpd. I have two v3 inform destinations configured using the trapsess derective in snmpd.conf

Re: How to send Response PDU as an acknowledgement for received INFORM request

2008-10-03 Thread Wes Hardaker
On Tue, 23 Sep 2008 16:50:16 +0530, Gaikwad, Rupesh [EMAIL PROTECTED] said: RG Please let me know How to send Response PDU as an acknowledgement for RG received INFORM request? RG My application is able to receive an INFORM PDU but is not able to send RG RESPONSE PDU. RG Please guide me

How to send Response PDU as an acknowledgement for received INFORM request

2008-09-23 Thread Gaikwad, Rupesh
Hi Group, Please let me know How to send Response PDU as an acknowledgement for received INFORM request? My application is able to receive an INFORM PDU but is not able to send RESPONSE PDU. Please guide me how to create and send INFORM PDU. Thanks, Rupesh

Re: Inform PDU Spooler

2008-06-09 Thread Antonio Grassi
Ok. Thanks for the responses. Some time ago, we deployed a distributed Nagios installation, and the communication between the different instances had to be done via SNMP notifications. We implemented a small program, which consisted in a command line utility to insert a trap in a SQLite database,

Re: Inform PDU Spooler

2008-06-06 Thread Antonio Grassi
Ok. After the responses, I've read about DISMAN notification log MIBs. There you can log the notifications, which you can query later via SNMP. What is not clear to me, is the role of the network management system (is that what you referred to by NMS, ¿no?), I mean, with respect to the reliable

RE: Inform PDU Spooler

2008-06-06 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Grassi Sent: Friday, June 06, 2008 1:01 AM reliable dispatch of the notifications. Define this term. What you will need to do, and how complex it will be, depends entirely on the definition of reliable.

Inform PDU Spooler

2008-06-05 Thread Antonio Grassi
certain time, the spooler takes unsent traps from the list, and trys to deliver them via an inform PDU to the destination - If the trap is acknowledged, the trap is removed from the list Thanks in advance, Antonio - Check out

RE: Inform PDU Spooler

2008-06-05 Thread Ron Rader
From: Antonio Grassi [mailto:[EMAIL PROTECTED] - Every certain time, the spooler takes unsent traps from the list, and trys to deliver them via an inform PDU to the destination - If the trap is acknowledged, the trap is removed from the list Isn't that functionality already provided

RE: Inform PDU Spooler

2008-06-05 Thread Mike Ayers
will not be delivered. HTH, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Rader Sent: Thursday, June 05, 2008 6:31 AM To: net-snmp-users@lists.sourceforge.net Subject: RE: Inform PDU Spooler From: Antonio Grassi [mailto

Problem in sending snmp inform packet

2008-03-05 Thread Ajit J Clarence
Hi We are facing a problem when trying to send an SNMPv3 INFORM PDU to the snmptrapd Following is what I have tried 1. Run the snmpTrapd daemon with following options ./snmptrapd -Le -f -d -C -c /home/meghana/snmp/share/snmp/snmptrapd_inform.conf 2

Re: How to read acknowledge get by NMS / snmptrapd for INFORM request

2008-02-25 Thread Dave Shield
On 25/02/2008, Vishal N [EMAIL PROTECTED] wrote: Can you tell me exactly wich code is responsible to send and collect acknowledge from NMS. Is it in snmplib code? See the routine 'handle_inform_response' in the file 'agent/agent_trap.c' Dave

Re: How to read acknowledge get by NMS / snmptrapd for INFORM request

2008-02-24 Thread Vishal N
/ snmptrapd for Inform request. The Net-SNMP code isn't really geared up to do this. The acknowledgement is handled internally within the library. It's not passed back to the agent code. Dave - This SF.net email

Re: How to read acknowledge get by NMS / snmptrapd for INFORM request

2008-02-23 Thread Dave Shield
On 22/02/2008, Vishal N [EMAIL PROTECTED] wrote: I want to read the acknowledge sent by NMS / snmptrapd for Inform request. The Net-SNMP code isn't really geared up to do this. The acknowledgement is handled internally within the library. It's not passed back to the agent code. Dave

How to read acknowledge get by NMS / snmptrapd for INFORM request

2008-02-22 Thread Vishal N
Hi, I want to read the acknowledge sent by NMS / snmptrapd for Inform request. Can you tell me how to do this? or can you give me any link from which I can know this. Vishal N - This SF.net email is sponsored by: Microsoft

Re: How can I retrieve request id for inform requests

2008-02-12 Thread Dave Shield
On 12 Feb 2008 06:50:37 -, girish [EMAIL PROTECTED] wrote: I'm using agent-subagent approach in my application I'm using send_v2trap to send the inform request to master. Once I send a request to master I need to retrieve the request id to process the inform response. How

Re :Re: How can I retrieve request id for inform requests

2008-02-12 Thread girish
Thanks for your reply Dave.Even if I cant handle the response is there any way by which I can get the inform request Id, just to inform my subagent application that a notification has been sent with such a request id.???On Tue, 12 Feb 2008 09:01:54 + Dave Shield wrote On 12 Feb 2008 06:50

Re: Re :Re: How can I retrieve request id for inform requests

2008-02-12 Thread Dave Shield
On 12 Feb 2008 09:22:35 -, girish [EMAIL PROTECTED] wrote: is there any way by which I can get the inform request Id No Dave - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual

How can I retrieve request id for inform requests

2008-02-11 Thread girish
Hi All,nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; I'm using agent-subagent approach in my applicationnbsp;nbsp;nbsp; nbsp;nbsp; I'm using send_v2trap to send the inform request to master. Once I send a request to master I need to retrieve the request id to process the inform response. How can I do

Re: Multiple Inform requests for single use of send_v2trap

2008-02-05 Thread Dave Shield
On 5 Feb 2008 04:58:30 -, girish [EMAIL PROTECTED] wrote: ... whenever I trigger this function I can see that 2 inform requests being sent to demon.. Wat could be the reason? Two possibilities spring to mind. a) You might have two sink entries in your snmpd.conf file. (e.g

Re :Re: Multiple Inform requests for single use of send_v2trap

2008-02-05 Thread girish
trigger this function I can see that 2 inform requests gt; being sent to demon.. gt; Wat could be the reason? Two possibilities spring to mind.a) You might have two sink entries in your snmpd.conf file. (e.g. trapsink and trap2sink) both pointing to the same trap

RE: Multiple Inform requests for single use of send_v2trap

2008-02-05 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, February 05, 2008 1:20 AM b) Your snmpd.conf file might be being read in twice. This would have the same effect of duplicating the trap destinations. b and a half) You created

Multiple Inform requests for single use of send_v2trap

2008-02-04 Thread girish
Hi All,nbsp;nbsp;nbsp; nbsp;nbsp; In my subagent code for generating notifications I've used send_v2trap to send a inform request being sent to trap demon. But problem is whenever I trigger this function I can see that 2 inform requests being sent to demon. This is how it looks when I call

Re :Re :Re: Problem with Inform requests

2008-02-03 Thread girish
Hi,Once I put this line in snmptrapd.conf I could see the snmptrapd receiving the traps. disableAuthorization yes But this I could achive only if I have put a sleep(1) in my subagent code before I call send_v2trap(var_list). Is it because the var_list is not being updated properlyor something

Re :Re: Problem with Inform requests

2008-02-01 Thread girish
Hi Dave,Thanks for your quick reply.Yes this is an Agentx subagent trap.When ever some change has occurred in our database which we maintained using the subagent (scalars amp; tables) a trap will be triggered from our subagent, which will call function send_MyNotification_trap(void).On Fri, 1

Problem with Inform requests

2008-02-01 Thread girish
Hi All,nbsp;nbsp;nbsp; nbsp;nbsp; nbsp;nbsp; There is a problem I'm facing with informs. Whenever I try sending a trap message using the function call send_v2trap(var_list), the notify request is not reaching master agent. So I tried with sleep for about 5 seconds before I call this function

Re: Problem with Inform requests

2008-02-01 Thread Dave Shield
On 1 Feb 2008 13:18:11 -, girish [EMAIL PROTECTED] wrote: Whenever I try sending a trap message using the function call send_v2trap(var_list), the notify request is not reaching master agent. This is sending a trap from within an AgentX subagent - yes? How are you triggering this trap?

Net-snmp-5.4.1: problem while coding acknowledgement for Inform-Request.

2008-01-04 Thread Alain GUENRO
Hello list, I am coding a manager with net-snmp-5.4.1 I have a problem to acknowledge an Inform-Request. Here is the code in my session callback (taken from function snmp_input() in snmptrapd_handlers.c): - switch (pdu-command

Re: Inform Handling

2007-09-18 Thread Dave Shield
On 17/09/2007, Steve Kittleson [EMAIL PROTECTED] wrote: Does the agent handle the necessary retries and timeouts Yes. Who/what does the processing when there is no response to an inform? The snmp library handles this automatically. Specifically, how are the timeout and retrycount

Inform Handling

2007-09-17 Thread Steve Kittleson
in the TargetAddrTable from the Target-MIB handled. Who/what does the processing when there is no response to an inform? Thanks SteveK - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http

RE: Inform Handling

2007-09-17 Thread Mike Ayers
individual mib writer have to do that for each mib that sends informs? Specifically, how are the timeout and retrycount in the TargetAddrTable from the Target-MIB handled. Who/what does the processing when there is no response to an inform? The master agent must handle all the mechanics

Re: Question about INFORM Protocol

2007-09-04 Thread Dave Shield
On 30/08/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to know how inform manages notifications (i.e.: if snmpd doesn't receive an ack, it retries sending notifications until it receive an ack)? This is part of the low-level library code. The netsnmp_session structure includes fields

Question about INFORM Protocol

2007-08-30 Thread [EMAIL PROTECTED]
Hi all I have a question for you! Inform protocol differs from Trap Protocol for acknowledgment by managing station. That's to say that snmpd daemon when sends an inform, if is has been relayed without problems, it receive an aknowledgment by managing station. I want to know how inform manages

Re: SNMPv3 trap vs. SNMP v3 INFORM

2007-05-19 Thread Dave Shield
On 18/05/07, George Donato [EMAIL PROTECTED] wrote: When would you need to (want to?) send an SNMPv3 TRAP (rather than an SNMPv3 INFORM) When you're not bothered about having the notification acknowledged. It's exactly the same situation as SNMPv2c TRAP vs SNMPv2c INFORM. as described here

SNMPv3 trap vs. SNMP v3 INFORM

2007-05-18 Thread George Donato
On this net-snmp web page, it compares SNMPv3 trap vs. SNMPv3 INFORM: http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3 I see information in the RFCs about SNMPv2 traps and SNMPv3 INFORMS, but nothing about SNMPv3 traps. Where is SNMPv3 trap discussed in an rfc, etc.? Thanks

Re: SNMPv3 trap vs. SNMP v3 INFORM

2007-05-18 Thread Dave Shield
SNMPv3 uses SNMPv2 traps and inform requests - it doesn't introduce new PDUs for notifications. The behaviour of both of these is exactly the same as for the SNMPv2c equivalents. (Although the SNMPv3 administrative mechanisms may involve a certain amount of faffing about before the basic

Re: SNMPv3 trap vs. SNMP v3 INFORM

2007-05-18 Thread George Donato
SNMPv3 basically concentrates on defining an administrative framework. The fundamental protocol operations are exactly the same as SNMPv2. When would you need to (want to?) send an SNMPv3 TRAP (rather than an SNMPv3 INFORM), as described here: http://www.net-snmp.org/wiki/index.php

Inform over TCP - Connection requierment

2007-02-26 Thread Luxmiram Vijayandran
Hello, - If TCP is used for trap sending, does the connection need to be set again for every new message or only once until the connection crash (then connect again if crash) ?. In other words, does the TCP connection remain opened until any crash or only during a unique send. Thanks

Resending INFORM messages

2006-12-05 Thread John Wang
Hi, I'm not sure if resending INFORM messages for v2c and v3 is implemented in Net-SNMP (version 5.2.1.2 and above)? If it's implemented, what's the default retry numbers and default timeout value? I appreciate any helps. Thanks, John Wang

Resending INFORM messages

2006-12-04 Thread John Wang
Hi, I'm not sure if resending INFORM messages for v2c and v3 is implemented in Net-SNMP (version 5.2.1.2 and above)? If it's implemented, what's the default retry numbers and default timeout value? I appreciate any helps. Thanks, John Wang

How to set timeout and retry value for SNMP inform....?

2006-04-15 Thread raghavendra.sadaramachandra
Hi, I am using net-snmp-5.3.0.1. Any one knows how to set timeout and retry value for snmp inform. I don't know wether it is supported or not? Regards, Raghavendra. S

RE: How to set timeout and retry value for SNMP inform....?

2006-04-15 Thread Syed Mujtaba Ahmed Razvi
hello! You should use ( -n ) swich for retries and ( -t ) for timeout. S.Mujtaba Ahmed From: [EMAIL PROTECTED] To: net-snmp-users@lists.sourceforge.net Subject: How to set timeout and retry value for SNMP inform? Date: Sat, 15 Apr 2006 12:05:39 +0530 Hi, I am using net-snmp

Re: Inform Destination

2006-04-05 Thread Wes Hardaker
. Should I see cherrero this target address in the SNMP-TARGET-MIB ? if not, if I cherrero add (via snmpset) the same address in this MIB, does the cherrero inform sent twice ? If I add a target in the cherrero SNMP-TARGET-MIB, is it persistent ? ie is this information cherrero will be still

Re: Inform Destination

2006-04-03 Thread Wes Hardaker
On Fri, 31 Mar 2006 17:20:02 -0600, [EMAIL PROTECTED] said: cherrero Does a MIB exist, including parameters to set addresses cherrero where to send informs ? Actually, I'm looking for a way to cherrero configure inform destination address remotly. Yes, the combination of the NOTIFICATION-MIB

Inform Destination

2006-03-31 Thread cherrero
to send informs ? Actually, I'm looking for a way to configure inform destination address remotly. Thanks for any answer, best regards Celine

Notification for inform timeout

2006-03-03 Thread Eugen
Hi, I use send_v2trap to send traps (net-snmp-5.2.1.2) and I would like to know if its possible to register a callback routine to be notified if the INFORM generated a timeout (for instance because the trap receiver didnt send the ack) or any other mechanism to avoid sending traps

RE: inform

2006-02-21 Thread Eugen
] On Behalf Of Wes Hardaker Sent: Tuesday, February 21, 2006 12:06 AM To: Eugen Cc: Net-snmp-users@lists.sourceforge.net Subject: Re: inform On Mon, 20 Feb 2006 17:24:09 -0500, Eugen [EMAIL PROTECTED] said: eugen Is it send_v2trap blocking when sending informs ? No. It does not block. eugen

inform

2006-02-20 Thread Eugen
Hi, Is it send_v2trap blocking when sending informs ? In other words if I call twice send_v2trap can I be sure that the 2nd call will be performed only when the ack of the 1st trap was received? Thanks, Eugen

Re: inform

2006-02-20 Thread Wes Hardaker
On Mon, 20 Feb 2006 17:24:09 -0500, Eugen [EMAIL PROTECTED] said: eugen Is it send_v2trap blocking when sending informs ? No. It does not block. eugen In other words if I call twice send_v2trap can I be sure that eugen the 2nd call will be performed only when the ack of the 1st eugen trap was

verbose information when an inform times out

2005-11-17 Thread Loic Domaigne
Hello Everybody, I have one question: when an inform times out, snmpd reports the following error: snmpd: send_trap: Timeout Would it be possible to print also the PDU contents that couldn't be sent (perhaps there is a correspondig -D flags) ?. This would facilitate diagnosis. TIA, Loïc

Setting timeout/nretries for inform?

2005-10-12 Thread Loic Domaigne
Hello, I have two questions concerning the sending of inform. 1) Is it possible to configure the timeout/nretries parameters that should be used by snmpd when sending inform? With the latest stable release (5.2.1.2), it seems that I have timeout=1s and nretries=0. I'd like to tune those

Re: Setting timeout/nretries for inform?

2005-10-12 Thread Dave Shield
On Wed, 2005-10-12 at 15:11 +0200, Loic Domaigne wrote: 1) Is it possible to configure the timeout/nretries parameters that should be used by snmpd when sending inform? Yes. Use 'trapsess' instead of 'informsink' for configuring the notification destination. 2) When resending an inform

Re: Setting timeout/nretries for inform?

2005-10-12 Thread Loic Domaigne
1) Is it possible to configure the timeout/nretries parameters that should be used by snmpd when sending inform? Yes. Use 'trapsess' instead of 'informsink' for configuring the notification destination. Perfect. Exactly what I was looking for. 2) When resending an inform

  1   2   >