RE: subagent crash on timeout with SIGPIPE

2007-06-12 Thread Makavy, Erez (Erez)
I use verison 5.3.1 Erez. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, June 06, 2007 11:31 PM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: subagent crash on timeout with SIGPIPE On 06/06

RE: subagent crash on timeout with SIGPIPE

2007-06-06 Thread Makavy, Erez (Erez)
Thanks, Erez. ____ From: Makavy, Erez (Erez) Sent: Wednesday, June 06, 2007 7:21 PM To: 'net-snmp-users@lists.sourceforge.net' Subject: subagent crash on timeout with SIGPIPE Hi, The problem: --- My subagents crash if they don't ret

subagent crash on timeout with SIGPIPE

2007-06-06 Thread Makavy, Erez (Erez)
Hi, The problem: --- My subagents crash if they don't return an answer (to SNMPGET) after less then 8 seconds. It seems that the master agent closes the agentx connection, and the sub-agent gets BROKEN PIPE signal. Solution: I thought that my sub-agents could catch

Problem with counter64 type in SNMPv1

2007-06-04 Thread Makavy, Erez (Erez)
Well, I'm using net-snmp-5.3.1, and when getting a leaf with type counter64 I get "no such name". It seems to be not supported, as part of the netsnmp_wrap_up_request() function suggests: -- if ((asp->pdu->command != SNMP_MSG_SET) && (asp->pdu->versi

v3 authentication failure trap not sent

2007-03-26 Thread Makavy, Erez (Erez)
Problem: When accessing the net-snmp master agent with a non-existing v3 user, an authenticationFailure trap is not sent. Analysis: - 1) I got 'authtrapenable 1' configured in my snmpd.conf file. 2) when accessing it with a non-existing community the authenticationFailure

RE: PROBLEM: snmpd not responding (request queued)

2007-03-21 Thread Makavy, Erez (Erez)
ge of SNMP, for instance I don't support rollback) 2) write a timer mechanism for the netsnmp_delegated_list to extract entries which are X seconds old. What do you think? which would be safer? thanks, Erez _ From: Makavy, Erez (Erez) Sent: Monday, March 19, 2007 8:30 PM To:

RE: PROBLEM: snmpd not responding (request queued)

2007-03-19 Thread Makavy, Erez (Erez)
Maybe there should be a timeout for a state where (netsnmp_processing_set != NULL). Erez. _ From: Makavy, Erez (Erez) Sent: Monday, March 19, 2007 8:05 PM To: net-snmp-users@lists.sourceforge.net Subject: PROBLEM: snmpd not responding (request queued) Hi, Problem

PROBLEM: snmpd not responding (request queued)

2007-03-19 Thread Makavy, Erez (Erez)
Hi, Problem: - Sometimes the snmpd stops responding to any requests. Only a restart of the snmpd helps. Analysis: -- snmpd logs shows this message for every request: trace: netsnmp_handle_request(): snmp_agent.c, 3020: snmp_agent: request queued while processing set

RE: How to disable net-snmp "Cannot find module" errors

2007-02-28 Thread Makavy, Erez (Erez)
ou mean by "remove the MIB handling code"? (Do you mean the OID translation code?) Cause of course I still want the master agent to support the mib-2 MIBs. Thanks, Erez. -Original Message- From: kian [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 10:42

How to disable net-snmp "Cannot find module" errors

2007-02-28 Thread Makavy, Erez (Erez)
Problem: I'm getting net-snmp "Cannot find module" error whenever Net-SNMP is initialized. 1) For example, when I run php script (php compiled with net-snmp): >php phptest.php No log handling enabled - turning on stderr logging Cannot find module (SNMPv2-MIB): At line 0 in (none)

sub-agent not responding after master agent restart

2007-02-06 Thread Makavy, Erez (Erez)
Hi, I noticed that if my master agent is restarted, the sub-agents are having problems re-establishing communication. (they sometimes do not repond, and have to be restarted as well). 1) What is the expected behavior when the master agent is restarted? 2) Is it obligatory to restart the sub-a

Why does sub-agent get broken-pipe?

