Re: send_easy_trap

2004-12-29 Thread Dave Shield
> 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

Re: send_easy_trap

2004-12-22 Thread Wes Hardaker
>>>>> 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

send_easy_trap

2004-12-21 Thread Mike Mohamet
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

Re: Thanks : Re: send_easy_trap

2004-06-24 Thread Stefan Wagner
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

Re: Thanks : Re: send_easy_trap

2004-06-23 Thread Dave Shield
> 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

Thanks : Re: send_easy_trap

2004-06-23 Thread Stefan Wagner
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:

Re: send_easy_trap

2004-06-23 Thread Dave Shield
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

Re: send_easy_trap

2004-06-23 Thread Stefan Wagner
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