RE: Stand-alone C application to send traps?

2006-11-29 Thread Martin, Sean (SMARTIN)
All, Thank you. I don't know why I didn't look at the snmptrap.c code itself before asking this question. Thanks for the helpful suggestions! Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, November 29, 2006 10:17 AM To

AW: Stand-alone C application to send traps?

2006-11-29 Thread Pedot, Wolfgang
Hi, >I need to prototype a stand-alone C application that uses the Net-SNMP >library functions to send a SNMPv1 trap (e.g. coldStart). I have had >very little success and I am looking for help. I am writing this >application on a RedHat Linux platform. I suggest looking at the code of the snmptra

Re: Stand-alone C application to send traps?

2006-11-29 Thread Dave Shield
On 29/11/06, Martin, Sean (SMARTIN) <[EMAIL PROTECTED]> wrote: > I need to prototype a stand-alone C application that uses the Net-SNMP > library functions to send a SNMPv1 trap (e.g. coldStart). See apps/snmptrap.c Dave ---

Stand-alone C application to send traps?

2006-11-29 Thread Martin, Sean (SMARTIN)
Hello, I am very new to using the Net-SNMP libraries. Further complicating the problem, I have not used C code for a long while (still coming back up to speed). I need to prototype a stand-alone C application that uses the Net-SNMP library functions to send a SNMPv1 trap (e.g. coldStart). I have

Re: ls.so.1 fatal libgcc.so.1 open failed No such file or directory

2006-11-29 Thread Thomas Anders
Bruce Shaw wrote: > OS: Solaris 8 > Compiler: gcc > Output of crle: > > crle -c /var/ld/ldconfig -l /usr/lib:/usr/ssl/lib > > I compiled 5.4 with my usual bells and whistles and installed. > > When I run with my usual startup script it fails: > > ls.so.1: fatal: libgcc.so.1: open failed: No suc

value of hrDeviceErrors counter!

2006-11-29 Thread ka_moria
Hi, In my master thesis project, I would like to monitor my printer through the MIB browser to get errors occurs. I use the Host Resources MIB for that and specifically hrDeviceErrors. Need to know the value of the counter hrDeviceErrors that I should consider to know if the printer has a crit

Fwd: Re: Problem in setting values for two Table variables in one PDU

2006-11-29 Thread Venkata Guddeti
Forgot to mention, for some snmpd gives the same value for both the var binds in case of integer variables. (setting two table vars in one PDU) Thanks Reddy Note: forwarded message attached.--- Begin Message --- Dear All Yes, Even if I switch the order of variables, the problem is with the

Re: Problem in setting values for two Table variables in one PDU

2006-11-29 Thread Venkata Guddeti
Dear All Yes, Even if I switch the order of variables, the problem is with the 2nd variable. After more investigation in to this problem, I understood that set is not working if I try to set values for any two variables of a table in one PDU. I am attaching the code here in a file tables_gbb

Agentx

2006-11-29 Thread Moy, Wanda-P56912
There is mention in your FAQ page concerning Agentx. I didn't see RFC 2741 or RFC 2742 in your supported list. Do you support either one or both of the RFCs 2741 / 2742? Sincerely, Wanda Moy General Dynamics - Take Surve

MAC representation

2006-11-29 Thread Jegan
Hi, The MAC address is defined as an unsigned integer in MIB. While I represent it using String, the agent response is shown as the hexademical value of the input string eg 0123AB is represented as 30 31 32 33 65 66 How do I solve this problem Thanks and Regards, S.Jegan