2007-02-05 Thread Makavy, Erez (Erez)
Hi, The problem --- when my sub-aganet does an operation which take more than 1 sec (between 1-2 secinds), it crushes on broken pipe. why? Background - Net-SNMP-5.3.1, Linux, PPC. Sub-agent running on same machine. Questions --- I guess the master a

Severe problem: Master agent stuck processing Set

2007-01-31 Thread Makavy, Erez (Erez)
Problem --- The SNMP master agents gets to a point where it does not respond to any requests. Problem analysis -- 1) It happens after some Set operations on a MIB item supported by a sub-agent. 2) The master agent process is still alive, and it still receives packe

Problem sending Informs when Firewall active

2007-01-30 Thread Makavy, Erez (Erez)
System info net-snmp-5.3.1, Linux, PPC Problem v3 informs are not sent when firewall (iptables on Linux) is active. Problem Analysis -- Net-snmp sends an engineID probe when creating an Inform PDU. Because of the firewall, the probe resp

Problem Authorizing SHA notification

2007-01-29 Thread Makavy, Erez (Erez)
Hi, The problem: - I having problems receiving notifications with SHA authorization (MD5 works well). The notification are being sent, but my browser sends a REPORT with "WrongDigests". My settings: I'm defining a v3 user with authorization and privacy, and I'm defining

Problem with long Sub-agent response time

2007-01-24 Thread Makavy, Erez (Erez)
Hi, I got a couple of question: 1) What is the actual time limit for a sub-agent to respond to a request? 2) What normally happens when a sub-agent take too long? I noticed that if I put sleep(3) in a sub-agent request handling, I sometimes crush on a BROKEN-PIPE. what should I do to av

RE: Failed sending V3 traps with auth using snmpNotifyTable

