trap2sink question

2024-03-14 Thread Josef Řídký
Hi folks, I would like to ask for confirmation/correction of my understanding for following scenario: If I have in /etc/snmp/snmpd.conf file agentaddress 10.2.37.21:161 ... trap2sink 10.2.23.200 trapnni trap2sink 1.1.1.1 trapnni trap2sink 10.2.23.201 trapnni and in `~/.snmp/hosts` clientaddr 1

Re: NOOB Question - Adding Enterprise MIBs to an Agent

2021-02-28 Thread Craig Small
On Fri, 26 Feb 2021 at 10:38, Michael Klett wrote: > We have decided to use Linux for our next project so I’m working on > learning Linux at the same time that I’m tasked with adding our Enterprise > MBs to the firmware of the new project. I have been Google-ing for days > and my Google-Fu is si

NOOB Question - Adding Enterprise MIBs to an Agent

2021-02-25 Thread Michael Klett
Net SNMP Coder, I'm brand new at this, a noob. We have a working product running on an RTOS that is an SNMP Agent and it provides several MIBs / OiDs to the outside world. At this point I'm not even smart enough to know what questions I should be asking. We have decided to use Linux for our

A question for error of snmpset command

2019-11-13 Thread [email protected]
hello, I have a question of snmpset command. Do you know how to solve this problem. I execute the command "snmpset -v 3 -u [username] -l authPriv -a sha -A [password] -x aes -X [cipherkey] [ip] ".1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.3.33" x "3F FF FF FF FF FF F8". Unfo

Basic snmp_sess_close and snmp_session question

2018-10-27 Thread Nishikant Deshmukh
Hi, In the example code in README.thread under Single API use http://www.net-snmp.org/docs/README.thread.html 1) Can an snmp_pdu be cloned and sent to multiple sessions? 2) If we are getting data in a loop, can we create SNMP PDU attach them to snmp_session created before the loop and release

Re: get next implementation question

2018-09-24 Thread Wes Hardaker via Net-snmp-coders
Chen Lihua writes: Hi Chen, > I used  mib2c.iterate.conf to create skeleton code for my table, which > generated two functions: > xxx_get_first_data_point and xxx_get_next_data_point. Below is my > current implementation: ... > It worked, however, it seems not too efficient: Yes, the iterate m

get next implementation question

2018-09-10 Thread Chen Lihua
m of the linked list, and return the "my_context_data", or NULL if the "my_loop_context" is NULL. It worked, however, it seems not too efficient: each time when call the xxx_get_first_data_point(), it will loop from the header of the linked list; My questi

Re: DISMAN PING MIB test case question

2018-05-02 Thread Keith Mendoza
On Sun, Apr 29, 2018, at 9:20 AM, Bill Fenner wrote: > On Fri, Apr 27, 2018 at 12:15 PM, Keith Mendoza wrote: > > > Bill, > > > > On Thu, Apr 26, 2018, at 6:54 PM, Bill Fenner wrote: > > > I do not think the DISMAN PING module builds anywhere but Linux. I am > > not > > > a fan of the existing

Re: DISMAN PING MIB test case question

2018-05-02 Thread Bill Fenner
On Fri, Apr 27, 2018 at 12:15 PM, Keith Mendoza wrote: > Bill, > > On Thu, Apr 26, 2018, at 6:54 PM, Bill Fenner wrote: > > I do not think the DISMAN PING module builds anywhere but Linux. I am > not > > a fan of the existing implementation since it is synchronous. > > Would it be worth it to up

Re: DISMAN PING MIB test case question

2018-05-01 Thread Keith Mendoza
After looking further into what's going on with T154_dismanpingmib_simple, I discovered that the test script checks if the UID is 0 before it checks if disman/ping was enabled. https://sourceforge.net/p/net-snmp/code/merge-requests/16/ reorders the check to prevent any confusion when the module

Re: DISMAN PING MIB test case question

2018-04-27 Thread Keith Mendoza
an revisit this code after 5.8 is released? > > Bill > > > On Thu, Apr 26, 2018 at 2:01 PM, Keith Mendoza wrote: > > > I have a question about what permissions DISMAN PING MIB test case > > expects. I'm running on a macOS 12.3.4 with --enable-blumenthal-aes

Re: DISMAN PING MIB test case question

2018-04-26 Thread Bill Fenner
tible across OSes. It needs a bit of cleanup and support for sending/receiving IPv6 packets...) Bill On Thu, Apr 26, 2018 at 2:01 PM, Keith Mendoza wrote: > I have a question about what permissions DISMAN PING MIB test case > expects. I'm running on a macOS 12.3.4 with --enabl

