I really think it is a very junior problem.the question much clear like below:
int
send_fcPorttrap_trap( void )
{
netsnmp_variable_list *var_list = NULL;
oid fcPorttrap_oid[] = { 1,3,6,1,4,1,30901,2090,2092,0,1 };
oid fcPort_oid[] = { 1,3,6,1,4,1,30901,2090,7000,2,1,2,1,1,1, /* insert
On 1 February 2010 03:33, Alexander King wrote:
> int
> send_fcPorttrap_trap( void )
> {
> netsnmp_variable_list *var_list = NULL;
> oid fcPorttrap_oid[] = { 1,3,6,1,4,1,30901,2090,2092,0,1 };
> oid fcPort_oid[] = { 1,3,6,1,4,1,30901,2090,7000,2,1,2,1,1,1, /* insert
> index here */ };
-- Original --
From: "Dave Shield";
Date: Mon, Feb 1, 2010 05:23 PM
To: "Alexander King";
Cc: "net-snmp-users";
Subject: Re: trap initializing ----what is the " /* insert index here */ "
meaning?
On 1 February
> BTW,the "snmpd daemon auto termination" problem unsolved by now yet.
> It make me headache for a long while.I am thinking the code file all days.
Then perhaps you should post the code again,
including the corrections you have made.
Certainly, changing
long int *intpp = 8;
to
long in
On 1 February 2010 09:45, Alexander King wrote:
> the "snmpd daemon auto termination" problem unsolved by now yet.
Please check your use of "snmp_varlist_add_variable()".
In particular, pay very careful attention to the fifth (value)
parameter, and how this is used with integer-based values.
Com
total permission to do it. Thank you very much!
Alex
-- Original --
From: "Dave Shield";
Date: Mon, Feb 1, 2010 07:18 PM
To: "Alexander King";
Cc: "net-snmp-users";
Subject: Re: trap initializing ----what is the " /* inser
On 1 February 2010 11:29, Alexander King wrote:
> I did not sent the that mail to the list,because the code file is sick.
> Dave,if you have time to fix it
I have told you exactly where the problem lies.
And pointed you at an example of correct usage
of the equivalent code.
That is as much as I'