2007-01-24 Thread Makavy, Erez (Erez)
rom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave > Shield > Sent: Friday, January 19, 2007 11:33 AM > To: Makavy, Erez (Erez) > Cc: [EMAIL PROTECTED] > Subject: Re: Failed sending V3 traps with auth using snmpNotifyTable > > On 18/01/07, Makavy, Erez (Erez

RE: Failed sending V3 traps with auth using snmpNotifyTable

2007-01-22 Thread Makavy, Erez (Erez)
Of Dave Shield Sent: Friday, January 19, 2007 11:33 AM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Failed sending V3 traps with auth using snmpNotifyTable On 18/01/07, Makavy, Erez (Erez) <[EMAIL PROTECTED]> wrote: > When I define a trap manager assigned

Failed sending V3 traps with auth using snmpNotifyTable

2007-01-18 Thread Makavy, Erez (Erez)
Hi, Background I'm using the snmpTargetMIB and snmpNotificationMIB to send out traps. net-snmp-5.3.1, on Linux, PPC. Problem: -- When I define a trap manager assigned with a local-user (user which has the engine id of the local agent, not the engine id of the manage

RE: Net-SNMP API & C++

2006-09-26 Thread Makavy, Erez (Erez)
yeah, no problem. works for me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Jurado Sent: Tuesday, September 26, 2006 7:08 PM To: net-snmp-users@lists.sourceforge.net Subject: Net-SNMP API & C++ Can I use the Net-SNMP API libraries from C++ code?

Does net-snmp support Unicode?

2006-08-03 Thread Makavy, Erez (Erez)
  thank, Erez. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http:/

Is net-snmp-5.3.1 officially ready?

2006-07-18 Thread Makavy, Erez (Erez)
Hey,   I see the source for 5.3.1 on the sourceForge, but I don't see an official release mail.   thanks, Erez.   - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get th

Sending v3 traps using TARGET-MIB - don't work!

2006-06-29 Thread Makavy, Erez (Erez)
Hey,     Scenario: [net-snmp-5.3.1.pre1, Linux] -- I got these configuration in my snmpd.conf (the Persistent file), and I see the entries in the TARGET-MIB: --- targetAddr 87406688tpublic .1.3.6.

Mster-Sub agent connectivity issues.

2006-06-28 Thread Makavy, Erez (Erez)
Hey,   It seems that if my master agent and sub-aganet are up and working, and the master agent is shut down , and then started again, the sub-agent is still working properly. (meaning that requests are passed from the master to the sub-agent).   1) How can this happen? (doesn't the tcp con

disabling linkup/down traps.

2006-06-12 Thread Makavy, Erez (Erez)
Hey,   How can I disable the link-up/down traps, if I configured my agent without disman/event MIBs support?   thenks, Erez Makavy   ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe

Is there an estimation on when the official 5.3.1 will be out?

2006-05-28 Thread Makavy, Erez (Erez)
Thanks, Erez.  

What does the --with-copy-persistent-files option do?

2006-05-24 Thread Makavy, Erez (Erez)
The manual says:   --with-copy-persistent-files=\"no\" Don't copy persistent files   (or use \"yes\" to copy them).   (Default: yes)   Copy the files to where? from where? when?   Thanks, Erez Makavy  

RE: how to perform an snmpwalk in the c++ api??

2006-05-24 Thread Makavy, Erez (Erez)
Hey,   What C++ API? I didn't know there was one.   Erez. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alfonso CornejoSent: Wednesday, May 24, 2006 12:40 AMTo: net-snmp-users@lists.sourceforge.netSubject: how to perform an snmpwalk in the c++ api?? Hi everyone. I'm try

RE: Row createtion not working (TARGET-MIB, NOTIFICATION-MIB)

2006-05-23 Thread Makavy, Erez (Erez)
Never mind, it's working now. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erez MakavySent: Thursday, May 18, 2006 9:17 PMTo: net-snmp-usersSubject: Row createtion not working (TARGET-MIB, NOTIFICATION-MIB) Hi,   Could it be that row-creation (create&wait) is not workin

just testing my E-mail server, please ignore.

2006-05-23 Thread Makavy, Erez (Erez)
 

RE: Test mail

2006-05-09 Thread Makavy, Erez (Erez)
    Erez Makavy Software Engineer AVAYA Communication, ITC Mail : <mailto:[EMAIL PROTECTED]> Tel:+972-3-6457562   From: Abhijeet Kumar Nigam [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 3:52 PMTo: net-snmp-users@lists.sourceforge.netCc: Makavy, Erez (Erez)Subject: Tes

Is it safe to invoke an SNMP Get within a sub-agent?

2006-04-26 Thread Makavy, Erez (Erez)
Hey,   What do I need -- I want to invoke an SNMP get ( send an SNMP request PDU to the master agent), within a sub-agent (on the same system). In particular within a netsnmp_mib_handler - access_method. Meaning that when the sub-agent receive a request for some OID1, it

Using Unix socket domain for SNMP client (snmpget)

2006-04-25 Thread Makavy, Erez (Erez)
Hey,   I'd like to perform an SNMP get query to the localhost master agent (onthe same machine), and do it over the unix socket domain.   I'm using this scheme: snmp_sess_init(&session); ss = snmp_open(&session);      pdu = snmp_pdu_create(SNMP_MSG_GET);     snmp_synch_response(ss,

FW: How can I bypass USM+VACM?

2006-04-25 Thread Makavy, Erez (Erez)
  Hey,   I got a master agent running on my system. I got also an SNMP client running on the same system (different process), and I'd like the client to be able to query the master agent without USM authentication or VACM authorization limitations. The reason is, that the client performanc

Possible BUG in snmpd.conf VACM 'access' directive

2006-04-25 Thread Makavy, Erez (Erez)
Hey,   I use these directives in my snmpd.conf file:   access ReadCommG "" v1 noauth exact v1-r-view "" v1-r-view access ReadCommG "" v2c noauth exact v1-r-view "" v1-r-view access ReadCommG "" usm auth exact v3-r-view "" v3-r-view     It seems that only the last directive affects the vacmA

Is (--with-libwrap) options necessary for enabling agentX (on Linux)?

2006-04-11 Thread Makavy, Erez (Erez)
If so, why?   Thanks, Erez.

Should I set request->processed=1, after proccessing request?

2006-03-15 Thread Makavy, Erez (Erez)
In the MibAccess function,   when iterating over requests:   for (request = i_requests; request; request = request->next) { ...     Should I set request->processed = 1 after each request I process? What is the processed flag used for?   Thanks, Erez.    

RE: Can parse_oid_indexes() parse fixed-length string indexes?

2006-03-08 Thread Makavy, Erez (Erez)
From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 4:50 PM To: Makavy, Erez (Erez) Cc: Wes Hardaker; net-snmp-users@lists.sourceforge.net Subject: Re: Can parse_oid_indexes() parse fixed-length string indexes? >>>>> On Wed, 8 Mar 2006 13:56:14 +0200, "

RE: Can parse_oid_indexes() parse fixed-length string indexes?

2006-03-08 Thread Makavy, Erez (Erez)
Wednesday, March 08, 2006 2:12 AM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Can parse_oid_indexes() parse fixed-length string indexes? >>>>> On Wed, 1 Mar 2006 19:40:58 +0200, "Makavy, Erez (Erez)" <[EMAIL PROTECTED]> said: Erez>

Is there a proprietry Net-SNMP MIB to show internal com2sec table?

2006-03-02 Thread Makavy, Erez (Erez)
 

Can parse_oid_indexes() parse fixed-length string indexes?

2006-03-01 Thread Makavy, Erez (Erez)
I don't see in the table registration any information about the indexes' length (in case of fixed-length string)   And there is also no information about the length in the parameters of parse_oid_indexes() - int parse_oid_indexes( 

RE: Error installing Net-SNMP 5.3.0.1, on RHEL 4.0

2006-02-22 Thread Makavy, Erez (Erez)
I installed elfutils-libelf-devel, run ./configure again, and I still get the same -libelf error. Any other ideas? -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 6:56 PM To: Makavy, Erez (Erez); H. McManus Cc: net-snmp-users

RE: Does Net-SNMP support RFC 2578/79/80?

2006-02-22 Thread Makavy, Erez (Erez)
P? (and reference to which RFC) (The MIB list in http://www.net-snmp.org/docs/mibs/, is only of MIB files included in Net-SNMP, but does not garuanty they are fully implemented) -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 6:54

Error installing Net-SNMP 5.3.0.1, on RHEL 4.0

2006-02-22 Thread Makavy, Erez (Erez)
1) I get an error  during 'make':     - gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o  ./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so -lwrap ../snmplib/.libs/libnetsnmp.so /us

Does Net-SNMP support RFC 2578/79/80?

2006-02-22 Thread Makavy, Erez (Erez)
 

Where can I find Net-SNMP-5.1.2 binary/code?

2006-02-21 Thread Makavy, Erez (Erez)
I can't find it in SourceForge.   Thanks, Erez.    

Sub-agent RAM usage.

2006-02-21 Thread Makavy, Erez (Erez)
Did anyone manage to get a minimal Sub-agent's RAM usage to about ~500K ? (or less)   For an embedded Linux system.   Thanks, Erez.      

mib2c not working !!! Help ! (net-snmp-5.2.1.2)

2006-02-21 Thread Makavy, Erez (Erez)
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. ** --           From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Makavy, Erez (Erez)Sent: Monday, February 13, 2

Has anyone used the Net-SNMP RMON implementation?

2006-02-19 Thread Makavy, Erez (Erez)
1) What's the status with that implementation? (Has it changes since Net-SNMP-5.1.2?) 2) I understand the data gathering is not implemented. What is the API used to implement the data gathering?   Thanks, Erez.    

Is it possible to use the netsnmp_serialize_helper_handler after the table_helper_handler?

2006-02-16 Thread Makavy, Erez (Erez)
1) I see that the table_helper_handler is written to handle multiple requests, it there any problem injecting the netsnmp_serialize_helper_handler so it would work after the table_helper_handler finished?   2) actually it might work even if the serialize works before the table, the for loop

RE: multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Makavy, Erez (Erez)
PM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: RE: multiple registration of scalar_group_helper_handler. On Thu, 2006-02-16 at 15:37 +0200, Makavy, Erez (Erez) wrote: > You mean that I should refer to the netsnmp_register_scalar(). Yup. > Is there any problem

RE: multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Makavy, Erez (Erez)
- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 3:16 PM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: multiple registration of scalar_group_helper_handler. On Thu, 2006-02-16 at 14:47 +0200, Makavy, Erez (Erez) wrote: > Can I

multiple registration of scalar_group_helper_handler.

2006-02-16 Thread Makavy, Erez (Erez)
Can I use netsnmp_register_scalar_group(), to register 2 scalar group handlers to the same OID (but with different leaf ranges)?   thanks, Erez Makavy  

disabling Sub-agent configuration file

2006-02-15 Thread Makavy, Erez (Erez)
The suggested template for implementing a sub-agent, uses init_snmp("[agent_name]"). A agent_name.conf configuration file is created (in /var/net-snmp/).   1) What is the agent_name parameter used for except the configuration file name? 2) What is the oldEngineId used for? 3) Is this file