Re: DISMAN PING MIB test case question

2018-04-26 Thread Bart Van Assche
On 04/26/18 11:01, Keith Mendoza wrote: I have a question about what permissions DISMAN PING MIB test case expects. I'm running on a macOS 12.3.4 with --enable-blumenthal-aes --with-openssl= --with-defaults. When I run make test as my normal user I get "skipped: Not permitted to

DISMAN PING MIB test case question

2018-04-26 Thread Keith Mendoza
I have a question about what permissions DISMAN PING MIB test case expects. I'm running on a macOS 12.3.4 with --enable-blumenthal-aes --with-openssl= --with-defaults. When I run make test as my normal user I get "skipped: Not permitted to create raw sockets". However, when I

Re: var_vacm_access() question

2018-03-23 Thread Bill Fenner
resents a request from the user, in which the character > string is > > encoded using the SNMP rules. It is converting this OID-encoded string > into > > a char* string so that it can look it up in its internal tables. > > > > Bill > > > > > > On Thu,

Re: var_vacm_access() question

2018-03-23 Thread Keith Mendoza
> Bill > > > On Thu, Mar 22, 2018 at 6:13 PM, Keith Mendoza wrote: >> >> My next question is then, why exactly is it basically copying parts of >> an oid into cp and basically truncating parts of it? >> >> Thanks, >> Keith >> Thanks, >> Ke

Re: var_vacm_access() question

2018-03-22 Thread Bill Fenner
compiler failed with "error: overflow in implicit constant conversion > [-Werror=overflow] on the following lines in > net-snmp-code/agent/mibII/vacm_vars.c: 382, 397, and 593. These 3 > locations have *cp++ = 255; > > So, my question is where can I get more information

var_vacm_access() question

2018-03-21 Thread Keith Mendoza
-Werror=overflow] on the following lines in net-snmp-code/agent/mibII/vacm_vars.c: 382, 397, and 593. These 3 locations have *cp++ = 255; So, my question is where can I get more information on var_vacm_access(). It appears to me it has something to do with determining group access control for a MIB

snmpd question

2018-01-11 Thread Zeinab Saboorymanesh
Hello, i am snmp starter. i want to send inform request to my local snmp server but my server dosnt respond to my request. remote snmp servers such as demosnmp have respond to inform request. i thought that the problem is due to bad snmpd configuration but i dont know how change configuration to ge

Re: snmpd question

2018-01-11 Thread Zeinab Saboorymanesh
Hello Mr/Mrs i have send my problem for you but dont recive any response by now. i wish that you can help me to handle this problem.may you help me, please? Best Regards On Tue, Jan 2, 2018 at 9:38 AM, Zeinab Saboorymanesh < [email protected]> wrote: > Hello, i am snmp starter. i wa

Re: Question about Diffie-Helman with net-snmp

2017-10-18 Thread Robert Story
On Wed, 20 Sep 2017 14:52:07 +0800 Chih-Ting wrote: CTK> I met a problem about snmpv3 Diffie-Helman with net-snmp. CTK> CTK> Cable modem use SnmpV3 Kickstart Manager Public Number to get CTK> its v3 user's password finally. CTK> SecurityName: "docsisManager" CTK> Random Number: [snip] CTK> CTK> I

Question about Diffie-Helman with net-snmp

2017-10-13 Thread Chih-Ting Kuo
Dear net-snmp-coders: I met a problem about snmpv3 Diffie-Helman with net-snmp. Cable modem use SnmpV3 Kickstart Manager Public Number to get its v3 user's password finally. SecurityName: "docsisManager" Random Number: 0x8F 0x24 0x4E 0xFE 0x0E 0x88 0x44 0xE6 0xB7 0x7C 0x26 0xF5 0x48 0x0C 0x15 0x2

RE: SNMPv3 Trap Question

2014-10-14 Thread Gary Dunlap
callback so it’s not easy to connect the dots. Thanks for responding on this. Gary From: Bill Fenner [mailto:[email protected]] Sent: Sunday, September 14, 2014 4:19 PM To: Gary Dunlap Cc: [email protected]; [email protected] Subject: Re: SNMPv3 Trap Question

Re: SNMPv3 Trap Question

2014-09-14 Thread Bill Fenner
On Wed, Sep 3, 2014 at 11:10 AM, Gary Dunlap wrote: > Hi. I’m having trouble with some of the SNMPv3 traps sent by snmpd being > rejected, and I think it’s because of the SNMPv3 replay protection > mechanism. > > > > It looks like when some event causes a reconfigure of snmpd > Can you say more

