Re: Informs vs traps

2008-05-17 Thread Dave Shield
2008/5/13 Vincent Royo <[EMAIL PROTECTED]>: > - in snmpd.conf : > trap2sink machine:162 Trapcom > informsink machine 162 > trapcommunity Trapcom > The behaviour is : > the snmptrapd receives the first trap on port X, it executes the script > "trapscript". It receives 6 frames of inform on port

Re: Informs vs traps

2008-05-15 Thread Wes Hardaker
> On Tue, 13 May 2008 16:39:30 +0200, Vincent Royo <[EMAIL PROTECTED]> said: VR> traphandle default /home/myhome/bin/trapscript ... VR> The behaviour is : VR> the snmptrapd receives the first trap on port X, it executes the script VR> "trapscript". It receives 6 frames of inform on port X+1 bu

Informs vs traps

2008-05-13 Thread Vincent Royo
Hi, I try to use informs and traps: - in snmpd.conf : trap2sink machine:162 Trapcom informsink machine 162 trapcommunity Trapcom - in snmptrapd.conf : traphandle default /home/myhome/bin/trapscript snmpTrapAddr udp:machine:162 authCommunity log,execute Trapcom The behaviour is : the snmptrapd

Re: INFORMS vs TRAPS

2005-04-11 Thread Dave Shield
On Fri, 2005-04-08 at 20:03, Gemma Sánchez wrote: > I use to open a trap session (to send traps) by the next code... > now I need to send informs Would this code serve for sending > informs through this session? Yes. At least, as long as SNMP_DEFAULT_VERSION is SNMPv2 or SNMPv3, (or you expli

Re: INFORMS vs TRAPS

2005-04-11 Thread Robert Story
On Fri, 8 Apr 2005 21:03:49 +0200 Gemma wrote: GS> I use to open a trap session (to send traps) by the next code (please, GS> ignore my comments in Spanish), now I need to send informs (instead of GS> TRAPs) and I wonder how I should proceed. Would this code serve for sending GS> informs through

INFORMS vs TRAPS

2005-04-08 Thread Gemma Sánchez
Hi all I use to open a trap session (to send traps) by the next code (please, ignore my comments in Spanish), now I need to send informs (instead of TRAPs) and I wonder how I should proceed. Would this code serve for sending informs through this session? Should I change something? Could I u