configure snmptrapd logging to syslog

2006-02-15 Thread Makavy, Erez (Erez)
How do I configure the syslog server IP address, that the snmptrapd will send syslog to?  

snmptrapd logging to syslog

2006-02-15 Thread Makavy, Erez (Erez)
In order to translate Notifications' OIDs to textual syslogs, the snmptrapd needs to parse and load (at startup) the MIB definition files.   These files be truncated to only include notification definitioin, right?       thank, Erez Makavy  

Uninstall error

2006-02-13 Thread Makavy, Erez (Erez)
I got this error while commiting 'make uninstall' for net-snmp-5.2.1.2:     make[1]: Leaving directory `/root/Net-SNMP/net-snmp-5.2.1.2/mibs'make[1]: Entering directory `/root/Net-SNMP/net-snm

RE: Installation problem, mib2c not working (net-snmp-5.2.1.2)

2006-02-13 Thread Makavy, Erez (Erez)
ns? (I would like to install it to a different prefix!) Thank, Erez.                   From: jdx [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 3:54 PMTo: Makavy, Erez (Erez); net-snmp-users@lists.sourceforge.netSubject: Re: Installation problem, mib2c not working (net-snmp-5.2.1.2)

Installation problem, mib2c not working (net-snmp-5.2.1.2)

2006-02-13 Thread Makavy, Erez (Erez)
After installing net-snmp-5.2.1.2 (configured with --with-perl-modules), I get the usual error, when running mib2c:   -- ERROR: You don't have the SNMP perl module installed.  Please obtainthis

netsnmp_request_info flags (delegated, inclusive)

2006-02-05 Thread Makavy, Erez (Erez)
In the structure netsnmp_request_info flags, what are these flags used for?   int delegated;    int inclusive;     Thanks, Erez.    

Generating traps in Multi-thread Sub-agent: proposed workaround

2006-02-02 Thread Makavy, Erez (Erez)
  Any comment appreciated, Erez.                   Erez Makavy Software Engineer AVAYA Communication, ITC Mail : <mailto:[EMAIL PROTECTED]> Tel:+972-3-6457562   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Makavy, Erez (Erez)Sent: Wednesday, February 01, 2006 5:49

Problem calling net-snmp library function from c++ application.

2006-02-01 Thread Makavy, Erez (Erez)
Hey,   I get this linkage error: gcc `net-snmp-config --libs` -o simpleApp simpleApp.o `net-snmp-config --agent-libs` simpleApp.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status make: *** [simpleApp] Err

Can't send trap from a running sub-agent.

2006-02-01 Thread Makavy, Erez (Erez)
I have a sub-agent running as a thread. If I want to send a trap (using send_v2trap), I have to interupt the sub-agents agent_check_and_process() in order to send the trap.   Is there some event mechanism in net-snmp to allow to interupt the sub-agent?   Thanks, erez.        

RE: What's the minimum RAM usage of a Net-SNMP Sub-agent? (approximate)

2006-01-30 Thread Makavy, Erez (Erez)
e an estimate of the minimum]   Thanks, Erez.   From: William R. Buckley [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 5:09 PMTo: Makavy, Erez (Erez)Cc: net-snmp-users@lists.sourceforge.netSubject: RE: What's the minimum RAM usage of a Net-SNMP Sub-agent? (approximate) E

What's the minimum RAM usage of a Net-SNMP Sub-agent? (approximate)

2006-01-30 Thread Makavy, Erez (Erez)
 

Net-SNMp for : MPC8272 PowerQUICC II (PowerPC) , Cross compile

2006-01-26 Thread Makavy, Erez (Erez)
1) Does Net-SNMP compile for this CPU?    MPC8272 PowerQUICC II (PowerPC)   2) Can I use 'configure' to set the cross-compiler settings? 3) What is the setting I use in :     --build     --host     --target     Thanks, Erez.