Question concerning DTLS TM in NetSNMP

2014-07-08 Thread Purvis, Ray
Hi I am currently using another software vendor's product to both build agents and a management application. I want to enable both my agents and manager application to use TLS TM for the Transport Security Model. My understanding is that NetSNMP supports TLS TM. What I don't know is how many

Question about truncating causing comm issue

2013-09-18 Thread Bao Nguyen
Hi everybody, Recently I have met the same issue as describing at http://sourceforge.net/p/net-snmp/bugs/1946/. The problem comes from the requestid field which has been filled with the number larger than 32 bit. I am using net-snmp version 5.3.0.1-25.5. As I see the issue stills in open status.

RE: Question about Net-SNMP IF-MIB on HP-UX 11.31

2013-07-24 Thread Hackley, Brian (Customer Solution Center - Unix Network L2 Support)
y, Brian (Customer Solution Center - Unix Network L2 Support) Subject: Question about Net-SNMP IF-MIB on HP-UX 11.31 Hi all, I am in HP-UX Support and occasionally we get asked "Why doesn't the HP-UX Emanate" SNMP Agent do ? Often, the Network Managers are looking for Host Resou

Re: Question about Net-SNMP IF-MIB on HP-UX 11.31

2013-07-24 Thread Johannes Schmidt-Fischer
rface-ag.com > *Cc:* Nagel, Bruce A (TCE&Q BCS ERT); Bambou, Daniel (TCE&Q BCS ERT); > Hackley, Brian (Customer Solution Center - Unix Network L2 Support) > *Subject:* Question about Net-SNMP IF-MIB on HP-UX 11.31 > > Hi all, > > I am in HP-UX Support and occasionally we

Question about Net-SNMP IF-MIB on HP-UX 11.31

2013-06-20 Thread Hackley, Brian (Customer Solution Center - Unix Network L2 Support)
, the Agent supplied with the OpenView Network Node Manager provides it, (extra money for customer). But the base Emanate Agent supplied with the OS does not. Submitted enhancement request, which is gathering dust. This week another customer asked a similar question, which was why weren't we r

Re: Consult one question

2013-06-06 Thread Magnus Fromreide
On Thu, 2013-06-06 at 01:15 -0400, Ni, Weslie wrote: > Hi, > > > > I got a question about snmpbulkwalk. > > I know snmpbulkwalk use get bulk request to query, now I wanna > generate a get bulk request with multiple items in variable-bindings. > > How to get

Re: Consult one question

2013-06-06 Thread Ilya Etingof
zeus.snmplabs.com 4.1.3_U1 1 sun4m SNMPv2-MIB::sysDescr.0 = DisplayString: SunOS zeus.snmplabs.com 4.1.3_U1 1 sun4m ... Download link: http://pysnmp.cvs.sourceforge.net/viewvc/pysnmp/pysnmp-apps/?view=tar On Jun 6, 2013, at 9:15 AM, Ni, Weslie wrote: > I got a question about snmpbulkwalk. >

Consult one question

2013-06-06 Thread Ni, Weslie
Hi, I got a question about snmpbulkwalk. I know snmpbulkwalk use get bulk request to query, now I wanna generate a get bulk request with multiple items in variable-bindings. How to get this by command line? Normally it's only one item in variable-bindings... T

Re: Question to Logfile

2013-01-30 Thread Niels Baggesen
On Tue, Jan 29, 2013 at 04:55:12PM +0100, [email protected] wrote: > My string (one of 20 different strings I tried): > snmpset -v 2c -c private 10.239.14.120 sysLocation.0 s "181005234, > Ausstellungsraum Koeln2, Rezeption, 02236-600151" -Lf c:\temp\logfile.txt First of all, move to -L option bac

Question to Logfile

2013-01-30 Thread [email protected]
Hello to All, I have just one question cause I'm to stupid to enter the correct string. I want to create a logfile of my snmpset. But I can't enter the correct string for -Lf. Can you sent me a example? My string (one of 20 different strings I tried): snmpset -v 2c -c private 10.

Newbie question

2012-11-04 Thread diffuser78
Hi, I am a total newbiew at snmpd. I am looking to get some sort of dump of the code flow and how a snmp get (get bulk and get next) request's work flow is executed. I inherited a net-snmp code with lot of modifications in place for the company I work. Given I have no prior experience in snmp, I

Question about bug 1413728

