Re: make is failing

2008-07-28 Thread mn kh
[EMAIL PROTECTED] net-snmp-5.4.1.2]# net-snmp-config --agent-libs -L/usr/local/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -lz -rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/DynaLoader/DynaLoa

Re: Trap idea

2008-07-28 Thread Rabindra Paikaray
Hi , you can add these below lines to your configuration file to send trap for your trap listeners. trapcommunity public trapsink 192.168.101.100( traplistener ip for v1 trap) trap2sink 192.168.101.100( traplistener ip for v2 trap) authtrapenable 1(trap for authetication failure) Thanks Rabindra

configuration for Coldfire (m68k) running 2.6.10 kernel

2008-07-28 Thread James Kimble
I've been trying to configure Net SNMP to compile for a Coldfire processor running a linux kernel 2.6.10. I'm able to get it to compile and install without issue but the executables just give me a "bus error" message. I'm using the following configuration settings: ./configure CC=/opt/mtwk/usr/

RE: control the order in which mibs are loaded?

2008-07-28 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Furnish, Trever G > It's not just this particular trap that I can't get translated -- > doesn't look like anything from mib-2.33 down gets translated. That's > where the rfc1628 mib is rooted (sorry if I'm misusing the term :

Re: control the order in which mibs are loaded?

2008-07-28 Thread Thomas Anders
Furnish, Trever G wrote: > snmptranslate -IR -Td -OS SNMPv2-SMI::mib-2.33.1.6.2.1.2.48 > > ...I only get this: > SNMPv2-SMI::mib-2.33.1.6.2.1.2.48 I haven't followed this thread too closely, admittedly, but it sounds as if you're after "-mall". See http://www.net-snmp.org/wiki/index.php/FAQ:Appli

RE: control the order in which mibs are loaded?

2008-07-28 Thread Furnish, Trever G
> -Original Message- > From: [EMAIL PROTECTED] [mailto:net-snmp- > [EMAIL PROTECTED] On Behalf Of Mike Ayers > Sent: Monday, July 28, 2008 5:04 PM > To: Furnish, Trever G; net-snmp-users@lists.sourceforge.net > Subject: RE: control the order in which mibs are loaded? > > > > From: [EMAIL

RE: control the order in which mibs are loaded?

2008-07-28 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Furnish, Trever G > Sent: Monday, July 28, 2008 11:24 AM > Is there any way to control the order in which MIBs are loaded? None documented. > Is > there a way to see the order? None t5hat I know of, but if

RE: Regarding new mib to be added in netsnmp-5.4.1

2008-07-28 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Vaibhav Limaye > Sent: Sunday, July 27, 2008 11:49 PM > To: net-snmp-users@lists.sourceforge.net > We have installed net-snmp-5.4.1. We need to add mib > CISCO-STACK-MIB to that. > We followed the steps given in the site >

FW: control the order in which mibs are loaded?

2008-07-28 Thread Furnish, Trever G
Hello, Is there any way to control the order in which MIBs are loaded? Is there a way to see the order? Thoughts? -- Trever -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Furnish, Trever G Sent: Friday, July 18, 2008 7:04 PM To: net-snmp-users@lists.

Re: make is failing

2008-07-28 Thread Thomas Anders
mn kh wrote: > gcc -o jagentx_subagent jagentx_subagent.o jagentx.o jagentx_util.o > ../obj/jcounters.o ../obj/error.o ../obj/util.o ../obj/search.o > ../obj/semutil.o `net-snmp-config --agent-libs` -lssl -lrpm -lwrap > -lutil -lcrypt > jagentx_subagent.o(.text+0xaf): In function `main': > /home/

Re: make is failing

2008-07-28 Thread mn kh
10x u Thomas for your quick reply, i only have now the following gcc -o jagentx_subagent jagentx_subagent.o jagentx.o jagentx_util.o ../obj/jcounters.o ../obj/error.o ../obj/util.o ../obj/search.o ../obj/semutil.o `net-snmp-config --agent-libs` -lssl -lrpm -lwrap -lutil -lcrypt jagentx_subagent.o

Re: make is failing

2008-07-28 Thread Thomas Anders
mn kh wrote: > /usr/local/lib/libnetsnmpagent.so: undefined reference to `hosts_ctl' > collect2: ld returned 1 exit status Add "-lwrap". +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - This SF.Net email is s

make is failing

2008-07-28 Thread mn kh
Dear all, I am trying to write an agentx subagent using net-snmp 5.4.1.2. It uses the libraries libnetsnmp.so, libnetsnmpagent.so,libnetsnmpmibs.so,libnetsnmphelpers.so, libnetsnmp.so.15,libnetsnmpagent.so.15,libnetsnmpmibs.so.15,libnetsnmphelpers.so.15 all symbolic links to their corresponding *.

Net-SNMP with IPv6 Support

2008-07-28 Thread Sudhakaran, Sonu (STSD)
Hello, Does net-SNMP support receiving traps from an IPv6 only enabled nodes(single stack)? Is this patch applicable for the same? I have come across this particular data structure which stands for storing PDU information defined in snmp_api.h. typedef snmp_pdu { ... ... /** This is ONLY used

Re: Best way to monitor 600 cable modem devices

2008-07-28 Thread Brian A. Seklecki
On Sat, 26 Jul 2008, Carlos Alberto Bernat Orozco wrote: > Hi > > > I was wondering what is the best way to monitor 600 cable modem Can you use Broadcast/Multicast, or does it have to be unicast packets? If so, You'll want to develop a custom multi-threaded daemon instead of the standard Nagio

Trap idea

2008-07-28 Thread Amit Srivastava
Hi, I am new to net snmp. Can anybody tell me how to send a trap and create mib of it Urgent.please help me Amit - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest L

Re: Correct the code for SNMPSET/SNMPGET of IPADDRESS datatype

2008-07-28 Thread Raghavendra Prasad
Where the variable " cdsprVpnConcentrator1IpAddress" is of type u_long. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great priz

snmpset for MIB Node with syntax IpAddress

2008-07-28 Thread Raghavendra Prasad
With apologies to one mano - who had posted the following query sometime ago, I have the exact same question. Kindly clear this doubt. When an Integer value (say e.g., 6789) is specified for setting(using snmpset command) any MIB Node with syntax IpAddress, SET request is sent with a varbind conta

Correct the code for SNMPSET/SNMPGET of IPADDRESS datatype

2008-07-28 Thread Raghavendra Prasad
Dear all, Below I am attaching a piece of code for handling GET and SET requests for a node variable "cdsprVpnConcentrator1IpAddress". Although this piece of code works, I am not confident that it is a perfect code. I request you to kindly have look and suggest changes, modification or point o