Hi Lukas,
Currently the sender is something like this:
snmpsend := TSNMPSend.Create;
snmpSend.TargetHost := '192.168.1.11'; //IP of SNMP server
snmpSend.TargetPort := '8000'; //Port of SNMP server
snmpSend.Query.Version:= 3;
snmpsend.Query.Community := 'public';
snmpsend.Query.MIBAdd('1','TEST TRAP', ASN1_OCTSTR);
snmpsend.Query.PDUType := PDUTrap;
if snmpsend.SendTrap then
Writeln('TRAP SENT');
But I am not able to receive this on the server side - even MIBCount remains
'0' on the server...
Thanks you for reply!
On Tue, Jun 30, 2009 at 4:39 PM, Lukas Gebauer <[email protected]> wrote:
> > I now receive the trap, but only the HostIP information is available.
> > As for the rest, MIBGet values are empty and MIBCount returns '0'. How
> > do I retrieve the information that was set in MIBAdd that was called
> > in the client, in the server side application?
>
> And you are assigning some MIB information in TRAP sender simulator?
> :-)
>
>
> --
> Lukas Gebauer.
>
> E-mail: [email protected]
> http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> synalist-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/synalist-public
>
------------------------------------------------------------------------------
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public