2012-09-19 Thread Steven Walter
Link for quick reference: http://sourceforge.net/tracker/index.php?func=detail&aid=1413728&group_id=12694&atid=112694 I noticed that despite a fix being provided for that bug, it has been open for 6 years. Is there something wrong with the given fix? Since there's no discussion on the bug whatso

Re: Question About Net-SNMP Version 5.3.2.2 (FW: SMS snmpWalk)

2012-04-06 Thread Dave Shield
On 5 April 2012 20:16, Kathleen Brown wrote: > What we have is a (hardware, not VMWare) server running the management > for our intrusion prevention system here on campus That would be the CampusManager system from Bradford, I presume? (We use that too) >  From a TippingPoint engineer I got the

Question About Net-SNMP Version 5.3.2.2 (FW: SMS snmpWalk)

2012-04-05 Thread Kathleen Brown
Hello Net-SNMP Coders In a last-ditch effort to try to "talk" to our server via SNMP, we saw this email address and thought we'd give it a try. I've spent time at the Net-SNMP website, the Wiki, and have learned things and tried lots of commands but we still are not finding the info we want.

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-21 Thread David Howland
On 3/20/2012 12:58 PM, Charlie Martin wrote: ... > Ah, hell. You know, trying to figure this stuff out from a standing > start is like spending two months reading stereo instructions. > Amen to that. I'm in the same boat over here. It seems an order of magnitude more complex than it should be.

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-20 Thread Dave Shield
On 20 March 2012 16:58, Charlie Martin wrote: > Ah, hell.  You know, trying to figure this stuff out from a standing start > is like spending two months reading stereo instructions. Which is why I tend to encourage people to walk for a while (use the existing SNMP agent, and get a feel for how it

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-20 Thread Charlie Martin
On 03/19/2012 02:46 AM, Dave Shield wrote: > Though I'm not convinced that the MIB you are walking is valid. > If these are a series of scalar objects, then the OIDs should all end in .0 > If they are part of a table, then all the values for a particular column > object should be of the same type.

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-19 Thread Dave Shield
On 16 March 2012 22:03, Charlie Martin wrote: >  Now I try an snmpwalk > > 1006 $ snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1.2 > .1.3.6.1.4.1.59.1.5.3.1.1.2 = STRING: "91" > > Observe that it gets back only one reply Yes - that is correct. Snmpwalk says "give me everything start

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-18 Thread Vincent Bernat
Le 19.03.2012 00:12, Charlie Martin a écrit : > Okay, one more case I want to be sure of. Let's assume that > 1.3.6.1.4.1.59.1.5.3.1.1.10 is the numerically (as opposed to > lexicographically) highest OID in the 1.3.6.1.4.1.59.1.5.3.1.1 > subgroup. How should the agent respond to > > $ snmpwalk /

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-18 Thread Charlie Martin
Okay, one more case I want to be sure of. Let's assume that 1.3.6.1.4.1.59.1.5.3.1.1.10 is the numerically (as opposed to lexicographically) highest OID in the 1.3.6.1.4.1.59.1.5.3.1.1 subgroup. How should the agent respond to $ snmpwalk /*args*/ 1.3.6.1.4.1.59.1.5.3.1.1.10 and $ snmpgetnex

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-18 Thread Charlie Martin
Yup, I think that is it, merci beaucoup! On 03/17/2012 03:24 AM, Vincent Bernat wrote: >> snmpgetnext -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1 > You should get 1.3.6.1.4.1.59.1.5.3.1.1.1 = 9 (if I remember correctly) > > Maybe you don't handle this last bit in your pass_persist script:

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-17 Thread Vincent Bernat
OoO En cette nuit nuageuse du samedi 17 mars 2012, vers 00:02, Charlie Martin disait : >> Use: >> snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1 > 1020 $ snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1 > .1.3.6.1.4.1.59.1.5.3.1.1 = No Such Instance currently exists a

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-16 Thread Charlie Martin
On 03/16/2012 04:52 PM, Vincent Bernat wrote: > Use: > snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1 1020 $ snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1 .1.3.6.1.4.1.59.1.5.3.1.1 = No Such Instance currently exists at this OID Which actually corresponds to the o

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-16 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du vendredi 16 mars 2012, vers 23:03, Charlie Martin disait : > Okay, so I've implemented a sub-agent using the pass_persist mechanism > in net-SNMP. Testing with snmpget, I can get the values expected. > Testing with snmpgetnext, I get the

pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-16 Thread Charlie Martin
0.0... 0032: 2B 06 01 04 01 3B 01 05 03 01 01 02 04 02 39 31+;91 .1.3.6.1.4.1.59.1.5.3.1.1.2 = STRING: "91" This appears to fit the FAQs -- an A1 A0 followed by an A2 A0. From the FAQ, it appears this is a sign that my agent is "not doing what was expected". My qu

Re: libsnmp15 under virtualized Debian/GNU Linux (lenny) question?

2012-01-27 Thread Robert Story
On Fri, 27 Jan 2012 09:43:11 +0200 Hristo wrote: HH> > HH> *** Counter Wrap ([email protected]) HH> > HH> [poll: 2864663][last: 43611440][insert: 18446744073668804838] HH> > HH> > This does not.. It looks like a 32bit value that got sign-e

Re: libsnmp15 under virtualized Debian/GNU Linux (lenny) question?

2012-01-26 Thread Hristo Hristov
rap.. Yep, exactly. > > HH> *** Counter Wrap ([email protected]) [poll: > HH> 2864663][last: 43611440][insert: 18446744073668804838] > > This does not.. It looks like a 32bit value that got sign-extended. The > question is, is that happening on the remote agent

Re: libsnmp15 under virtualized Debian/GNU Linux (lenny) question?

2012-01-26 Thread Robert Story
. HH> *** Counter Wrap ([email protected]) [poll: HH> 2864663][last: 43611440][insert: 18446744073668804838] This does not.. It looks like a 32bit value that got sign-extended. The question is, is that happening on the remote agent or on the poller side. HH>

libsnmp15 under virtualized Debian/GNU Linux (lenny) question?

2012-01-26 Thread Hristo Hristov
Dear list, I'm running a Debian based rtg snmp poller. As a polling daemon rtg lives on top of libsnmp (I'll list exact versions later in the message). The system was in fine working condition for a long time. A couple of days ago I mentioned a strange behavior. rtg daemon is logging every pol

