Net-SNMP 5.4 make shared library and application files failure

2007-05-22 Thread bowmanchen
Our environment - Red Hat 9 - Net-SNMP 5.4 Build and install - tar xvf net-snmp-5.4.tar - ./configure --prefix=$HOME/snmpdev/net-snmp-5.4/tmp/usr --exec-prefix=$HOME/snmpdev/net-snmp-5.4/tmp/usr --enable-shared --disable-static --disable-embedde-perl - make - make install #Result, make failur

composite index creation in mib2c generated code

2007-05-22 Thread Awadhesh Kumar
Hi, I am using mib2c application to develop the agent application for table. This table has composite index (gsomcGscId and gsomcGtsChassisId). I am using following procedure to create the SNMP row void init_gsomcGrpCfgTable(void){ netsnmp_index index; oid index_oid[2];

Re: net-snmp-users@lists.sourceforge.net

2007-05-22 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 22/0

Re: Forwarding traps from SMUX subagents

2007-05-22 Thread Dave Shield
On 22/05/07, David Arthur <[EMAIL PROTECTED]> wrote: > Each of the other machines runs a master agent (also Net-SNMP) with one > registered SMUX subagent. When a trap is generated by the master or the SMUX > sub on one of these machines, I would like to have the trap sent to the > "central" agent,

Forwarding traps from SMUX subagents

2007-05-22 Thread David Arthur
Hello all, I am working with a network with many machines that generate traps to be received by a manager outside the network firewall. I could have each of the machines generate traps and send to the desired destinations, but the client has requested (for reasons of security and ease of managemen

Re: Hostname vs. IP sent in traps

2007-05-22 Thread Dave Shield
On 22/05/07, David Arthur <[EMAIL PROTECTED]> wrote: > I use the send_v2trap function to send traps from the embedded subagent. > 1) Is there a way to send a hostname (rather than IP address) using the > snmp_varlist_add_variable()/send_v2trap() scheme? You can append whatever varbinds you like to

Re: net-snmp-users@lists.sourceforge.net

2007-05-22 Thread Dave Shield
On 22/05/07, Eduardo Saavedra Cea <[EMAIL PROTECTED]> wrote: > The question is: How an application can send SNMP TRAP to Managers using > the SNMPD daemon? You need to code your application as an AgentX subagent, and have it connect to the Net-SNMP 'snmpd' master agent. Then 'send_v2trap()' will w

Rebuilding Net-SNMP 5.4 with IPv6

2007-05-22 Thread Kleffman, Justin (Mission Systems)
Hi, I have successfully built Net-SNMP 5.4 with OpenSSL support (in MS Visual Studio 2005, Win XP) and now need to rebuild with IPv6 support included. From the README it says I only have to #define INET6 to 1 and uncomment the 4 things in libsnmp.def relating to IPv6. After doing so, and attempt

net-snmp-users@lists.sourceforge.net

2007-05-22 Thread Eduardo Saavedra Cea
Hello. I want to send traps from an application to the manager through the snmpd demon. -- - APPL - -localhost- --- - - -

Re: snmptrap to localhost

2007-05-22 Thread Dave Shield
On 22/05/07, Daniel Coelho <[EMAIL PROTECTED]> wrote: > Don t really know what a "local box" is... The "local box" is the computer on which you are running the snmptrap command. > nor a "trap receiver"... A "trap receiver" is a program that listens for incoming traps, and does something sensible

Hostname vs. IP sent in traps

2007-05-22 Thread David Arthur
Hello all, I am using Net-SNMP 5.3.1 libraries from an embedded AgentX subagent on Suse Linux Enterprise Server 9. I use the send_v2trap function to send traps from the embedded subagent. 1) Is there a way to send a hostname (rather than IP address) using the snmp_varlist_add_variable()/send_v2tr

Re: snmptrap to localhost

2007-05-22 Thread Daniel Coelho
Don t really know what a "local box" is... nor a "trap receiver"... could you please be more clear? Daniel Coelho On 5/22/07, Dave Shield <[EMAIL PROTECTED]> wrote: On 22/05/07, Daniel Coelho <[EMAIL PROTECTED]> wrote: > When I do > snmptrap -v 1 -c public localhost '' 0 0 '' coldStart.

Re: snmptrap to localhost

2007-05-22 Thread Dave Shield
On 22/05/07, Daniel Coelho <[EMAIL PROTECTED]> wrote: > When I do > snmptrap -v 1 -c public localhost '' 0 0 '' coldStart.0 > or > snmptrap -v 1 -c public 127.0.0.1 '' 0 0 '' coldStart.0 > or > snmptrap -v 1 -c public 172.18.50.103 '' 0 0 '' coldStart.0 > I get nothing with tcpdum

Re: snmptrap to localhost

2007-05-22 Thread rakesh zingade
On 5/22/07, Daniel Coelho <[EMAIL PROTECTED]> wrote: When I do snmptrap -v 1 -c public localhost '' 0 0 '' coldStart.0 or snmptrap -v 1 -c public 127.0.0.1 '' 0 0 '' coldStart.0 or snmptrap -v 1 -c public 172.18.50.103 '' 0 0 '' coldStart.0 I get nothing with tcpdump. (172.18.5

snmptrap to localhost

2007-05-22 Thread Daniel Coelho
When I do snmptrap -v 1 -c public localhost '' 0 0 '' coldStart.0 or snmptrap -v 1 -c public 127.0.0.1 '' 0 0 '' coldStart.0 or snmptrap -v 1 -c public 172.18.50.103 '' 0 0 '' coldStart.0 I get nothing with tcpdump. (172.18.50.103 being my IP) Thanks in advance. Daniel Coelho

Re: snmptrap to localhost

2007-05-22 Thread rakesh zingade
On 5/22/07, Daniel Coelho <[EMAIL PROTECTED]> wrote: Hi, when I do snmptrap -v 1 -c public not_localhost_IP '' 0 0 '' coldStart.0 the trap is received by the other host (I checked with tcpdump), but when I do snmptrap -v 1 -c public local_IP_or_localhost '' 0 0 '' coldStart.0 I get

RE: net-snmp 5.3 or higher binaries for aix5.2?

2007-05-22 Thread dmccaleb
Here they are-  Unfortunately, the AIX 5.3 binary doesn't work.  For AIX 5.3 compile yourself. http://aixpdslib.seas.ucla.edu/packages/net-snmp.html Original Message Subject: net-snmp 5.3 or higher binaries for aix5.2?From: Elena Benitez <[EMAIL PROTECTED]>Date: Tue, May 22, 2007

snmptrap to localhost

2007-05-22 Thread Daniel Coelho
Hi, when I do snmptrap -v 1 -c public not_localhost_IP '' 0 0 '' coldStart.0 the trap is received by the other host (I checked with tcpdump), but when I do snmptrap -v 1 -c public local_IP_or_localhost '' 0 0 '' coldStart.0 I get nothing with the tcpdump port 162 and udp. Why can't

net-snmp 5.3 or higher binaries for aix5.2?

2007-05-22 Thread Elena Benitez
I can see many binaries at http://sourceforge.net/project/showfiles.php?group_id=12694 web page. Where can I find 5.3 binary for AIX5.2? Many thanks in advance, Elena - This SF.net email is sponsored by DB2 Express Downlo