RE: Reduce snmpd memory usage

2006-01-25 Thread Makavy, Erez (Erez)
ns the major difference? (are there different default MIBs?) Thank, Erez. -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 3:32 PM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Reduce snmpd memory usa

Reduce snmpd memory usage

2006-01-25 Thread Makavy, Erez (Erez)
my snmpd takes a total of 7.2 MB (after common reductions suggested in FAQ).   Residentual memory : ~2.7 MB Swapped memory : ~4.5 MB   (Potentially shared mem: ~ 1.9MB)   Can it be reduced even more?     Thanks, Erez.  

Does Net-SNMP support the snmpCommunityMIB ?

2006-01-24 Thread Makavy, Erez (Erez)
 

snmpCommunityTable bypassed ?!

2006-01-24 Thread Makavy, Erez (Erez)
It seems that i can access the net-snmp agent with SNMPv1 read community, while my snmpCommunityTable is empty! ( I see in the debug printouts, that VACM view was found) 1) how can it find a view if the community was not converted to securityName? (since the table is empty) Thanks Erez. -

RE: Bypassing USM for internal requests.

2006-01-23 Thread Makavy, Erez (Erez)
ution)   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Makavy, Erez (Erez)Sent: Monday, January 23, 2006 5:30 PMTo: net-snmp-users@lists.sourceforge.netCc: net-snmp-coders@lists.sourceforge.netSubject: Bypassing USM for internal requests. Hey,   I would like to bypass th