Your question...

2012-01-10 Thread sujata patra
whats up...the debt collectors were so frustrating this was the ticket to my free ride I had finally hit rock bottom!http://lepszy-swiat.com/profile/19LeeGordon/";>http://lepszy-swiat.com/profile/19LeeGordon/ now the void in my life has been filledmaybe this can help you.

Question about patch 'add run_alarms() to snmp_synch_response_cb() - ID: 3042770'

2011-08-30 Thread Frankl, Martina (NSN - DE/Munich)
east, very much like what we are seeing. I've verified with gdb that the process really is running in an endless loop in snmp_synch_response_cb (it never reaches the start of snmp_synch_response_cb, but it still reaches snmp_select_info), but my rudimentary NetSNMP knowledge wasn't up to ch

Re: snmp v3 traps recieving at manager-Question

2011-08-30 Thread Dave Shield
On 30 August 2011 09:27, Ravi Kumar Kodam wrote: > I am not getting how manager comes to know about the details of > security related parameters like authUserName, authUserPasswd and authProtocol > etc of the remote agent configured user. With *any* password-based authentication mechanism, both s

snmp v3 traps recieving at manager-Question

2011-08-30 Thread Ravi Kumar Kodam
hi all, When iam sending snmp v3 trap from agent to manager it is receiving properly at manager. I am not getting how manager comes to know about the details of security related parameters like authUserName, authUserPasswd and authProtocol etc of the remote agent configured user. Write now at man

Re: HPUX question

2011-08-01 Thread Dave Shield
On 21 July 2011 21:50, Hegedus, John wrote: > ./snmpwalk -c sa1nt wpsscc00 > Timeout: No Response from wpsscc00 > Can you tell me what to look for in diagnosing this problem? There are typically two main causes of this type of failure. Either the agent isn't receiving the requests (e.g. beca

Re: HPUX question

2011-07-25 Thread Robert Story
On Thu, 21 Jul 2011 16:50:41 -0400 John wrote: HJ> I have app 100 HPUX 11.23 servers running iexpress net snmp HJ> HJ> App 25 of them have errors with snmpwalk as follows HJ> HJ> ./snmpwalk -c sa1nt wpsscc00 HJ> HJ> Timeout: No Response from wpsscc00 stop snmpd on the problem machine, and resta

HPUX question

2011-07-25 Thread Hegedus, John
I have app 100 HPUX 11.23 servers running iexpress net snmp App 25 of them have errors with snmpwalk as follows ./snmpwalk -c sa1nt wpsscc00 Timeout: No Response from wpsscc00 All others are working fine Can you tell me what to look for in diagnosing this problem? Best Regards Jo

Re: Another question about opaques types

