net-snmp compile/make error.

2004-10-06 Thread Chirag Parekh
Hi, I am a novice in the field of networking and have hardly any knowledge of SNMP. I have been assigned with the task of setting up SNMP monitoring on HP-UX servers via net-snmp. Searched the forum as well as net, but did not find any document that gave the details of what steps need to be ta

installing on Solaris questions

2004-10-06 Thread Nicholas Aaron Philbrook
I'm trying to compile and install net-snmp on a Solaris system. It's a little tricky because It's a server at my school and obviously I don't have root access, so I'm installing the whole thing in a "fake root" directory in my home directory via ssh. I don't care about the agent, all I need are t

Re: net-snmp 5.1.2rc1 locking up?

2004-10-06 Thread Users
On Wed, 6 Oct 2004 18:30:58 -0400 Robert wrote: RS> On Wed, 6 Oct 2004 18:27:47 -0400 Robert wrote: RS> RS> Sorry for the delayed response. Can you try running the agent in the RS> RS> foreground, with packet dump turned on, and the poll with both net-snmp RS> RS> and solarwinds. Then send the pack

Re: net-snmp 5.1.2rc1 locking up?

2004-10-06 Thread Users
On Wed, 6 Oct 2004 18:27:47 -0400 Robert wrote: RS> Sorry for the delayed response. Can you try running the agent in the RS> foreground, with packet dump turned on, and the poll with both net-snmp and RS> solarwinds. Then send the packet dumps. Forgot to give you the commands to run in the foregro

Re: net-snmp 5.1.2rc1 locking up?

2004-10-06 Thread Users
On Tue, 03 Aug 2004 02:12:31 + Bill wrote: BS> I discovered at the very least, a situation which causes the snmpd to BS> run into a spin opening up /etc/mtab. I did a bit of discovery on the BS> issue - I have tcpdump with full packet length + output from strace. I BS> am not very familiar with

Re: Snmptrapd help

2004-10-06 Thread prashanth raghavan
I had ethereal running during the testing. And yes, I did see the linkDown trap message received by the destination terminal for the traps. So, should I just create this new file wth the same contents as the file that I am using right now (i.e. the one in /var/net-snmp)? < No idea - sorry.>

Re: Trap Info format

2004-10-06 Thread Dave Shield
> I use "snmptrapd -Lf trap.log" to log the incoming trap. > The trap information logged in the trap.log file is like this: > SNMPv2-SMI::enterprises.5517.4.1.1.2.0 =3D INTEGER: 0. > For string 5517.4.1.1.2.0 is part of the OID, > is there any command to log MIB translated info (text based) > to

Problem to run perl_module.pl (net-snmp 5.1.2)

2004-10-06 Thread Sven Hergenhahn
Title: Problem to run perl_module.pl (net-snmp 5.1.2) Hi List, I'd like to provide some additional values via a perl subagent. I tried to use perl_module.pl from the net-snmp page, but it does not work. I always get: snmpget -v1 -Ov -c public .1.3.6.1.4.1.8072.999.1.2.1.0 Error in pa

Problem to send trap

2004-10-06 Thread Vladislav Antolik
Hello I would like to send trap to NNM when the number of processes(e.g.ssh) is more than 3, my snmpd.conf: proc ssh 3 trapsink ip_address but it doesn't send. When I stop snmpd I have in logfile this: snmpd: send_trap: Failure in sendto (Invalid argument). I don't know if these problems are

Re: Problem to send trap

2004-10-06 Thread Vladislav Antolik
I can't see anything, but when I stop the agent I can see in NNM received event type .1.3.6.1.4.1.8072.4.0.2 > > I would like to send trap to NNM when the number of processes > > (e.g.ssh) is more than 3, > > > > my snmpd.conf: proc ssh 3 > >trapsink ip_address > > > > but it does

Re: disman problem?

2004-10-06 Thread Joel Parker
Both patches, the one in the bug and the mine, seemed to work fine. Maybe I missed the patch at the bottom of the bug report at that time and came up with mine. I had forgotten about it since my patch worked for me. Thanks for the response. Joel On Fri, 2004-10-01 at 10:01, Robert Story wrote:

Re: Queries related to Net-SNMP

2004-10-06 Thread Deepak D
hell andy, make install was successfully executed .. then i configured the agent by using the command ./configure ..PARAMETERS during this i was asked many questions which i answered appropriately.. but then i was not able to run the agent .. i was unable to proceed .

