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
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
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
, 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
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 in
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
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
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
External
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
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
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: Monda
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
: 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
mailto:joan.lan...@overturenetworks.com>>
wrote:
I am seeing a crash occur in the function _sess_process_packet when sending an
infor
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 -
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 lexicogr
, 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 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
Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: get-next question
On 19 October 2012 18:50, Joan Landry 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
> sequence.
That i
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 next
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
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 result
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
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 = netsnmp_create_han
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
everyth
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 t
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 snmpv3_engineID_pro
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, bend
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 = COLU
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 NETSNMP_FEATURE_REMOVE_TCP_COUNT_C
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 to
, June 29, 2011 4:04 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: snmptrapd - unable to receive informs
On 29 June 2011 08:46, Joan Landry wrote:
> I placed the engine id of the receiver in the trapsess cmd (-e engineid of
> receiver)
> And this is what was fai
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
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
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 wrote:
> I have a setup where I am running snmptrapd - and I am not able to get
> informs.
> Traps work fine.
> my setup whe
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 log,exec
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
I am using net-snmp in an embedded platform.
Everything was working fine in v3 mode. Then the issue came where if the device
was rebooted the engineboots was always 1 - which in turn caused MgSoft to
reject all v3 packets from my device.
So I tried to fix this by keeping track of the engine boo
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
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
*
though it was 0.
-Original 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
wrote
com [mailto:dave.shi...@googlemail.com] On
Behalf 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
wrote:
> I am getting errors in the Lexicographic ordering tests in
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 t
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.
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
Lexicogr
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
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 au
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, 2010
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 trap2sink
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?
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 inform
-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
-
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
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
: dave.shi...@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
wrote:
> I would like to know if there is a way
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 all
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
Is there a directive to disable snmpv1 in snmpd.conf file
I know snmpv1 can be disabled via the configure file by using
--disable-snmpv1
But I would like to know if this is available via the snmpd.conf file so
that snmpv1 support can be turned on/off during run time.
Thanks
---
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 th
hield
Sent: 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 :
> I did not understand that you wanted to keep MIB from regular snmpd
> into your agent. They are not exporte
ernat [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" disait :
> I am t
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
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
B
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
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 ge
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");
init_m
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
73.72.2F.6C.69.62.27.20.27
.2D.2D.73.79.73.63.6F.6E.66.64.69.72.3D.2F.65.74.63.27.20.27.2D.2D.65.6E
.61.62.6C.65.2D.69.70.76.36.27.20.27.2D.2D.65.6E (hex)]
* SNMP QUERY FINISHED *
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dav
help and any info you can give me on how to get this to work.
-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
...@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 :
> This is my snmpd input line
>
> OPT
il.com] On
Behalf Of Dave Shield
Sent: Thursday, May 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 :
> Thanks - that works as far as putting the messages to a logfile.
>
> I realize no
...@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 :
> Does anyone know what the trick is to getting all the msgs to a
logfile?
Have
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
-- SNMPv2-SMI::t
hanks
-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, 2
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 s
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 apprecia
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 appare
-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
Thanks for the response - I will try this.
-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: can not remove
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 followi
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 in a
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,
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
net-snmp is reporting an error when I try to create a row where the
index length is >127
the error I get is:
illegal data attempted to be added to table serviceTable (no index)
when the following cmd is executed
netsnmp_tdata_row_add_index(row, ASN_OCTET_STR, serviceName, len);
where
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
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
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
ssage-
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: Tues
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 oth
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 agent
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
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
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 ind
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
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 ki
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
-
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 par
All,
I want netsnmp to handle certain parts of the mib tree so I start it up
with the following cmd line:
./snmpd -f -Le -I
snmpEngine,snmpMPDStats,at,ip,snmp_mib,tcp,icmp,udp,setSerialNo,ipCidrRo
uteTable,tcpConnectionTable
I want the subagnet to handle the rest of the mib tree.
When I do this
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 not
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Wednesday, July 02, 2008 8:33 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Running master agent and subagent not as root
2008/7/2 Joan Landry <[EM
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-
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,
NETSNMP_
1 - 100 of 118 matches
Mail list logo