2011-06-17 Thread Wes Hardaker
> On Thu, 16 Jun 2011 13:04:44 +0200, Leo Cacciari > said: LC> As I can not think that this was simply overlooked, I'm wondering LC> why (special opaque) types as Integer64 or Double are nowhere LC> defined. Could be that I'm simply missing the definition? Or should LC> they be added to

Another question about opaques types

2011-06-16 Thread Leo Cacciari
Hi, The question here is somewhat related to the one I posed in the mail starting the 'Using Opaque Types' but is, I feel, a little more generic. When Net-Snmp is compiled with support for the "special opaque encodings", support is added for 4 (four) types besides standard

Re: question on Diffie-Helman with net-snmp

2011-04-20 Thread Wes Hardaker
> On Wed, 20 Apr 2011 07:22:01 +0800, 吴馨 said: 吴> cable modem use SnmpV3 Kickstart Manager Public Number to get its v3 吴> user's password finally. Could you tell me which net-snmp command 吴> generate v3 user's password base on the public number and how to use 吴> the command? The diffie helma

question on Diffie-Helman with net-snmp

2011-04-20 Thread 吴馨
Hi net-snmp-coders: I'm a new learner of net-snmp. I met a problem about snmpv3 Diffie-Helman with net-snmp. It's appreciated for you to answer my quesiton. Thanks in advance. cable modem use SnmpV3 Kickstart Manager Public Number to get its v3 user's password finally. Could you tell me which

RE: non-caching scheme question...

2010-12-02 Thread Judith Walker
-caching scheme question... On Wed, 1 Dec 2010 16:39:52 -0800 Judith wrote: JW> I chose to implement one of my MIBs using a non-caching scheme with the JW> mib2c and mdf configuration and all of that. Well, now since I chose not JW> to do caching, I must call the container_load capabiliti

Re: non-caching scheme question...

2010-12-01 Thread Robert Story
On Wed, 1 Dec 2010 16:39:52 -0800 Judith wrote: JW> I chose to implement one of my MIBs using a non-caching scheme with the JW> mib2c and mdf configuration and all of that. Well, now since I chose not JW> to do caching, I must call the container_load capabilities myself. So JW> would some know

non-caching scheme question...

2010-12-01 Thread Judith Walker
I chose to implement one of my MIBs using a non-caching scheme with the mib2c and mdf configuration and all of that. Well, now since I chose not to do caching, I must call the container_load capabilities myself. So would some knowledgeable person please clue me in on where in the code to do

Re: A question on net-snmp-5.4.3

2010-12-01 Thread Wes Hardaker
Generally the Net-SNMP parser tries to be more lenient than strict. Mostly because we like to try and load and use even broken MIBs to help the end-users. However, MIB developers are very encouraged to make use of a strict checker like smilint from the libsmi package when writing MIBs. -- Wes H

A question on net-snmp-5.4.3

2010-12-01 Thread Hu Ruoheng
Dear all: The function getVarbinds(in parse.c) do not check the VB correct or not, why? Thanks. -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get m

RE: re-reading snmpd.conf file question - ifTable

2010-11-11 Thread Judith Walker
exercise, so thanks for the kernel insights. Judy -Original Message- From: Robert Story [mailto:[email protected]] Sent: Wednesday, November 10, 2010 8:22 PM To: Judith Walker Cc: [email protected] Subject: Re: re-reading snmpd.conf file question - ifTable On Tue, 9

Re: re-reading snmpd.conf file question - ifTable

2010-11-10 Thread Robert Story
On Tue, 9 Nov 2010 08:45:33 -0800 Judith wrote: JW> I believe that I found one answer to my delima wrt the ifTable not being refreshed when an interface goes away. The code actually notices that the interface went away, but it's not clear when we should simply mark an interface as down versus act

RE: re-reading snmpd.conf file question - ifTable

2010-11-09 Thread Judith Walker
I believe that I found one answer to my delima wrt the ifTable not being refreshed when an interface goes away. I found this excerpt from a Working Group Synopses, by Frank Kastenholz many years back: "A question regarding the ifTable in dynamic environments was asked. In some environ

re-reading snmpd.conf file question

2010-11-05 Thread Judith Walker
I'm finding that when reading the ifTable, some old deleted interfaces are still around. So my snmpwalk of the IfTable is showing data that is out-of-date. (By the way, ethtool does not seem to have this problem.) If I look at the /var/lib/net-snmp/snmpd.conf file, it is correct. In other wo

Re: question about ucd snmp4.2 and net snmp 5.1

