Re: Bind Exception - snmptrapd

2004-07-20 Thread Dave Shield
Without snmptrapd running, my java trap generator works fine but it produces java.net.BindException with snmptrapd. I guess snmptrapd and my app can't use the same port. Could you give me a hint how I could make work both snmptrapd and my trap generator using the same 162 port? Is your

Re: example-demon can't SET integer

2004-07-20 Thread Dave Shield
When I perform snmpset -c public -v 2c localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = 5 I get the following error Error in packet. Reason: notWritable (that object does not support modification) How have you configured the access control for the agent? Can you

Emanate compatibility

2004-07-20 Thread Leleu Nicolas
Hello. I'm a french young diplomed, and I'm on a society that has developped an snmp sub agent using UCD. It work great with the UCD master agent. The problem is that some client have an Emanate (www.snmp.com) Master Agentand it appear it's not compatible with the UCD framework. (and

Re: Basic config for Debian package of net-snmp

2004-07-20 Thread Dave Shield
I went through the /etc/snmp/snmpd,conf file and filled in the bits that it indicated for basic operations (or so I thought). But what did you change? In particular, what access control settings do you now have? See the FAQ entry: How do I configure access control?

Re: Basic config for Debian package of net-snmp

2004-07-20 Thread David Goodenough
On Tuesday 20 July 2004 10:18, Dave Shield wrote: I went through the /etc/snmp/snmpd,conf file and filled in the bits that it indicated for basic operations (or so I thought). But what did you change? In particular, what access control settings do you now have? See the FAQ entry:

snmpget question

2004-07-20 Thread Mike Mohamet
Hi all, For the needs of my company I am creating an experimental MIB file. I would like to ask you if it is possible to use snmpget to retreive a whole file (e.g. log file) from the agent. Thanks in advance, Mike --- This SF.Net email is

Re: script called by traphandle getting executed twice

2004-07-20 Thread stephen . jackson
Well, for now I got around it being executed twice by moving the snmptrapd.conf file to /etc and then specifying the new location when launching snmptrapd: /usr/local/sbin/snmptrapd -OS -c /etc/snmptrapd.conf -Ls0 Since /etc isn't part of the default search path, it only finds it with the -c

Re: Basic config for Debian package of net-snmp

2004-07-20 Thread David Goodenough
On Tuesday 20 July 2004 12:21, Dave Shield wrote: OK, this is where I found that the file that the Debian package provided for me and the FAQ and other documentation did not seem to be talking about the same thing. Sort of. The Debian package is using the individual access control

Re: Emanate compatibility

2004-07-20 Thread C Wells
Are French or Belgian ? ;-) Is the Emanate agent you speak of part of HP/UX ? SNMP Research do have some expensive products. What does your sub agent do ? --- Leleu Nicolas [EMAIL PROTECTED] wrote: Hello. I'm a french young diplomed, and I'm on a society that has developped an snmp sub

RE: Bind Exception - snmptrapd

2004-07-20 Thread Mijeong Seo
No. What my trap generator does is to generate traps only when certain condition occurs. This generator uses JoeSNMP Java library and actually it opens port 162 to send traps. Now I understand why it shouldn't work but is there any walk-around to have both snmptrapd and external trap generator

RE: Bind Exception - snmptrapd

2004-07-20 Thread Mijeong Seo
That fixed the problem easily. Thanks a lot Dave! MJ -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: July 20, 2004 11:01 AM To: Mijeong Seo Cc: Net-snmp-users Subject: Re: Bind Exception - snmptrapd No. What my trap generator does is to generate traps only when

Loading CISCO-GENERAL-TRAPS mib

2004-07-20 Thread Mitch Raful
When attemptig to load the GENERAL_TRAPS mib the following shows up in the output: Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }Undefined identifier: snmp near line 74 of /usr/share/snmp/mibs/CISCO-GENERAL-TRAPS.my Any ideas why this does not load. I believe SNMPV2-MIB loads prior

Re: fd's in select

2004-07-20 Thread Carlos Cantu
What does it mean when I don't get many fd's from the snmp_select_info() call? Lately, the count is not higher than 2, and I cannot process SNMP requests. I've seen when the count is 3 or 4, I am able to process requests. Any ideas? Maybe the select is not the problem, looking at the

HP Health Agents for Proliant on Linux

2004-07-20 Thread VEGH Karoly
(pls forgive me if this mail arrives doubled) Hi all. I have couple of HP (CPQ?) Proliant boxes, and am happily running on the Debian Linux. HP provides couple of SNMP agents for linux for the hardware monitoring. However, they are Providing only for RedHat and the like. I downloaded their

Re: fd's in select

2004-07-20 Thread Carlos Cantu
UCD-SNMP version 4.2.6 === THIS MAY BE MY PROBLEM!!! NOT POINTING TO THE RIGHT VERSION OF SNMPD. I'LL TRY FIGURING WHY THAT IS AND REPORT BACK. pointing to the newer 5.0.8 fixed my problems... thanks for lending a kind

Re: Loading CISCO-GENERAL-TRAPS mib

2004-07-20 Thread Mitch Raful
That did the trick! Now if I can figure out why that is the only MIB that gives me a broken pipe when the traphandle is executed. Mitch - Original Message - From: Dave Shield [EMAIL PROTECTED] To: Mitch Raful [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 11:40

PERL problem with mib2c

2004-07-20 Thread Gary Clark
Running net-snmp-5.1.2.pre3 release. When performing the following $ mib2c etherStatsEntry It looks like the two expected templates get generated: etherStatsEntry.c and etherStatsEntry.h However I then see the following: running indent on etherStatsEntry.c C:\cygwin\bin\perl.exe (3996):

PERL problem with mib2c

2004-07-20 Thread Gary Clark
Running net-snmp-5.1.2.pre3 release. When performing the following $ mib2c etherStatsEntry It looks like the two expected templates get generated: etherStatsEntry.c and etherStatsEntry.h However I then see the following: running indent on etherStatsEntry.c C:\cygwin\bin\perl.exe (3996):

libwrap

2004-07-20 Thread Carlos Cantu
I see USE_LIBWRAP is defined in ucd-snmp, but undefined in net-snmp. Or at least it's defined in ucd-snmp-config.h, but not in acconfig.h. Could my problem where I crash due to hosts_ctl undefined be caused by using (or pointing to) the wrong .so's? I have a problem where libnetsnmpagent.so