RE: trap changes made for VRF

2021-02-11 Thread Joan Landry
No – when I made those changes traps stopped working. I have been waiting for documentation on how to use the new vrf code. Thanks, Joan From: Bart Van Assche Sent: Wednesday, February 10, 2021 10:24 PM To: Joan Landry ; stann...@cumulusnetworks.com Cc: net-snmp-users@lists.sourceforge.net

RE: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2021-02-01 Thread Joan Landry
Try to call update_config(); instead. From: chandrasekharreddy chinnapareddygari Sent: Saturday, December 12, 2020 10:54 PM To: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net Subject: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

RE: snmpd.conf security

2021-01-19 Thread Joan Landry
the passwords - when a new v3 user is added - that is not occurring when I call update_config(); Thanks, Joan -Original Message- From: Wes Hardaker Sent: Tuesday, January 5, 2021 3:40 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpd.conf security External

RE: trap changes made for VRF

2021-01-12 Thread Joan Landry
Please tell me where to find these patches – links please. Thanks From: Bart Van Assche Sent: Saturday, January 9, 2021 5:47 PM To: Joan Landry ; stann...@cumulusnetworks.com Cc: net-snmp-users@lists.sourceforge.net Subject: Re: trap changes made for VRF External email: [bart.vanass

RE: trap changes made for VRF

2021-01-06 Thread Joan Landry
, January 6, 2021 11:28 PM To: stann...@cumulusnetworks.com Cc: Joan Landry ; net-snmp-users@lists.sourceforge.net Subject: Re: trap changes made for VRF External email: [bart.vanass...@gmail.com] Hi Sam, Can you submit a patch that documents how to use the changes

trap changes made for VRF

2021-01-06 Thread Joan Landry
Can someone please provide a link to the documentation that describes how to get rc = netsnmp_bindtodevice(t->sock, ep->iface); to work – apparently the code that sends traps has been redesigned significantly in that NETSNMP_DS_LIB_CLIENT_ADDR no longer works as use to. What is the change

RE: snmptrapd for V3 informs

2021-01-06 Thread Joan Landry
to 5.9 I was using NETSNMP_DS_LIB_CLIENT_ADDR for the vrf source port – and when upgrading to 5.9 this no longer appears to work. Can you tell me what you changed and how to get NETSNMP_DS_LIB_CLIENT_ADDR to do what it used to do before these mods were added. Thanks, Joan Landry From: Feroz

RE: snmpd.conf security

2021-01-06 Thread Joan Landry
v3 user is added? Thanks, Joan -Original Message- From: Wes Hardaker Sent: Tuesday, January 5, 2021 3:40 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpd.conf security External email: [harda...@users.sourceforge.net

RE: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2021-01-06 Thread Joan Landry
Try to call update_config(); instead. From: chandrasekharreddy chinnapareddygari Sent: Saturday, December 12, 2020 10:54 PM To: net-snmp-cod...@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net Subject: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

net-snmp snmpd.conf question

2021-01-05 Thread Joan Landry
-A abcdefghij -x DES -X abcdefghij 10.11.12.98 I tried deleting the file, and tried removing the user info after calling update_config(); function but that results in connectivity issues. Any info on how to secure this file would be greatly appreciated. Thanks, Joan Landry Please see our privacy statement

RE: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2021-01-05 Thread Joan Landry
Thanks – but my question was regarding actually being the master agent and internally updating the net-snmp library with data received via a CLI. I believe the only way to do this is via the snmpd.conf file. So any info on this would be greatly appreciated. Thanks, From: Larry Hayes Sent:

snmpd.conf security

2021-01-05 Thread Joan Landry
the file, and tried removing the user info after calling update_config(); function but that results in connectivity issues. Any info on how to secure this file would be greatly appreciated. Thanks, Joan Landry Please see our privacy statement at https://www.adva.com/en/about-us/legal/privacy-statement

RE: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2020-12-14 Thread Joan Landry
Thanks – but my question was regarding actually being the master agent and internally updating the net-snmp library with data received via a CLI. I believe the only way to do this is via the snmpd.conf file. So any info on this would be greatly appreciated. Thanks, From: Larry Hayes Sent:

net-snmp display of bits

2014-03-27 Thread Joan Landry
When I do an snmpget on a bits object I do not get the correct results via net-snmp. The same command works fine using other management tools. SNMPv2-SMI::transmission.49.1.6.1.1.5.97.112.115.45.49.1 = STRING: It should look like this: NMPv2-SMI::transmission.49.1.6.1.1.5.97.112.115.45.49.1 =

RE: found a crash in 5.7.2 when sending informs

2014-02-11 Thread Joan Landry
To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: found a crash in 5.7.2 when sending informs On Thu, Feb 6, 2014 at 3:49 PM, Joan Landry joan.lan...@overturenetworks.commailto:joan.lan...@overturenetworks.com wrote: I am seeing a crash occur in the function

found a crash in 5.7.2 when sending informs

2014-02-06 Thread Joan Landry
I am seeing a crash occur in the function _sess_process_packet when sending an inform trap at line ((struct synch_state*)magic)-waiting = 0; Because magic is NULL. Is anyone aware of this issue or if there is an existing patch. When I test for null - the crash is avoided -

Silvercreek lexicographic test failure

2013-03-19 Thread Joan Landry
The Silvercreek test fails on a getnext of the following oid: 1.3.111.2.802.1.1.13.1.3.8.1.3.1.4294967295.2.3.4.5 Netsnmp is converting 4294967295 which is the string length of the ip address to 0, which makes the get next return 1.3.111.2.802.1.1.13.1.3.8.1.3.1.4.2.3.4.5 Which is not

get-next question

2012-10-19 Thread Joan Landry
When I walk a column in one table, and that table is empty I see that net-snmp is calling handlers for tables that are next in the oid table sequence. This can take a long time to respond if the subsequent tables are also empty. Is there a reason why net-snmp goes to the next table - when a

RE: get-next question

2012-10-19 Thread Joan Landry
Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: get-next question On 19 October 2012 18:50, Joan Landry joan.lan...@overturenetworks.com wrote: When I walk a column in one table, and that table is empty I see that net-snmp is calling handlers for tables that are next in the oid table

RE: get-next question

2012-10-19 Thread Joan Landry
, 2012 2:22 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: get-next question On 19 October 2012 18:50, Joan Landry joan.lan...@overturenetworks.com wrote: When I walk a column in one table, and that table is empty I see that net-snmp is calling handlers for tables

row-merge issue

2012-10-04 Thread Joan Landry
Issue with row merge: Can someone please explain why this would occur - is it a bug in the net-snmp rowmerge helper? If this is not the correct forum for this type of question can you tell me what email address to post this to. I send identical oid requests in one packet and get different

RE: row merge issue -possible bug

2012-10-04 Thread Joan Landry
? If not can someone tell me how to raise this issue to the net-snmp code developers? Thanks -Original Message- From: Bill Fenner [mailto:fen...@gmail.com] Sent: Thursday, October 04, 2012 10:12 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: row merge issue -possible

row merge issue -possible bug

2012-10-03 Thread Joan Landry
I am seeing an issue (possible bug) in the code where a getnext row merge results in the wrong result. Code uses row_merge helpers. Does the incoming request need to be sequentially numbered oid's to work or is this a bug in net-snmp? This fails to get the correct result: snmpgetnext -c public

row merge error

2012-09-24 Thread Joan Landry
Can anyone tell me what could cause the following error: netsnmp_assert saved_requests[i] == request failed helpers/row_merge.c:270 netsnmp_row_merge_helper_handler() I use the following registration: /*reg tables ***/ handler_ptr =

v2 traps in version v3

2011-11-09 Thread Joan Landry
Does anyone know if when you configure a unit for v3 if the v2 traps under the snmpTargetParamsMPModel = SNMP_VERSION_2 should be sent as version v3 or version v2 in the trapsess cmd. trapsess -v 2c or trapsess -v 3 Basically should the fact that my unit is declared to be v3 - mean that

probe for engine id gets stuck in 5.7

2011-10-07 Thread Joan Landry
With the following config the code get permanently stuck in status = snmp_sess_synch_response(slp, pdu, response); when probing for remote engine id. It never returns from snmp_sess_synch_response which causes a permanent shutdown of the agent. Please let me know if there is a solution for

issue with multiple engine id probes

2011-10-06 Thread Joan Landry
I am using net-snmp 5.5 and I am seeing an issue when I configure net-snmp to have more than one inform destination. I am expecting that net-snmp should be able to probe for both engineids - However what ends up happening is that the code gets stuck in the while loop at: Int

RE: waring message when using libnetsnmp.a

2011-08-16 Thread Joan Landry
Is 5.7 ok to use or is it recommended to wait for 5.7.1? thanks -Original Message- From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Sent: Monday, August 01, 2011 3:55 PM To: bend_chen Cc: net-snmp-users Subject: Re: waring message when using libnetsnmp.a On 25 July 2011 02:17,

table helpers issue

2011-07-28 Thread Joan Landry
I am using: abc_data = netsnmp_tdata_create_table(abcTable, 0); table_info = SNMP_MALLOC_TYPEDEF(netsnmp_table_registration_info); netsnmp_table_helper_add_indexes(table_info, ASN_INTEGER, ASN_UNSIGNED, 0); table_info-min_column = COLUMN_a; table_info-max_column =

RE: Seems that I found bugs related to stash_cashe in 5.7...

2011-07-27 Thread Joan Landry
Bart, I was installing the patch listed in the email below and wanted to verify the following: It possibly looks like the following line should be ifndef instead of ifdef? +++ b/agent/mibgroup/mibII/tcp.c -#ifdef NETSNMP_FEATURE_HAS_TCP_COUNT_CONNECTIONS +#ifdef

RE: snmptrapd - unable to receive traps

2011-07-12 Thread Joan Landry
should be able to get this to work. Thanks -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Tuesday, July 12, 2011 4:15 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmptrapd - unable

RE: snmptrapd - unable to receive informs

2011-06-29 Thread Joan Landry
this completely from my setup. -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Wednesday, June 29, 2011 3:39 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmptrapd - unable to receive informs

RE: snmptrapd - unable to receive informs

2011-06-29 Thread Joan Landry
Thanks so much for this info -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Wednesday, June 29, 2011 4:04 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmptrapd - unable to receive informs

snmptrapd - unable to receive informs

2011-06-28 Thread Joan Landry
I have a setup where I am running snmptrapd - and I am not able to get informs. Traps work fine, also I am able to get informs using MgSoft as the trap receiver. My setup on snmptrapd - where snmptrapd.conf is: authGroup log,execute,net -s usm groupV3 authpriv .1 -v notifyview authAccess

RE: snmptrapd - unable to receive informs

2011-06-28 Thread Joan Landry
9:36 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmptrapd - unable to receive informs On 28 June 2011 14:02, Joan Landry joan.lan...@overturenetworks.com wrote: I have a setup where I am running snmptrapd - and I am not able to get informs. Traps work fine

RE: engine boots and v3

2011-05-21 Thread Joan Landry
Please disregard this question - I updated the browser and it works fine now, Thanks -Original Message- From: Joan Landry [mailto:joan.lan...@overturenetworks.com] Sent: Saturday, May 21, 2011 3:24 AM To: net-snmp-users@lists.sourceforge.net Subject: engine boots and v3 I am using net

why is snmpEnterprise trap binding added to standard traps

2010-11-10 Thread Joan Landry
Does anyone know why net-snmp appends the enterprise specidic oid to standard traps: From code agent_trap.c: /* * 'trap_vb' should point to the snmpTrapOID.0 varbind, * identifying the requested trap. If not then bomb out. * If it's a 'standard' trap, then we

netsnmp_large_fd_set_resize

2010-11-03 Thread Joan Landry
In profiling the net-snmp code it was discovered that the function netsnmp_large_fd_set_resize is consuming a lot of cpu time. Does anyone know the ramifications of not doing the following set of code: /* * Unix: clear the file descriptors defined in the resized *fdset *

RE: Silvercreek issue

2010-07-28 Thread Joan Landry
Of Dave Shield Sent: Wednesday, July 28, 2010 5:15 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Silvercreek issue On 20 July 2010 13:43, Joan Landry joan.lan...@overturenetworks.com wrote: I am getting errors in the Lexicographic ordering tests in silvercreek using

RE: Silvercreek issue

2010-07-28 Thread Joan Landry
Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Wednesday, July 28, 2010 11:02 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Silvercreek issue On 28 July 2010 15:48, Joan Landry joan.lan

lexographic issue with get-next

2010-07-22 Thread Joan Landry
I am trying to debug the net-snmp code and would be very appreciative if someone can point me to where the function resides that takes an incoming get-next request and determines the correct instance to respond with from a lexographically perspective of the incoming request. There is a bug in

Silvercreek issue

2010-07-20 Thread Joan Landry
I am getting errors in the Lexicographic ordering tests in silvercreek using netsnmp-5.5 Does anyone know if there is a fix for these bugs in netsnmp code? When I walk the tables - the ordering is correct - but if you specify the instance on a get-next where the instance in the request is

net-snmp response

2010-07-20 Thread Joan Landry
I am setting a row in a table for a non-existant row - I am using snmpV2c so I expect to get the error noAccess - instead I am getting noSuchName. Can someone tell me how to fix this - as the Silvercreek test suite considers this an error.

RE: V3 authkey and privkey

2010-07-16 Thread Joan Landry
Thanks - I will try that. -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, July 16, 2010 5:55 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: V3 authkey and privkey On 15 July 2010 17

V3 authkey and privkey

2010-07-15 Thread Joan Landry
I need to be able to specify the authentication key and the privacy key in snmpd.conf Instead of a password and nothing I have tried has worked. For example: I tried the following: createUser v3user9 MD5 0x2131415161718191a1b1c1d1e1f12232 DES 0x2131415161718191a1b1c1d1e1f12232 where I want the

RE: Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Joan Landry
You have to use mib2c for each table and scalor: Example: mib2c -c mib2c.scalar.conf SNMP-USER-BASED-SM-MIB:usmUserSpinLock mib2c -c mib2c.table_data.conf SNMP-USER-BASED-SM-MIB:usmUserTable -Original Message- From: Stavros Tsolakos [mailto:stsola...@gmail.com] Sent: Friday, July 02,

RE: Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

2010-06-18 Thread Joan Landry
I have the very same problem - so if you find a solution can you post it to this user list also? Thanks -Original Message- From: Max [mailto:perld...@webwizarddesign.com] Sent: Friday, June 18, 2010 10:51 AM To: Dave Shield Cc: SNMP FORUM Subject: Re: Any way to have trapsink or

SNMP V3 missing components

2010-06-15 Thread Joan Landry
I have not been able to find any information on how to get the following list of SNMPV3 options to work via snmpd.conf. Does anyone know if there is a way to get these features to work in the current release (5.5) of net-snmp - or if there is any plans to have these features in the next release?

RE: How to send V3 traps from enterprise MIB modules?

2010-05-27 Thread Joan Landry
I am doing the same thing and have found after several days of trial and error that the following works for sending v3 traps in snmpd.conf Instead of using trap2sink you need to use: trapsess -l authPriv -u v3user2 -a MD5 -A abcdefgh -x DES -X abcdefgh 10.11.12.171\n); And this for sending

RE: v3 informs - snmpd.conf

2010-05-26 Thread Joan Landry
-Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, May 21, 2010 3:50 AM To: Joan Landry; Ron Rader Cc: net-snmp-users@lists.sourceforge.net Subject: Re: v3 informs - snmpd.conf On 20 May 2010 16:46, Ron Rader

RE: v3 informs - snmpd.conf

2010-05-19 Thread Joan Landry
...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Wednesday, May 19, 2010 3:59 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: v3 informs - snmpd.conf On 19 May 2010 01:04, Joan Landry joan.lan...@overturenetworks.com wrote: I would like to know

RE: v3 informs - snmpd.conf

2010-05-19 Thread Joan Landry
Thanks - I had not configured the receiving station correctly. Thanks - for the help!!! -Original Message- From: Ron Rader [mailto:ron.ra...@cipheroptics.com] Sent: Wednesday, May 19, 2010 5:56 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: RE: v3 informs

RE: v3 informs - snmpd.conf

2010-05-19 Thread Joan Landry
- From: Ron Rader [mailto:ron.ra...@cipheroptics.com] Sent: Wednesday, May 19, 2010 5:56 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: RE: v3 informs - snmpd.conf From: Joan Landry [mailto:joan.lan...@overturenetworks.com] Am I missing something? Reviewing http://www.net

v3 informs - snmpd.conf

2010-05-18 Thread Joan Landry
I would like to know if there is a way to configure net-snmp via snmpd.conf to correctly send traps or informs based on the snmpNotifyTable, snmpNotifyFilterProfileTable, snmpNotifyFilterTable, snmpTargetAddrTable, and the snmpTargetParamsTable WITH the following Restriction: I am not able to

RE: Is there a directive to disabel snmpv1 in snmpd.conf file

2009-11-13 Thread Joan Landry
Thanks -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, November 13, 2009 11:44 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Is there a directive to disabel snmpv1 in snmpd.conf

Any ideas on what could cause packets not to be received via the select cmd would be greately appreciated.

2009-11-04 Thread Joan Landry
I am trying to run net-snmp on an embedded system using Linux. I am able to compile, cross compile, link and run net-snmp. I am able to call agent_check_and_process(0) and verified that this function runs as I put a temporary printf in it and each time it is called I am able to see the output of

RE: Port to embedded platform

2009-06-17 Thread Joan Landry
: Wednesday, June 17, 2009 3:41 AM To: Vincent Bernat Cc: Joan Landry; net-snmp-users@lists.sourceforge.net Subject: Re: Port to embedded platform 2009/6/17 Vincent Bernat ber...@luffy.cx: I did not understand that you wanted to keep MIB from regular snmpd into your agent. They are not  exported

Port to embedded platform

2009-06-16 Thread Joan Landry
I am trying to port net-snmp to an embedded platform and have been able to use ./configure and make to cross compile the code. Now I am not sure what the next step is. I see there are directories that contain libnetsnmpagent.la libnetsnmp.la libnetsnmpmibs.la libnetsnmptrapd.la libsnmp.la

RE: Port to embedded platform

2009-06-16 Thread Joan Landry
anyone know how to do this? -Original Message- From: John Anderson [mailto:j...@gocoretec.com] Sent: Tuesday, June 16, 2009 10:16 AM To: Joan Landry; net-snmp-users@lists.sourceforge.net Subject: Re: Port to embedded platform This is my configure options for cross-compiling to a PPC

RE: Port to embedded platform

2009-06-16 Thread Joan Landry
[mailto:ber...@luffy.cx] Sent: Tuesday, June 16, 2009 12:29 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Port to embedded platform OoO Peu avant le début de l'après-midi du mardi 16 juin 2009, vers 13:57, Joan Landry joan.lan...@overturenetworks.com disait : I

RE: How do you get the default mibs to work when the master agent is run via init_master_agent();

2009-06-15 Thread Joan Landry
Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Saturday, June 13, 2009 6:08 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: How do you get the default mibs to work when the master agent is run via

How do you get the default mibs to work when the master agent is run via init_master_agent();

2009-06-12 Thread Joan Landry
When I run the master agent via snmpd the default mibs work fine Such as: IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:UCD-SNMP-MIB Meaning the master agent responds to the get requests for the object in these tables. When I run the master agent internally via init_master_agent(); I

Running the subaent as a master agent - how do I get the master agent to respond to get requests?

2009-06-11 Thread Joan Landry
Originally I had a subagent working with a masteragent via agentx. So I ran snmpd. Unfortunately I had a lot of timing issues and so now I am going to try to run the subagent as the master agent. My init is as follows: init_agent(snmpSubagent); init_snmp(snmpSubagent);

RE: Need help with snmp_log() msgs from snmp_agent.c

2009-05-29 Thread Joan Landry
Shield Sent: Friday, May 29, 2009 3:24 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Need help with snmp_log() msgs from snmp_agent.c 2009/5/28 Joan Landry joan.lan...@overturenetworks.com: ... to make things really simple I decided to see if I could get a debug msg out

RE: Need help with snmp_log() msgs from snmp_agent.c

2009-05-29 Thread Joan Landry
Thanks - I will look into that. Thanks again for your time -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, May 29, 2009 8:48 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Need help

Need help with snmp_log() msgs from snmp_agent.c

2009-05-28 Thread Joan Landry
I have spent a lot of time trying to get snmp_log() output from the net-snmp code, specifically the snmp_log() msgs that are sent from snmp_agent.cpp The only one I am able to get is: Received SNMP packet(s) from UDP: [10.11.12.116]:3739 GETBULK message, non-rep=0, max_rep=10 --

RE: Need help with snmp_log() msgs from snmp_agent.c

2009-05-28 Thread Joan Landry
...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, May 28, 2009 8:58 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Need help with snmp_log() msgs from snmp_agent.c 2009/5/28 Joan Landry joan.lan...@overturenetworks.com: Does anyone know what the trick is to getting all

RE: Need help with snmp_log() msgs from snmp_agent.c

2009-05-28 Thread Joan Landry
28, 2009 9:35 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Need help with snmp_log() msgs from snmp_agent.c 2009/5/28 Joan Landry joan.lan...@overturenetworks.com: Thanks - that works as far as putting the messages to a logfile. I realize now what I really want

RE: Need help with snmp_log() msgs from snmp_agent.c

2009-05-28 Thread Joan Landry
...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, May 28, 2009 10:07 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Need help with snmp_log() msgs from snmp_agent.c 2009/5/28 Joan Landry joan.lan...@overturenetworks.com: This is my

RE: Need help with snmp_log() msgs from snmp_agent.c

2009-05-28 Thread Joan Landry
. -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, May 28, 2009 10:54 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Need help with snmp_log() msgs from snmp_agent.c 2009/5/28 Joan Landry

RE: Subagent timeout

2009-05-27 Thread Joan Landry
-Original Message- From: Mike Ayers [mailto:mike_ay...@tvworks.com] Sent: Tuesday, May 26, 2009 8:32 PM To: Joan Landry; net-snmp-users@lists.sourceforge.net Subject: RE: Subagent timeout From: Joan Landry [mailto:joan.lan...@overturenetworks.com] Sent: Monday, May 25, 2009 4:56 AM I

Subagent timeout

2009-05-25 Thread Joan Landry
All, Is there a mechanism to prevent a call to agent_check_and_process(0)from shutting down the subagent from a timeout condition. I have a situation where it takes 2 minutes to reload some of the tables and unfortunately when I call agent_check_and_process after 2 minutes the code in net-snmp

syslog / debug log issue

2009-05-23 Thread Joan Landry
Does anyone know how to get the snmp_log messages turned on? In the subagent - the net-snmp code has numerous calls to snmp_log(LOG_WARNING,got %d while setting request error\n, rc); I need to know how to get these messages into a log file? Any info on this would be greatly

Net-snmp brings subagent down

2009-05-22 Thread Joan Landry
Does anyone know how to prevent net-snmp from bringing down the subagent via the call to agent_check_and_process(0); Under certain conditions I have seen the program terminate - I do not at this point know if it is via an assert or exit - the subagent process id goes away. Yet there is no

can not remove netSnmpObjects from mib walk

2009-03-05 Thread Joan Landry
Does anyone know how to remove the net-snmp enterprise mib from the list of mibs automatically supported by net-snmp? I did -Dmib_init to get a list of mibs - and I do not see any reference to the net-snmp mib listed. I tried this: ./snmpd -f -Le -Dmib_init -I -netSnmpObjects but the

RE: can not remove netSnmpObjects from mib walk

2009-03-05 Thread Joan Landry
-Dmib_init -I -netSnmpNotifications But that did not work. Thanks, Joan -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, March 05, 2009 10:29 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re

RE: How can I access the pdu in a handler

2009-02-20 Thread Joan Landry
Thanks for that explanation Joan -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, February 20, 2009 3:22 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: How can I access the pdu

How can I access the pdu in a handler

2009-02-19 Thread Joan Landry
I would like to know if there is a way to get the community name from the pdu inside a handler request? For example: int abc_handler(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo,

RE: trouble using index's with length 127

2009-02-03 Thread Joan Landry
Thanks for the answer and the reference! Joan -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Tuesday, February 03, 2009 3:13 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: trouble using

RE: snmptable problem

2008-10-04 Thread Joan Landry
no - you do not need to include removeEntry. From: Arazo Camprecios, Marc [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 3:32 AM To: Joan Landry; net-snmp-users@lists.sourceforge.net Subject: RE: snmptable problem Thanks for the reply. I've

RE: snmptable problem

2008-09-29 Thread Joan Landry
The only mib2c that I was able to get to work for tables was: mib2c -c mib2c.table_data.conf From: Arazo Camprecios, Marc [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 4:14 AM To: net-snmp-users@lists.sourceforge.net Subject: snmptable problem

RE: Generating SNMP Trap from example notification

2008-09-25 Thread Joan Landry
I think you need to use: snmp_varlist_add_variables(...) To add each variable prior to calling send_v2_trap(var_list) -Original Message- From: Duy-Ky Nguyen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2008 1:24 AM To: net-snmp-users@lists.sourceforge.net Subject: Generating

RE: Snmp statistics - snmp_get_statistic does not work

2008-09-10 Thread Joan Landry
- From: Mike Ayers [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2008 2:31 PM To: Joan Landry; Net-snmp-users Subject: RE: Snmp statistics - snmp_get_statistic does not work From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Tuesday, September 09, 2008 9

Snmp statistics - snmp_get_statistic does not work

2008-09-09 Thread Joan Landry
I would like to know if there is a way to allow a sub agent to control the object snmpEnableAuthenTraps while allowing the master agent to respond to counters in the snmp_mib such as snmpInASNParseErrs. I want to control the setting of the snmpEnableAuthenTraps in the subagent but I need the

subagent control of only one object in a mib module

2008-09-04 Thread Joan Landry
I would like to know if there is a way to control one object in a module from the subagent, yet allow the rest of the objects to be controlled by the master agent. Specifically I would like to have the subagent control (handle the get and set) for snmpEnableAuthenTraps, but allow the master

RE: A SIGHUP signal just kills snmpd daemon instead of reloading theconfig.

2008-08-04 Thread Joan Landry
NET-SNMP version 5.4.1 From: Hu, Fengliang [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2008 6:00 PM To: Joan Landry; net-snmp-users@lists.sourceforge.net Subject: RE: A SIGHUP signal just kills snmpd daemon instead of reloading theconfig. Hi, Joan, I

possible bug with mib2c.table_data.conf in octect string index's

2008-08-04 Thread Joan Landry
Does anyone know if the following is a known bug in netsnmp. I used the mib2c -c mib2c.table_data.conf to generate code to handle a table that has one index - and that index is a SnmpAdminString If the table is indexed by a string name (ASN_OCTET_STR), netsnmp incorrectly places in the first

net snmp falure - silvercreek test

2008-08-04 Thread Joan Landry
as an index. any help on this would be appreciated. thanks From: Hu, Fengliang [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2008 6:00 PM To: Joan Landry; net-snmp-users@lists.sourceforge.net Subject: RE: A SIGHUP signal just kills snmpd daemon instead

Silvercreekget-next test fails on octet string table

2008-08-04 Thread Joan Landry
I have determined that net-snmp is not correctly moving to the next oid when the table is index'd by an octect_string. Table: Oid.3.97.98.99.desc Oid.3.97.98.99.type If I do a get next on oid.129.97.99.desc - I get a response: Oid.3.97.98.99.desc I should get Oid.3.97.98.99.type Because 129

RE: A SIGHUP signal just kills snmpd daemon instead of reloading theconfig.

2008-08-01 Thread Joan Landry
kill -hup pid, where pid = the snmpd process id. worked when I tried it. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hu, Fengliang Sent: Friday, August 01, 2008 5:29 PM To: net-snmp-users@lists.sourceforge.net Subject: A SIGHUP signal just

RE: Netsnmp Security issue

2008-07-31 Thread Joan Landry
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, July 31, 2008 8:18 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Netsnmp Security issue 2008/7/31 Joan Landry [EMAIL PROTECTED]: I want netsnmp to handle certain parts

RE: Netsnmp Security issue

2008-07-31 Thread Joan Landry
Ok, thanks for your help, Given your input I opted to change the -I command from inclusion to exlusion be means of the (-) option. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, July 31, 2008 9:45 AM To: Joan Landry

RE: Running master agent and subagent not as root

2008-07-02 Thread Joan Landry
opening specified endpoint Server Exiting with code 1 Any ideas on what would cause this? Thanks for the help -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, July 02, 2008 4:14 AM To: Joan Landry Cc: net-snmp-users

RE: Running master agent and subagent not as root

2008-07-02 Thread Joan Landry
How do I change the port for _SNMP_ requests? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, July 02, 2008 9:20 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Running master agent and subagent

Running master agent and subagent not as root

2008-07-01 Thread Joan Landry
Can anyone tell me how to run the master agent and the subagent not as root? I tried adding the following to snmpd.conf master agentx agentXSocket /tmp/agentx/master agentXperms 0660 0550 nobody snmp And I added this to the subagent: netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,

RE: tablesnmpwalk on table not working via subagent - need help please

2008-05-06 Thread Joan Landry
of a get/getnext/set request is what triggers the subagent to read the current database? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Sunday, May 04, 2008 4:58 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject

RE: tablesnmpwalk on table not working via subagent - need help please

2008-05-05 Thread Joan Landry
] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Sunday, May 04, 2008 4:58 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: tablesnmpwalk on table not working via subagent - need help please Sorry for the delay in getting back to you on this. 2008/4/25 Joan Landry

RE: tablesnmpwalk on table not working via subagent - need help please

2008-04-24 Thread Joan Landry
. Is this the recommended approach instead of using the helpers? Thanks, Joan Thanks, Joan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, April 23, 2008 5:33 PM To: Joan Landry; Mike Ayers Cc: net-snmp-users@lists.sourceforge.net

tablesnmpwalk on table not working via subagent - need help please

2008-04-22 Thread Joan Landry
helper. Does this exist? Can anyone clarify for me which code in net-snmp works for the purpose of implementing a table. Thanks, Joan Landry From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Monday, April 21, 2008 11:44 AM To: net

snmpwalk on table not working via subagent - need help please

2008-04-21 Thread Joan Landry
you can give - as I am really stuck. Joan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Thursday, April 17, 2008 2:18 PM To: net-snmp-users@lists.sourceforge.net Subject: snmpwalk on table not working via subagent I have

  1   2   >