2010-10-06 Thread Dave Shield
On 6 October 2010 15:57, wrote: >  I would like some > information about the difference between ucd snmp 4.2 and net snmp 5.1. Well the most important information about these two release branches is that they are both obsolete. No development or support work is being done on eithe

question about ucd snmp4.2 and net snmp 5.1

2010-10-06 Thread L . BARISSET
Dear Sir or Madam, I'm a french engineer for Akka Technologies and I would like some information about the difference between ucd snmp 4.2 and net snmp 5.1. Is there  some advantage to work with the net snmp's version?And why? How did the snmp's agent change? What are the differences on:  -the data

Re: question regarding SNMPv3 engine implementation

2010-08-08 Thread Wes Hardaker
> Q1: Which of the following the SNMPv3 engine does: a. If the product > receives response messages, the product shall conduct a timeliness > check on the SNMPv3 message. b. An SNMPv3 engine shall perform time > synchronization using authenticated messages. Yes, the Net-SNMP implementation does

question regarding SNMPv3 engine implementation

2010-08-05 Thread Eyre, Bernadette (Bernadette)
Using net-snmp version 5.4.2.1 on Linux, I have requirement to find which of these the SNMPv3 engine performs: Q1: Which of the following the SNMPv3 engine does: a. If the product receives response messages, the product shall conduct a timeliness check on the SNMPv3 message. b. An S

Re: Question adding a MIB file

2010-06-21 Thread Wes Hardaker
> On Fri, 18 Jun 2010 16:50:41 -0300, Cristian Navia > said: CN> i read the net-snmp.org webpage, check google and try different CN> things, i think im very n00b with this, but if u can help me with CN> this, would be a huge help =) "register" is a bit vague in your statements, as you d

Question adding a MIB file

2010-06-21 Thread Cristian Navia
Dears net-snmp, Im a n00b worker with this application, and im trying to "register" or "add" a MIB file to the system ones that are already registered(SNMPv2-MIB; IF-MIB; IP-MIB; UDP-MIB,ETC), im trying all this on a Windows enviroment, and the MIB file is a one personalized, but when i do snmpwal

Re: Question about SNMPv3 authentication

2010-06-19 Thread Dave Shield
> ZMM> I suspect that the values of "msgAuthoritativeEngineBoots"  and > ZMM> "msgAuthoritativeEngineTime"  change drastically when the standby > ZMM> agent becomes active.  As the newly active agent and the previous > ZMM> Active agent has the same EngineID,  the manager does not do a new > ZMM> "

Re: Question about SNMPv3 authentication

2010-06-18 Thread Wes Hardaker
> On Fri, 18 Jun 2010 18:43:42 -0700 (PDT), "Zaryab M. Munir" > said: ZMM> I suspect that the values of "msgAuthoritativeEngineBoots"  and  ZMM> "msgAuthoritativeEngineTime"  change drastically when the standby ZMM> agent becomes active.  As the newly active agent and the previous ZMM> A

Question about SNMPv3 authentication

2010-06-18 Thread Zaryab M. Munir
Hi,   I have a general question about SNMPv3 authentication:   I  have two agents, one is active while the other is in standby mode.  Both agents are configured with the same snmpEngineID value.  Both agents are using authPriv security model.  Authentication is by MD5 and Priv = DES. We are

RE: question on net-snmp privacy