Bypassing USM for internal requests.

2006-01-23 Thread Makavy, Erez (Erez)
Hey,   I would like to bypass the USM model for local applications' requests. Meaning that I'd like applications on the local machine (running the Master agent), to be able to access MIB objects (using SNMP get/set), but without USM authentication or authorization.   1) How can I create a s

RE: What is the Callback transport? ( and netsnmp_query_get)

2006-01-17 Thread Makavy, Erez (Erez)
PM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: What is the Callback transport? On Tue, 2006-01-17 at 15:45 +0200, Makavy, Erez (Erez) wrote: > 2) Is it net-snmp transport? Yes. It's a sort-of "internal loopback" mechanism, whereby the agent

What is the Callback transport?

2006-01-17 Thread Makavy, Erez (Erez)
I hope my question is not dumb: ( but I'm not familiar with the callback transport)   1) Is that a common Linux transport interface?( Is is a local machine interprocess interface?) 2) Is it net-snmp transport? 3) Do sub-agents by default (like when using the example template), use the call

RE: snmpd reduce memory usage

2006-01-17 Thread Makavy, Erez (Erez)
oes it include? Do I need all of it? Thanks, Erez Makavy -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 11:12 AM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: RE: snmpd reduce memory usage On Mon, 2006-01-

RE: snmpd reduce memory usage

2006-01-16 Thread Makavy, Erez (Erez)
From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 3:00 PM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpd reduce memory usage On Sun, 2006-01-15 at 19:58 +0200, Makavy, Erez (Erez) wrote: > 1) what exactly doess the environment va

How to restricting net-snmp disk usage?

2006-01-16 Thread Makavy, Erez (Erez)
Hey,   I'm including net-snmp in an embedded system, and disk usage is crutial. I'de like to restrict all writing to files (mainly log files), either by eliminating uneseccary logs, or by limiting the file size.   Personally I know of couple of files under /var/... directory by default: - s

FW: snmpd reduce memory usage

