On 4 March 2010 10:48, maxim maxim wrote:
> if i want to send v1 trap from notification.c(see in examples), does
> it mean that i don't have to use snmp_varlist_add_variable() with
> ASN_OBJECT_ID?, i just need to fill netsnmp_variable_list only with
> varbinds like integer or string
It depends o
Great,
if i want to send v1 trap from notification.c(see in examples), does
it mean that i don't have to use snmp_varlist_add_variable() with
ASN_OBJECT_ID?, i just need to fill netsnmp_variable_list only with
varbinds like integer or string, the trap name is not in list of
varbinds, isn't it?
Tha
On 4 March 2010 09:04, maxim maxim wrote:
> when i use netsnmp_send_traps(int trap, int specific, oid *
> enterprise, int enterprise_length,
> netsnmp_variable_list * vars,
> // These next two are currently unused/
> char * context, int flags);
>
>
> The vars is a same for v1 and v2, isn
when i use netsnmp_send_traps(int trap, int specific, oid *
enterprise, int enterprise_length,
netsnmp_variable_list * vars,
// These next two are currently unused/
char * context, int flags);
The vars is a same for v1 and v2, isn't it?
---
On 3 March 2010 21:30, maxim maxim wrote:
> Can you send me the link on this entry please?
All documentation can be found on the project website.
http://www.net-snmp.org/
Dave
--
Download Intel® Parallel Studio Eval
Hi Dave,
Can you send me the link on this entry please?
Thanks,
Maxim
2010/3/3 Dave Shield :
> On 3 March 2010 20:32, maxim maxim wrote:
>> I need to send trap v1 and v2 from my agent
>
> Please see the FAQ entry
> "How can I get the agent to generate a trap (or inform)?"
> and those that
On 3 March 2010 20:32, maxim maxim wrote:
> I need to send trap v1 and v2 from my agent
Please see the FAQ entry
"How can I get the agent to generate a trap (or inform)?"
and those that follow
> and send trap v2, now is my question: How i can convert the packet
> that i send in my cas
Hi to all,
I need to send trap v1 and v2 from my agent, i based on example
notification.c (http://www.net-snmp.org/dev/agent/notification_8c_source.html),
and send trap v2, now is my question: How i can convert the packet
that i send in my case is notification_vars to trap packet v1, and how
to sen
On 23 February 2010 10:53, maxim maxim wrote:
> 1. Can i send the trap only from snmp agent or subagent?
The agent (/subagent) can send traps - yes.
See the man page 'snmp_trap_api(3)'
There are examples of this in the file agent/snmpd.c
But this is not the *only* way you can send traps.
> 2.
Hi to all,
I new in a net-snmp. I try to send traps in SNMPv1 and SNMpv2, and i
have some questions?
1. Can i send the trap only from snmp agent or subagent? If yes i need
some examples.
2. If no i have the application for get message (the file is
attached), how i can to change it for sending the
10 matches
Mail list logo