2010-02-17 Thread Szudy Brett-CBS035
17, 2010 3:19 AM To: Szudy Brett-CBS035 Cc: Net-SNMP coders Subject: Re: question on net-snmp privacy [ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP c

Re: question on net-snmp privacy

2010-02-17 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 16 F

Re: question on net-snmp privacy

2010-02-16 Thread Wes Hardaker
> On Tue, 16 Feb 2010 14:45:50 +, Dave Shield > said: DS> This is a local policy decision - it's not inherent in the SNMP protocol. And to make sure you understand completely: You can also configure the VACM to only allow authenticated *and* encrypted packets. Note that the USM/VA

Re: question on net-snmp privacy

2010-02-16 Thread Dave Shield
On 16 February 2010 14:11, Bell, Adam wrote: > So if vacm is enabled - it should reject unauthenticated read and writes? The agent should accept/reject requests based on whatever the access control configuration specifies. If VACM is configured to allow unauthenticated requests, then the age

RE: question on net-snmp privacy

2010-02-16 Thread Bell, Adam
Bell, Adam Cc: Szudy Brett-CBS035; [email protected] Subject: Re: question on net-snmp privacy On 16 February 2010 13:41, Bell, Adam wrote: > That is a huge security hole.  In fact knowing this, we will have to > add some kind of extension to explicitely disallow Any pac

RE: question on net-snmp privacy

2010-02-16 Thread Bell, Adam
Subject: Re: question on net-snmp privacy On 15 February 2010 23:48, Szudy Brett-CBS035 wrote: >  It > looks like in the code that in a message received the sec level bits > only matter for validation when they are set --in ot

Re: question on net-snmp privacy

2010-02-16 Thread Dave Shield
On 16 February 2010 13:41, Bell, Adam wrote: > That is a huge security hole.  In fact knowing this, we will have to add some > kind of extension to explicitely disallow Any packet that is not > authenticated. Why? If you configure the agent using "rouser" then this will reject any unauthent

Re: question on net-snmp privacy

2010-02-16 Thread Dave Shield
On 15 February 2010 23:48, Szudy Brett-CBS035 wrote: >  It looks > like in > the code that in a message received the sec level bits only matter for > validation when they are set --in other words, privacy & auth protocols > are only

question on net-snmp privacy

2010-02-15 Thread Szudy Brett-CBS035
I have a question, and I found it asked before but not answered satisfactorily. Can anyone shed some light on this for me? It looks like in the code that in a message received the sec level bits only matter for validation when they are set --in other words, privacy & auth protocols are

Re: snmpset question.. can be possible ?

2010-01-04 Thread Dave Shield
2009/12/28 Francesco Andreozzi - Gamestorm.it : > I write some agents, all works great! > when i start a snmpd some agent have a null value.. The value of a MIB object must match the syntax defined in the MIB file. This cannot include the type NULL. The NULL syntax is only used with GET* reques

snmpset question.. can be possible ?

2009-12-28 Thread Francesco Andreozzi - Gamestorm.it
Hi all, just a question... i hope for a solution :D I write some agents, all works great! when i start a snmpd some agent have a null value.. i can work on my agent with snmpget and snmpset without problem, but my question is... there is a way to set a value to NULL with an snmpset command ? or

Re: MIBS loading question

2009-09-15 Thread Francesco Andreozzi
SOLVEd! sorry. for the answer :D i did a strace of my snmpwalk and looks for snmp.conf search i saw that my snmpwal looks for snmp.conf into /usr/local/net-snmp-5.4.2.1/share/snmp/snmp.conf i add mibs +ALL inside and now works great! tahnks ciao Francesco Francesco Andreozzi Cell +39

Re: MIBS loading question

2009-09-15 Thread Dave Shield
2009/9/15 Francesco Andreozzi : > but i put this info inside system wide snmp.conf (/etc/snmp/snmp.conf) > but when i execute my snmpwalk always same output... oid for non default > mibs! still to add -mALL Is this a vendor-supplied version of "snmpwalk", or one you compiled yourself? If you compi

Re: MIBS loading question

2009-09-15 Thread Francesco Andreozzi
ops, sorry... but i put this info inside system wide snmp.conf (/etc/snmp/snmp.conf) but when i execute my snmpwalk always same output... oid for non default mibs! still to add -mALL why this file is ignored ? thanks Francesco -- Francesco Andreozzi Cell +39-335-1823624 NetStorm S.n.c

Re: MIBS loading question

2009-09-15 Thread Dave Shield
2009/9/15 Francesco Andreozzi : > according to this page > http://net-snmp.sourceforge.net/wiki/index.php/TUT:Using_and_loading_MIBS > in my snmpd.conf i add > > mibs +ALL No - that's not what it says. Take a closer look at the name of the file that this tutorial refers to. It's not "snmpd.conf"

MIBS loading question

2009-09-15 Thread Francesco Andreozzi
Hi all, recently i write some mibs and agents. All works great, but to receive the right output i need to execute snmpwalk with -m ALL option, in order to load all my mibs files. I looks at snmpd documentation and i saw an option for snmpd.conf according to this page http://net-snmp.sourceforge.

Re: snmpd.c usage question

2009-06-26 Thread Dave Shield
2009/6/22 Need Help : > "snmpd.c" is the wrapper structure for the Net-SNMP standalone agent > application. > > After reading through the Wiki information I believe the "snmpd.c" code is > only used when you compile the subagent code directly into the main agent Hmmm That's a somewhat confusi

snmpd.c usage question

2009-06-22 Thread Need Help
"snmpd.c" is the wrapper structure for the Net-SNMP standalone agent application.  After reading through the Wiki information I believe the "snmpd.c" code is only used when you compile the subagent code directly into the main agent (ie: not using AgentX yet) for testing purposes only.  "Compil

  1   2   3   4   >