--Original Message-
From: Magnus Fromreide [mailto:ma...@lysator.liu.se]
Sent: terça-feira, 24 de Março de 2009 20:46
To: Sergio Cabaço
Cc: net-snmp-cod...@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net
Subject: RE: Multi-destiny Traps
On Tue, 2009-03-24 at 16:58 +, Sergio Ca
On Tue, 2009-03-24 at 16:58 +, Sergio Cabaço wrote:
>
> > What O/S is this "unix-based system"?
>
> It is a sub-module (uses the kernel with some modifications) of LynxOS
> (not all POSIX specifications) and it hasn't getopt available in the
> system.
>
> > What does "man getopt" report?
>
al Message-
From: Sergio Cabaço [mailto:sergio.cab...@edisoft.pt]
Sent: terça-feira, 24 de Março de 2009 16:58
To: Dave Shield
Cc: net-snmp-cod...@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net
Subject: RE: Multi-destiny Traps
> No - it will use the "getopt()" library call
nal Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: terça-feira, 24 de Março de 2009 16:32
To: Sergio Cabaço
Cc: net-snmp-cod...@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net
Subject: Re: Multi-destiny Traps
2009/3/24 Se
2009/3/24 Sergio Cabaço :
> I realised that in linux the net-snmp uses /usr/bin/getopt function in
> snmp_parse_args.c
No - it will use the "getopt()" library call - not the command-line binary.
>and in the unix based system that function doesn't exists on the system.
What O/S is this "un
users@lists.sourceforge.net; net-snmp-cod...@lists.sourceforge.net
Subject: Re: Multi-destiny Traps
2009/3/9 Sergio Cabaço :
> I've made a change in file snmp_parse_args.c to correct a problem that I had.
> The problem was notice when I tried to send multi-destiny traps using their
> definitions in snmpd
2009/3/9 Sergio Cabaço :
> I've made a change in file snmp_parse_args.c to correct a problem that I had.
> The problem was notice when I tried to send multi-destiny traps using their
> definitions in snmpd.conf.
> Every time I've tried, an error was launched by the agent pointing to the
> file me