2006-01-16 Thread Makavy, Erez (Erez)
d and loaded?   Thanks, Erez.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Makavy, Erez (Erez)Sent: Sunday, January 15, 2006 7:59 PMTo: net-snmp-users@lists.sourceforge.netSubject: snmpd reduce memory usage Hey,   While trying to reduce snmpd memory usage, and going ove

net-snmp5.3: Possible BUG in default debug print-outs

2006-01-15 Thread Makavy, Erez (Erez)
Hey,   in net-snmp-5.3 when I run 'snmpd -f' I get debug prints for tokes:   - internal     - verbose     - trace     - disman     - snmpd ...   in version 5.2.1 is does not happen.   1) Are these now the default debug prints for when using -f option? 2) Is there an option argument I

snmpd reduce memory usage

2006-01-15 Thread Makavy, Erez (Erez)
Hey,   While trying to reduce snmpd memory usage, and going over old mailing-list items.   I think I understood from one of them thatm initializing the snmp librarie, invokes parsing of MIB text files, and loading them to memory.   I set MIBS environment variable to empty string (instead o

Net-SNMP-5.3 - error in make - when using --disable-mib-loading: undefined reference to `get_tree'

2006-01-15 Thread Makavy, Erez (Erez)
Hey,   while building net-snmp-5.3, and trying to reduce memory size...   I get an error in 'make', only when I add the token --disable-mib-loading, in the ./configure line:   [my configure line looks like this, when I add the token] - ./configure

RE: How to implement C++ API for agent MIB implementation?

2006-01-11 Thread Makavy, Erez (Erez)
), Set() These methods could use C++ objects as parameters (like Value and OID to simplify things) Erez Makavy -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 12:32 PM To: Makavy, Erez (Erez) Cc: net

RE: mib2c config file format - testing read-only

2006-01-11 Thread Makavy, Erez (Erez)
I think this manual could be what you are looking for: http://net-snmp.sourceforge.net/docs/man/mib2c.conf.html Erez. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, January 11, 2006 1:11 PM To: Finking, Robert Cc: net-snmp

RE: How does the master agent interleaves requests/agentx/traps?

2006-01-11 Thread Makavy, Erez (Erez)
Sent: Wednesday, January 11, 2006 12:25 PM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: How does the master agent interleaves requests/agentx/traps? On Tue, 2006-01-03 at 11:25 +0200, Makavy, Erez (Erez) wrote: > As I understand the master agent is not multi-t

RE: Does net-snmp include Row-Status support?

2006-01-11 Thread Makavy, Erez (Erez)
, January 11, 2006 11:47 AM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Does net-snmp include Row-Status support? Yes. Several of the MIB tables implemented within the Net-SNMP agent include columns with SYNTAX RowStatus. Dave

RE: snmptrap - I don't understand how SNMPv3 traps are sent by thesnmptrap utility.

2006-01-10 Thread Makavy, Erez (Erez)
isAccessAllowed does not indicate accessAllowed, the notification is not sent to the management target." Erez Makavy -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 1:19 PM To: Makavy, Erez (Erez) Cc: [EMAIL PROTECTED]; net-

v3 trap is sent without VACM authorization.

2006-01-09 Thread Makavy, Erez (Erez)
Hey,   It seems that v3 traps are sent without authorization. 1) I'm using a security name which has not mapping to a group, and still the trap is sent. 2) when opening vacm debug (flag -Dvacm), I don't see any debug output concerning vacm when I sent trap (only usm debug).   Could it be th

snmptrap - I don't understand how SNMPv3 traps are sent by the snmptrap utility.

2006-01-05 Thread Makavy, Erez (Erez)
Hey,   Please help me with this:   1) Does the snmptrap utility send SNMPv3 trap to the master agent? (I guess not) 2) if not then how does the snmptrap access the USM and VACM modules?    (these modules are implemented in the master agent)   thanks, erez.      

RE: snmptrap - I don't understand how SNMPv3 traps are sent by the snmptrap utility.

2006-01-05 Thread Makavy, Erez (Erez)
I ment send traps through the master agent. (not to, sorry) I know it send it to some managmetn station (could be snmptrapd). Actually I see know that a master agent does not have to be running on the machin for a trap to be sent by snmptrap. Thus, the 2nd quesiton arises: 2) if not then how do

Dataset helper handler

2006-01-04 Thread Makavy, Erez (Erez)
Hey,   1) If a sub-agent registered a dataset, does the request handling occur in the Master or the Sub agent? (I guess the sub agent)     (in general all handlers registered from sub-agents, are called within the sub-agent. right?)   2) How does a sub-agent (which registered a dataset) mai

Does net-snmp include Row-Status support?

2006-01-04 Thread Makavy, Erez (Erez)
  Thanks, Erez Makavy

Local MIB access - accessing MIB localy without UDP, and without authentication.

2006-01-03 Thread Makavy, Erez (Erez)
Hey, Let me make myself clearer. I'd like to know if and how it is possible to use net-snmp for retrieving MIB variable values, without actually sending a UDP packet, and without the overhead of USM/VACM authentication and authorization. Meaning, how to bypass these and use net-snmp internal API

How does the master agent interleaves requests/agentx/traps?

2006-01-03 Thread Makavy, Erez (Erez)
Hey,   As I understand the master agent is not multi-threaded, hense it deals synchroniously with:     - receiving/sending to SNMP requests     - dispatching/retrieving requests with agentX  APUDs     - sending traps     - listens for sub-agent registration/diregistration   Questions:

Net-snmp-5.3 - error while loading shared libraries

2006-01-02 Thread Makavy, Erez (Erez)
Hey,   I get this error when running a sub-agent: -- error while loading shared libraries: libnetsnmpmibs.so.10: cannot open shared object file: No such file or directory       Background: --- I Installed net-snmp-5.3 to

RE: net-snmp-5.3 installation error.

2006-01-02 Thread Makavy, Erez (Erez)
Sent: Monday, January 02, 2006 12:18 PM To: net-snmp-users@lists.sourceforge.net Subject: Re: net-snmp-5.3 installation error. Makavy, Erez (Erez) wrote: > I got an error in 'make' : > -- > /bin/sh ../libtool --mode=link gcc -g

net-snmp-5.3 installation error.

2006-01-02 Thread Makavy, Erez (Erez)
Hey,   I got an error in 'make' : -- /bin/sh ../libtool  --mode=link gcc -g -O2 -Dlinux -I/usr/include/rpm  -o snmpd snmpd.lo    libnetsnmpmibs.la libnetsnmpagent.la helpers/libnetsnmphelpers.la  ../snmplib/libnetsnmp.la -ldl -lrpm -lrpmio

FW: Is the master agent multi-threaded?

2006-01-01 Thread Makavy, Erez (Erez)
-snmp MIB implementations thread-safe? - snmpTargetMIB - snmpNotificationMIB - snmpUsmMIB - snmpVacmMIB   Thanks, Erez.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Makavy, Erez (Erez)Sent: Wednesday, December 28, 2005 11:25 AMTo: net-snmp-users@lists.sourceforge.netSubject

where is the persistant data stored? (which files)

2005-12-28 Thread Makavy, Erez (Erez)
Hey,   A) Where is the persistant data being stored? (for the MIBs implemented already by net-snmp) (I've seen that the usmUserTable is stored in /var/net-snmp/snmpd.conf, what about the rest)     1) snmpUsmMIB: (Usmstats, ...) -?   2) snmpVacmMIB ( vacmAccessTable,...)    - ?   3) snmpNo

Is the master agent multi-threaded?

2005-12-28 Thread Makavy, Erez (Erez)
Hey,   1) Is the master agent multi-threaded?     a) Does it have different threads listening to SNMP requests, SNMP traps, AgentX...     b) does it have a different thread for sending traps (So the listening for SNMP requests is not blocked)   Thanks, Erez.  

RE: problem while doing SNMPGET on newly added mib(BRIDGE-MIB)

2005-12-28 Thread Makavy, Erez (Erez)
Hey, 1) first thing, at least in your mail you have an spelling error which might cause that,(Uppercase B in: --with-mib-modules=dot1dBridge) 2) Check for errors during the ./configure 3) Try 'snmptranslate -IR [NodeName]' to see if you MIB was compilied in correctly. Cheers, Erez. -Origi

  1   2   >