Re: Please help: Unresolved getdtablesize while building snmpd.exe with MS .Net (MSVC7.1)

2005-09-14 Thread Thomas Anders
Alex Burger wrote: #ifndef WIN32 /* * close all non-standard file descriptors we may have * inherited from the shell. */ for (i = getdtablesize() - 1; i 2; --i) { (void) close(i); } #endif /* #WIN32 */ I am not sure what problem the above code is supposed to

Re: Holes in oid sequence.

2005-09-14 Thread Dave Shield
On Tue, 2005-09-13 at 09:15 -0700, Tom Cumming wrote: Is it legal to define a MIB with holes in the oid numbering Yes. Relatively unusual, but perfectly legal. to allow for features that are unknown today to be added at a later date??? Another way this can arise is when dropping obsolete

Re: Netsnmp on Redhat9 VS AIX 5.2?

2005-09-14 Thread Dave Shield
On Wed, 2005-09-14 at 10:10 +0800, [EMAIL PROTECTED] wrote: Thanks for your feedback, I can try and do some test on my AIX box. But I am new to net-snmp, even I don't know how to start. Probably the best starting point would be to see which HostRes modules do/don't compile on AIX. Try the

Re: What is the proper behavior for a GET when MFD_SKIP is returned?

2005-09-14 Thread Dave Shield
On Tue, 2005-09-13 at 08:38 -0700, Tom Cumming wrote: I am writing an agent using 5.2.1 and mib2c/mfd. If my agent receives a GET request, but the column has not been implemented yet, I return MFD_SKIP. If I use snmpget to kick off a GET request, the *_interface.c code returns

Configuration for proxying to a subtree

2005-09-14 Thread Patil, Suresh (Suresh)
Hi , I have defined the following in snmpd.conf: ### com2sec proxyuser default public group proxygroup usm proxyuser viewuserviewincluded .1 access proxygroup

Re: Configuration for proxying to a subtree

2005-09-14 Thread Dave Shield
On Wed, 2005-09-14 at 14:56 +0530, Patil, Suresh (Suresh) wrote: If I modify the proxy command in snmpd.conf to : proxy -v 2c -c hostcommunity remotehost1 .1.3.6.1.2.1.1 Now if I reissue the above snmpget command, I get the sysName oid information from the localhost instead of

RV: snmptrapd NOTIFICATION-LOG-MIB support

