> I am using the UCD-SNMP-4.2.6 and I am trying to use the send_easy_trap
> function in a project that I am developing. Although, I included the header
> file with the function prototype, I cannot build my application due to a
> linker error concerning the function definition
>>>>> On Tue, 21 Dec 2004 11:16:45 +0200, Mike Mohamet <[EMAIL PROTECTED]> said:
Mike> I am using the UCD-SNMP-4.2.6 and I am trying to use the
Mike> send_easy_trap function in a project that I am
Mike> developing. Although, I included the header file with the
Mike
Hi all,
I am using the UCD-SNMP-4.2.6 and I am trying to use the send_easy_trap
function in a project that I am developing. Although, I included the header
file with the function prototype, I cannot build my application due to a
linker error concerning the function definition. (undefined
That was the hint i needed, thanks a lot !
You have also answered a question that I would have otherwise put. So,
double thanks!
Perfect !
best regards
Stefan
Per
Dave Shield wrote:
Is this the struct you mean:
struct variable_list {}
Yes - that's the one.
last question about the
var
> Is this the struct you mean:
>
> struct variable_list {}
Yes - that's the one.
> last question about the
> varbind list , can you give an example
> how such a varbind list looks like ?
Try running
mib2c -c mib2c.notify.conf SIP-SER-MIB::sipserMaxUsersTrap
That should generate
ations
like MIB, Trapname , OID etc.
OK - in that situation, Robert's response would be quite correct.
The call "send_easy_trap" will trigger a notification, but
doesn't allow ypu to specify a varbind list to accompany it.
To do that you need to use one of:
MIB, Trapname , OID etc.
OK - in that situation, Robert's response would be quite correct.
The call "send_easy_trap" will trigger a notification, but
doesn't allow ypu to specify a varbind list to accompany it.
To do that you need to use one of:
send_v2trap
an trap in the syslog like:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (50221511) 5 days,
19:30:15.11 SNMPv2-MIB::snmpTrapOID.0 = OID:
SIP-SER-MIB::sipserMaxUsersTrap SIP-SERVER-MIB::sipRegMaxUsers.1 =
Gauge32:
how can i handle that with send_easy_trap or sendv2_trap ?
Thanks in adva