Re: Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-10-06 Thread Malliga Moorthi
Hi, I am able to receive SNMPv3 traps after setting the trapsess parameters correctly(particularly the port number 162) by seeing an earlier answered query for another developer. Now I have another concern. When the passphrase is wrongly entered in the snmpd.conf (not the same as configured in sn

Trap Info format

2004-10-06 Thread Will Chen
I use “snmptrapd –Lf trap.log” to log the incoming trap.  The trap information logged in the trap.log file is like this:  SNMPv2-SMI::enterprises.5517.4.1.1.2.0 = INTEGER: 0.  For string 5517.4.1.1.2.0 is part of the OID, is there any command to log MIB translated info (text based)  to the

Re: Problem to send trap

2004-10-06 Thread Vladislav Antolik
I can't see anything, but when I stop the agent I can see in NNM event type .1.3.6.1.4.1.8072.4.0.2 > > I would like to send trap to NNM when the number of processes > > (e.g.ssh) is more than 3, > > > > my snmpd.conf: proc ssh 3 > >trapsink ip_address > > > > but it doesn't send.

Re: Queries related to Net-SNMP

2004-10-06 Thread Andy Smith
Deepak, More information is needed to effectively help you. Did you run a make install? Did you configure the agent? Can you confirm that the agent is running? What is the snmpget command line that you are using when you attempt to query the agent? Providing the answers to those questions will ge

Re: Problem to send trap

2004-10-06 Thread Vladislav Antolik
I'm sorry for missing informations OS: Slackware 10.0 i686 kernel 2.6.8 net-snmp-5.2.pre1 > On Tue, 5 Oct 2004 17:35:28 + bird wrote: > B> but it doesn't send. > B> When I stop snmpd I have in logfile this: > B> snmpd: send_trap: Failure in sendto (Invalid argument). > > What platform are you

Re: Snmptrapd help

2004-10-06 Thread Dave Shield
> I can't see anything, but when I stop the agent I can see in NNM > received event type .1.3.6.1.4.1.8072.4.0.2 That sounds as if it's NNM which is receiving the traps, not snmptrapd. In which case, it's not surprising that snmptrapd isn't actually doing anything! Dave --

Re: Snmptrapd help

2004-10-06 Thread bird
I can't see anything, but when I stop the agent I can see in NNM received event type .1.3.6.1.4.1.8072.4.0.2 > > I tried both methods. Then I started the trap daemon > > and administratively shut down an interface. But my > > program still doesnt get called up. > > But are you sure that the trap d

Problems : receiving trap twice

2004-10-06 Thread Patrice Bentolila
Hello everyone, I receive twice trap per notification. Here is the list of snmpd.conf trap & access statements: "... rocommunity public 192.9.200.0/24 rwcommunity private 192.9.200.67 trap2sink 192.9.200.67 private 162 authtrapenable 1 ..." I receive 2 instances of every trap in my NNM alarm Brow

Re: Net SNMP Transport Domains

2004-10-06 Thread Dave Shield
> Is it okay to register the transport domain before the init_snmp() > function call? Ummm... John's the expert on this stuff, but I've just had a quick look at the code, and I can't see why not. There doesn't seem to be any explicit initialisation of the overall transport domain registry - it'

Re: Net SNMP Transport Domains

2004-10-06 Thread Lejanson C. Go
Thanks a lot for the help Dave. Dave Shield wrote: My application has its own Transport Layers. How will I integrate my Transport Layers with the NET-SNMP so the transport that the application will use is my Tranport Layer. You'll probably need to write wrapper routines round your transport layer,

RE: Net SNMP Transport Domains

2004-10-06 Thread Kurapati M-G19456
Is IPSec supported by NET-SNMP? Mahesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, October 06, 2004 2:04 PM To: Lejanson C. Go Cc: [EMAIL PROTECTED] Subject: Re: Net SNMP Transport Domains > My application has its own

Re: Snmptrapd help

2004-10-06 Thread Thomas Anders
prashanth raghavan wrote: Further, the only location of snmptrapd.conf is under the /var/net-snmp subdirectory. Should I copy this file to another location? Uh, definitely. This is the persistent file that's not meant to hold "traphandle" directives (as that file clearly says: don't edit it). Run

Re: Net SNMP Transport Domains

2004-10-06 Thread Dave Shield
> My application has its own Transport Layers. How will I integrate > my Transport Layers with the NET-SNMP so the transport that the > application will use is my Tranport Layer. You'll probably need to write wrapper routines round your transport layer, to match the Net-SNMP transport API. Ther

Re: Problem to send trap

2004-10-06 Thread Dave Shield
> I would like to send trap to NNM when the number of processes > (e.g.ssh) is more than 3, > > my snmpd.conf: proc ssh 3 >trapsink ip_address > > but it doesn't send. > When I stop snmpd I have in logfile this: > snmpd: send_trap: Failure in sendto (Invalid argument). > I don't

Re: Snmptrapd help

2004-10-06 Thread Dave Shield
> I tried both methods. Then I started the trap daemon > and administratively shut down an interface. But my > program still doesnt get called up. But are you sure that the trap daemon is actually *receiving* a 'linkDown' trap? The Net-SNMP agent doesn't normally generate such things. (See the F

Net SNMP Transport Domains

2004-10-06 Thread Lejanson C. Go
Hello, I am new to this mailing list. I am currently investigating on how to use the NET-SNMP API for my application. I am just stuck up on something I cannot understand fully well. My application has its own Transport Layers. How will I integrate my Transport Layers with the NET-SNMP so the transp