2005-09-14 Thread Ivan Pozo
De: Ivan Pozo [mailto:[EMAIL PROTECTED] Enviado el: Mircoles, 14 de Septiembre de 2005 09:44 a.m. Para: '[EMAIL PROTECTED]' CC: daniel pedroza Asunto: snmptrapd NOTIFICATION-LOG-MIB support Hi, everybody: Actually Im doing a NET-SNMP implementation with snmptrapd

Re: snmptrapd NOTIFICATION-LOG-MIB support

2005-09-14 Thread Thomas Anders
Ivan Pozo wrote: First, I ran the snmpd and when the snmpd was up I ran the snmptrapd. I did it because I know that the snmptrapd need the snmpd running to act as an agentX. I suppose I have the issue when the snmptrapd try to be registrered in the snmpd. Am I missing a configuration in the

snmpSilentDrops counter not incrementing

2005-09-14 Thread Anuradha Bhakta
Hi, snmpSilentDrops counter is not incrementing when the appripriate packets are passed to net-snmp agent 5.1. We have done the testing with simple tester tool. Pls let me know if this is fixed in furthur releases. Thanks, Anu. --- SF.Net

Perl Install Error

2005-09-14 Thread d
cd perl - perl Makefile.PL - make - make test --- ERROR MESSAGE - Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.5: We can not open a dynamic object file. : Such

proc/procfix case (un)sensitive

2005-09-14 Thread joel
Hi, I have issues with my Linux (gentoo) server that leads to cron and CRON processes. cron are OK one, CRON are one that can be killed. When I use the proc directive from snmpd.conf, it doesn't make any diff between both. That is, even if there are only CRON (aka, no cron), the proc fonction

Re: iterate option

2005-09-14 Thread Soori
Robert, I came across this post while browsing through the Net-SNMP forum. Please clarify. You can also try some of the other helpers, which do not require a complete iteration through the data for every request. I request you to suggest other helpers to use ? Thanks

Re: RV: snmptrapd NOTIFICATION-LOG-MIB support

2005-09-14 Thread Dave Shield
On Wed, 2005-09-14 at 11:04 -0400, Ivan Pozo wrote: From the documentation I know the snmptrapd has the ability to register the traps in the NOTIFICATION-LOG-MIB (in the nlmLogTable and the nlmLogVariableTable), but when I send a trap to the snmptrapd this is not registered. I know this

RE: RV: snmptrapd NOTIFICATION-LOG-MIB support

2005-09-14 Thread Ivan Pozo
Dave: I suppose the call for querying the table with the snmptrapd context must be: snmptable -v 2c -c administrators 10.30.5.15:161 nlmLog.nlmLogTable.snmptrapd Is that right?. Thanks for your help. -Mensaje original- De: Dave Shield [mailto:[EMAIL

Re: adding a file to MIB issue..

2005-09-14 Thread Robert Story
On Sun, 11 Sep 2005 00:03:27 +0200 Thomas wrote: TA Robert Story wrote: TA On Tue, 23 Aug 2005 08:37:10 -0700 (PDT) vijendra wrote: TA VA 1. copy the attached file to ./mibs/ dir. TA TA If ./mibs/ is not a standard mib directory, you also need to specify the TA path in the MIB_DIRS

Re: iterate option

2005-09-14 Thread Robert Story
On Wed, 14 Sep 2005 04:50:13 -0700 (PDT) Soori wrote: S You can also try some of the other helpers, which do S not require a complete S iteration through the data for every request. S S I request you to suggest other helpers to use ? Well, the cache helper can be added with the iterator

Re: RV: snmptrapd NOTIFICATION-LOG-MIB support

2005-09-14 Thread Robert Story
On Wed, 14 Sep 2005 11:56:51 -0400 Ivan wrote: IP I suppose the call for querying the table with the snmptrapd IP context must be: IP IP snmptable -v 2c -c administrators 10.30.5.15:161 IP nlmLog.nlmLogTable.snmptrapd IP IP Is that right?. Thanks for your help. No. Contexts are a

Re: Configuration for proxying to a subtree

2005-09-14 Thread Robert Story
On Wed, 14 Sep 2005 12:32:33 +0100 Dave wrote: DS On Wed, 2005-09-14 at 14:56 +0530, Patil, Suresh (Suresh) wrote: DS What I want do is to proxy all the incoming SNMPGET requests for DS the objects under the subtree 1.3.6.1.2.1.1 to remotehost1. DS DS You need to disable the internal

Re: Holes in oid sequence.

2005-09-14 Thread Tom Cumming
Dave Shield wrote: The cardinal rule of MIB design is that you should never have two definitions with different behaviour sharing the same OID. We're continually adding new features to our product, and that's in conflict with the cardinal rule above. The process that I'm considering is

RV: RV: snmptrapd NOTIFICATION-LOG-MIB support

2005-09-14 Thread Ivan Pozo
Robert: I added the configuration missing in the snmpd.conf as the faq explains, but the snmpdtrapd failed and a core file is generated when I tried to execute the snmpwalk command (snmpwalk -v 1 -c public-traps 10.30.5.15:161 nlmLog). I activated the debugging mode with the -D

net-snmp toolkit

2005-09-14 Thread P.Taylor
I may be just a simpleton, but could someone please provide me with the link to the net-snmp toolkit. I can not seem to find it. Thanks --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server.

Re: Holes in oid sequence.

2005-09-14 Thread Robert Story
On Wed, 14 Sep 2005 09:01:50 +0100 Dave wrote: DS On Tue, 2005-09-13 at 09:15 -0700, Tom Cumming wrote: DS Is it legal to define a MIB with holes in the oid numbering DS DS Yes. DS Relatively unusual, but perfectly legal. Actually, I don't think that's right. per RFC 2578, Section 10.2: Object

Re: Holes in oid sequence.

2005-09-14 Thread PAUL WILLIAMSON
[EMAIL PROTECTED] 09/14/05 4:26 PM On Wed, 14 Sep 2005 09:01:50 +0100 Dave wrote: DS On Tue, 2005-09-13 at 09:15 -0700, Tom Cumming wrote: DS Is it legal to define a MIB with holes in the oid numbering DS DS Yes. DS Relatively unusual, but perfectly legal. Actually, I don't think

Re: Holes in oid sequence.

2005-09-14 Thread Robert Story
On Wed, 14 Sep 2005 11:53:50 -0700 Tom wrote: TC We're continually adding new features to our product, and that's in TC conflict with the cardinal rule above. The process that I'm considering TC is to leave holes in the OID sequence, and new features will use those TC holes. Dropped

Re: What is the proper behavior for a GET when MFD_SKIP is returned?

2005-09-14 Thread Robert Story
On Wed, 14 Sep 2005 09:18:01 +0100 Dave wrote: DS On Tue, 2005-09-13 at 08:38 -0700, Tom Cumming wrote: DS I am writing an agent using 5.2.1 and mib2c/mfd. If my agent DS receives a GET request, but the column has not been implemented yet, I DS return MFD_SKIP. If I use snmpget to kick off a

Re: Query regarding the net-snmp performance

2005-09-14 Thread Robert Story
On Tue, 13 Sep 2005 16:19:48 +0530 Suresh (Suresh) wrote: PS The second setup is as follows. PS Here the proxy just acts as v2 to v3 converter and viceversa. PS PS Manager--- PS || | PS || | PS ProxyProxy Proxy PS ||

RE: Query regarding the net-snmp performance

2005-09-14 Thread Patil, Suresh (Suresh)
Hi , Thanks for the reply. Assuming that each proxy consumes 5% of CPU utilization for call processing, what will be the overall CPU utilization in first and second setup. Thanks, Suresh -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005