Re: snmp inform

2023-06-19 Thread Pushpa Thimmaiah
Hi Kuldeep, Thank you. Unfortunately, I didnot capture packets, but there was engineID missing on SNMP manager during the test. I fixed that and noticed no snmpinforms then. So checked at snmp-agent side and noticed that snmptrap is stuck. Does 'snmptrap' not timeout if there is no engineID in

Re: snmp inform

2023-06-19 Thread Pushpa Thimmaiah
Hi Kuldeep, Thanks a lot for quick response. I did check them, it was working fine and turned into this state at some point time. GDB shows all input args from snmptrap is correct. IP is reachable. I have noticed when manager IP unreachable then it would time out with error:snmpInform: T

Re: SNMP context details are not removing from cache

2022-09-07 Thread Wes Hardaker via Net-snmp-coders
Abhishek Singh writes: > 1. The issue was existing snmpv3 details were not updated in the net-snmp > cache. > Used clear_user_list() to clear users details. The patch is in attachments. Is > this the correct way to go forward? If you're always trying to re-create users that patch may work. > 2

Re: SNMP V3 feature request

2020-09-15 Thread Larry Hayes
There TLS/DTLS support in net-snmp. http://net-snmp.sourceforge.net/wiki/index.php/Using_DTLS On Fri, Sep 11, 2020 at 11:11 PM Pavan Kumar wrote: > Hi > > For the scripted environments, the authPriv option in v3 requires the > passphrases to be given along with other options of the snmp comma

Re: SNMP proxy timeout lockup other requests

2020-07-24 Thread Wes Hardaker via Net-snmp-coders
François Isabelle writes: > I just want to being your attention to the issue reported on GitHub  > https://github.com/net-snmp/net-snmp/issues/147 and the corresponding > pull-request I submitted. Coincidentally I merged this patch yesterday, and just now found this message. -- Wes Hardaker Ple

Re: snmp agent responds to v3 requests and v2c only requests

2020-02-04 Thread Nagarjun G
Hi Larry, Thank you for responding to the question. I have tried the above situation you mentioned on a linux machine. It worked very well. But we use net-snmp in a different way in our Embedded device. We dont use the code related to reading from conf files (snmp.conf) etc. We pass the data from

Re: snmp agent responds to v3 requests and v2c only requests

2020-01-14 Thread Larry Hayes
You should be able to do what you have laid out. Here is a possible starting point. To restrict who can access SNMP and what community string they use: com2sec IP/CIDR For example: com2sec mysec 10.10.10.0/24 'my_string' all access from any IP on that subnet to get specific IP: 10.10

Re: SNMP Table Handling

2019-06-10 Thread Krishna Chaitanya
On Thu, May 30, 2019 at 2:51 PM Krishna Chaitanya wrote: > > Hi, > > I am just starting on SNMP and have a query on how to implement tables. > > I did go through forum messages and examples found below to be > helpful, but still, have doubts. > > https://sourceforge.net/p/net-snmp/mailman/message/

Re: SNMP Configuration

2019-05-28 Thread Arun Kumar
Thank you Anders wallin. Could you please give me some reference for snmp agent configuration on linux. Request you to provide linux snmp agent rpms On Thu, May 23, 2019, 12:03 Anders Wallin wrote: > Hi Arun, > > your request needs to be more specific to get an answer, but that said, > start by

Re: SNMP Configuration

2019-05-22 Thread Anders Wallin
Hi Arun, your request needs to be more specific to get an answer, but that said, start by reading http://net-snmp.sourceforge.net/wiki/index.php/Tutorials Regards Anders Wallin On Wed, May 22, 2019 at 5:23 PM Arun Kumar wrote: > Dear friends, > > i want to configure snmp configuration on linu

Re: SNMP Command

2019-05-01 Thread Niels Baggesen via Net-snmp-coders
Den 26-04-2019 kl. 17:22 skrev HOUASLI, Samir via Net-snmp-coders: I use this command: snmpd -m /home/snet/execution/staticCFG/MibCoSNET.txt -v1 -c public localhost .1.3.6.1.4.1.4747.14.5.16.2.0 which allows me to have as an output: LOG-MIB::sysOperEvalNodeCmdOrder.0 = INTEGER: oper(1) I want

Re: SNMP Configure Script Issue: When I include a header file in include/net-snmp/library/snmp_logging.h

2019-04-13 Thread prabu varadharajan
Sorry for the late update. This issue has been resolved by making use of the environmental variable CPP before configuring the source code. Previously I was trying to use CPPFLAGS and CFLAGS which were not the exact variables. On Mon, Mar 25, 2019 at 8:28 PM prabu varadharajan < prabuvaradhara...

Re: SNMP Configure Script Issue: When I include a header file in include/net-snmp/library/snmp_logging.h

2019-03-25 Thread prabu varadharajan
Dear All, As per my understanding with respect to Autoconf, I've made the following changes and still observed the same fatal errors with less number. *Changes Done with respect to configure.d:* diff --git a/configure.d/config_modules_lib b/configure.d/config_modules_lib index bb69daa..cffed6c 1

Re: SNMP Configure Script Issue: When I include a header file in include/net-snmp/library/snmp_logging.h

2019-03-22 Thread prabu varadharajan
Thanks for the quick response, Magnus. Please find the compilation options below and let me know if anything else required. libtool: compile: gcc -I../include -I. -I../snmplib -I/usr/include/libnl3 -I/home/anand/workspace/modules/snmp/explore/net-snmp-5.8.pre2/../inc/ -DNETSNMP_ENABLE_IPV6 -fno-

Re: SNMP Configure Script Issue: When I include a header file in include/net-snmp/library/snmp_logging.h

2019-03-22 Thread Magnus Fromreide
On Fri, Mar 22, 2019 at 01:15:52PM +0530, prabu varadharajan wrote: > Dear All, > > Following is my project source code hierarchy, > + src > | > + snmp > | > + my_app > | > + inc > | > + local_snmp_macros.h > + my_macr

Re: SNMP Trap not working

2017-10-06 Thread Robert Story
On Tue, 8 Aug 2017 20:42:39 + Michael wrote: MS> This is my first time working with SNMP, but after reading the MS> SNMP pages I'm still having trouble getting a simple shell MS> script to run when receiving a trap. Did you resolve this issue? MS> Now it seems that the trap does get logged, b

Re: SNMP Trap not working

2017-08-12 Thread Magnus Fromreide
On Tue, Aug 08, 2017 at 08:42:39PM +, Michael Stein wrote: > This is my first time working with SNMP, but after reading the SNMP pages I'm > still having trouble getting a simple shell script to run when receiving a > trap. > > My /etc/snmp/snmptrapd.conf file looks like this: > > # Example

Re: snmp v3 adding user

2016-12-27 Thread Pranesh Kulkarni
Hi Pushpa , Thanks for clearing doubt. Another query . I am using my own custom snmpd.conf , file /etc/snmp/snmpd_myagent.conf . I am starting agent with -C -c /etc/snmp/snmpd_myagent.conf I am adding v3 user to custom config file and in /var/lib/net-snmp/snmpd.conf user is not geting added

Re: SNMP Trap Receiver

2016-07-25 Thread Niels Baggesen
Den 25-07-2016 kl. 14:57 skrev Krishnaraj: > Dear Coders, > > I am working on a SNMP manager application in linux. I could understand > the mechanism of GET, SET requests from the sample apps. However the > mechanism of TRAP receiver is quite complex. I unable to understand it > and could not find

Re: SNMP v3 and v2

2016-06-29 Thread Pranesh Kulkarni
thanks Niels. I want to elaborate my question. I generated code for SNMPV2 using mib2c and added logic to get,set and receive the traps. Can I use the same existing code for SNMPv3 by adding user name (net-snmp-create-v3-user). To work in SNMPv3 only config changes are sufficent or do i need ti

Re: SNMP v3 and v2

2016-06-29 Thread Niels Baggesen
Den 27-06-2016 kl. 12:27 skrev Pranesh Kulkarni: > Hi All, > > I have the existence code for SNMP v3 agent generated with mib2c . Can > the same code used for V3. Yes, the same agent code is used for all SNMP protocol versions. The only difference is that SNMP v1 cannot return a Counter64 object

Re: snmp walk timeout MFD_SKIP or MFD_END_OF_DATA

2016-03-21 Thread Pranesh Kulkarni
Thanks Robert. I have added default vales in table , if process is not running. Thanks for providing the debuggig steps which helped me to understand the traversing. On Fri, Mar 4, 2016 at 7:17 PM, Robert Story wrote: > On Fri, 12 Feb 2016 16:07:29 +0530 Pranesh wrote: > PK> I have implemented

Re: snmp walk timeout MFD_SKIP or MFD_END_OF_DATA

2016-03-04 Thread Robert Story
On Fri, 12 Feb 2016 16:07:29 +0530 Pranesh wrote: PK> I have implemented subagent of 5 tables. using mib2c MFD option PK> PK> All 5 tables gives the value when my monitoring process say PK> "XYZ" is running. PK> PK> Now the problem is if my process XYZ is not running , the last PK> three tables d

Re: Snmp v3 traps not recieved by application

2015-07-15 Thread Ajit Ambekar
Hi Robert, I used init_snmp("snmptrapd") and gave the engineIDs in this file of those devices which are send me the traps. This is working for me. But the problem is, first I need to manually enter the engineID for every new device in the config file (snmptrapd.conf) I will see the set_persistent

Re: Snmp v3 traps not recieved by application

2015-07-15 Thread Robert Story
On Fri, 29 May 2015 16:14:17 +0530 Ajit wrote: AA> I have a application in C which receives snmp traps. There is a AA> issue with v3 traps. Although I have done the necessary setup. AA> I am able to receive v3 traps using the command "snmptrapd -Lo AA> -n -f". But when I run my application , no tra

Re: snmp service not starting

2014-10-21 Thread Pranesh Kulkarni
> > Email : [email protected] > > > > > > > > *From:* Pranesh Kulkarni [mailto:[email protected]] > *Sent:* Tuesday, October 14, 2014 5:00 PM > *To:* Nisha Saini > *Cc:* [email protected] > *Subject:* Re: snmp service not starting &g

Re: snmp service not starting

2014-10-14 Thread Pranesh Kulkarni
Hi If you installed by making untar the source code , /usr/local/sbin/snmpd --> it will start the snmp agent On Wed, Oct 1, 2014 at 11:12 AM, Nisha Saini wrote: > Hi > I have recently installed NET-SNMP version: 5.7.2.1 from > *http://www.net-snmp.org/* on Linux

Re: SNMP TLS snmpget error

2014-08-11 Thread sandhya reddy
I have one basic doubt. Why do we mention the their_identity in snmpget TLS request as the peers certificate info will be unknown?? our_identity will be sufficient right ? I'm trying to setup agent also locally. Using the DTLS turtorial i have done the following 1) *In Server(Agent)* i have gene

Re: SNMP TLS snmpget error

2014-08-05 Thread sandhya reddy
Hi all, By default, on Windows OS *net start "net-snmp agent"* command will start the agent on udp port 161. What is the procedure to run agent with tlstcp:10161 on Windows machine. Also is there any specific link to follow the commands in Windows for TLSTCP? Please help me. Thanks, sandhya O

Re: SNMP TLS snmpget error

2014-08-01 Thread sandhya reddy
I've included the debug options when i run snmpd daemon from which also i can see errors. root@rootuser-Veriton-Series:/home/rootuser/projects/net-snmp-5.6.2.1# s*nmpd -f -Le -Dtsm,dtls,tls,openssl,cert tlstcp:10161* registered debug token tsm, 1 registered debug token dtls, 1 registered debug to

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
Hi Bill Followig is the detailed error statement: trace: netsnmp_tdomain_transport_full(): snmp_transport.c, 478: tdomain: tdomain_transport_full("snmp", "tlstcp:10.253.6.83", 0, "udp", "[NIL]") trace: find_tdomain(): snmp_transport.c, 430: tdomain: Found domain "tlstcp" from specifier "tlstcp" t

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
Is there any way that we set the source port also when sending request?? Thanks, Sandhya On Thu, Jul 31, 2014 at 6:30 PM, sandhya reddy wrote: > Hi Bill, > > I guess that SYN not getting any response is due to *firewall issue* at > our side > > 1) Now i've tried to setup one PC as Net-SNMP Age

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
Hi Bill, I guess that SYN not getting any response is due to *firewall issue* at our side 1) Now i've tried to setup one PC as Net-SNMP Agent and other as manager. 2) On the PC which is an Agent i have started snmpd service on port 10161 using snmpd tlstcp:10161 command. This port is in LISTEN st

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
Hi Bill, I've understood bit better from your explanation. I'll follow that link. Conceptually, i understand the following. Please let me know whether I’m correct. 1) a) Net-SNMP tool can act as both SNMP manager and SNMP Agent. Or b) Net-SNMP tool acts as Manager only and test.net-snmp.org acts a

Re: SNMP TLS snmpget error

2014-07-25 Thread Bill Fenner
I followed the step by step directions from http://www.net-snmp.org/wiki/index.php/TUT:Using_TLS and got: $ snmpget -T our_identity=tutorial-joecool \ > -T their_identity=tutorial-agent \ > -t 10 tls:test.net-snmp.org sysUpTime.0 DISMAN-EVENT-MIB::sysUpTimeInstance = Timetick

Re: SNMP TLS snmpget error

2014-07-25 Thread sandhya reddy
Hi Bill, Glad to see your response. I have retrieved the entire certificate tar-ball http://www.net-snmp.org/tutorial/tutorial-5/certificates/tutorial-.snmp.tar.gz and uncompressed it. Initially, i tried to send the snmpget request to test.net-snmp.org using the certificates from the tutorial but

Re: SNMP TLS snmpget error

2014-07-24 Thread Bill Fenner
Did you configure the certificates properly? In particular, did you configure the server with the private key? Since you're using the fingerprints from the tutorial, but using your local server instead of test.net-snmp.org, where did you get the private key? It's not part of the published set of

Re: SNMP TLS snmpget error

2014-07-24 Thread sandhya reddy
Hi , Is there any one who is using SNMPv3 with TLS. Please respond. I don't find anyone showing interest. Thanks Sandhya On Wed, Jul 23, 2014 at 4:38 PM, sandhya reddy wrote: > > > Hi Coders and Users, > > I've setup NET-SNMP 5.6.2.1 and configured tsm model. > I've done this setup on two Ubu

Re: SNMP Installation error

2013-09-19 Thread Anish
. -- Anish  From: Jam To: Anish Cc: Net-snmp-coders Sent: Thursday, 19 September 2013 2:24 PM Subject: Re: SNMP Installation error Hello Anish i get this error wen trying /make command On 19.09.2013 10:21, Anish wrote: did you get this error on which

Re: snmp response OIDS

2013-09-18 Thread Anish
s OID's, Check the varbind what you are requesting for it should happen only on SNMPv3 -- Anish From: Fulko Hew To: "AR, Giridhar" Cc: "[email protected]" Sent: Wednesday, 18 September 2013 8:11 PM Subject:

Re: SNMP Installation error

2013-09-18 Thread Anish
did you get this error on which scenario ./configure or ./make or ./make install -- Anish From: Jam To: [email protected] Sent: Friday, 23 August 2013 12:50 PM Subject: SNMP Installation error Hello all, could you help me please w

Re: snmp response OIDS

2013-09-18 Thread Magnus Fromreide
On Thu, 2013-09-12 at 07:13 +, AR, Giridhar wrote: > ALL, > > We need a suggestion regarding a snmp response being sent. > Our application the sending the snmpbulkrequest of the table > nodeTable.X > to fetch the node details. snmp response contains the following OIDs > > a).1.3.6.1.6.3.15

Re: snmp response OIDS

2013-09-18 Thread Fulko Hew
On Sun, Sep 15, 2013 at 11:02 PM, AR, Giridhar wrote: > Did anybody had time to look into? FYI: Your original emails did not get delivered until today. That's why you hadn't seen any replies. ... snip ... > We need a suggestion regarding a snmp response being sent. > Our application the sendin

RE: snmp response OIDS

2013-09-18 Thread AR, Giridhar
Did anybody had time to look into? From: AR, Giridhar Sent: Friday, September 13, 2013 8:16 PM To: [email protected] Cc: Subramanian, Chandramouli; Santhanakrishnan, Ramkumar Subject: RE: snmp response OIDS Also we would like to know what is the workaround or the solution

RE: snmp response OIDS

2013-09-18 Thread AR, Giridhar
: RE: snmp response OIDS We are using the version snmpv3. From: AR, Giridhar Sent: Thursday, September 12, 2013 12:44 PM To: [email protected] Cc: Subramanian, Chandramouli; Santhanakrishnan, Ramkumar Subject: snmp response OIDS ALL, We need a suggestion regarding a snmp

RE: snmp response OIDS

2013-09-18 Thread AR, Giridhar
We are using the version snmpv3. From: AR, Giridhar Sent: Thursday, September 12, 2013 12:44 PM To: [email protected] Cc: Subramanian, Chandramouli; Santhanakrishnan, Ramkumar Subject: snmp response OIDS ALL, We need a suggestion regarding a snmp response being sent. Our app

Re: SNMP-TARGET-MIB::snmpTargetAddrTimeout

2013-08-28 Thread Leonardo Chiquitto
On Wed, Aug 28, 2013 at 7:34 AM, Magnus Fromreide wrote: > > On Mon, 2013-08-26 at 21:04 -0300, Leonardo Chiquitto wrote: > > Hi, > > > > > > This is about http://sourceforge.net/p/net-snmp/bugs/2478/. I've been > > doing some tests with the original fix and the follow-up patch and I'd > > like to

Re: SNMP-TARGET-MIB::snmpTargetAddrTimeout

2013-08-28 Thread Magnus Fromreide
On Mon, 2013-08-26 at 21:04 -0300, Leonardo Chiquitto wrote: > Hi, > > > This is about http://sourceforge.net/p/net-snmp/bugs/2478/. I've been > doing some tests with the original fix and the follow-up patch and I'd > like to ask your help to confirm if I've found a real problem or not. > > > A

RE: snmp using chroot

2013-06-12 Thread Jatin Bodarya
Jatin Bodarya Cc: 'applebupt'; [email protected] Subject: Re: snmp using chroot On Thu, Jun 13, 2013 at 10:04:02AM +0530, Jatin Bodarya wrote: > Now my issue is as my SNMP packaging is in /var partition and I suppose to > use it with CHROOT , > > Its

Re: snmp using chroot

2013-06-12 Thread Niels Baggesen
On Thu, Jun 13, 2013 at 10:04:02AM +0530, Jatin Bodarya wrote: > Now my issue is as my SNMP packaging is in /var partition and I suppose to > use it with CHROOT , > > Its just returning me how many space is available in “/var/snmp” > directory, which is ultimately /var directory... > > I want

RE: snmp using chroot

2013-06-12 Thread Jatin Bodarya
... From: applebupt [mailto:[email protected]] Sent: 13 June 2013 07:33 To: Jatin Bodarya Subject: Re: snmp using chroot Can you give your output of using snmpwalk command, we can't understand your question clearly. ��?2013-6-12锛�涓���?:27锛?Jatin Bodarya" ��锛?br> Hel

RE: SNMP SUPPORT

2013-01-28 Thread Shi, Darren
ssage- From: Niels Baggesen [mailto:[email protected]] Sent: 2013年1月28日 4:16 上午 To: Shi, Darren; [email protected] Subject: Re: SNMP SUPPORT Den 21-01-2013 10:03, Shi, Darren skrev: > I am developing a snmp agent by using NET-SNMP version 5.5 . > > I met a p

RE: SNMP SUPPORT

2013-01-28 Thread Shi, Darren
Hi Niels, Got it . Thank you very much for quick response . Thanks, Darren -Original Message- From: Niels Baggesen [mailto:[email protected]] Sent: 2013年1月28日 13:30 To: Shi, Darren Cc: [email protected] Subject: Re: SNMP SUPPORT On Mon, Jan 28, 2013 at 09

Re: SNMP SUPPORT

2013-01-27 Thread Niels Baggesen
On Mon, Jan 28, 2013 at 09:25:19AM +0800, Shi, Darren wrote: > So why we don't report initialized value zero instead of > "No data available" ? Because we then would have to increment it if a failure occurred, and we don't know how to detect that. /Niels -- Niels Baggesen - @home - Århus - Denm

Re: SNMP SUPPORT

2013-01-27 Thread Niels Baggesen
Den 21-01-2013 10:03, Shi, Darren skrev: > I am developing a snmp agent by using NET-SNMP version 5.5 . > > I met a problem when testing HOST-RESOURCE-MIB, OID: > 1.3.6.1.2.1.25.2.3.1.7(hrStorageAllocationFailures) > > It always shows "No data available" when query is made using iReasoning > MIB Br

Re: SNMP Agent engineboot

2013-01-07 Thread Dave Shield
On 7 January 2013 08:53, Zheng, Wenjie (Barclay) wrote: > I am using net-snmp provided agent. Now I'm confused. When you first posted, you said "I am trying to implement an SNMP agent using net-snmp APIs" and the code that you listed there doesn't look much like the standard Net-SNMP agent.

RE: SNMP Agent engineboot

2013-01-07 Thread Zheng, Wenjie (Barclay)
Hi Dave Thanks for your response! I am using net-snmp provided agent. But I didn't aware that snmp agent has this functionalty, and from my test result. It's not working. I didn't read the snmpv3_store thoroughly, is the old engineboots saved in the config file? Thanks, Barclay On 7 January 2

Re: SNMP Agent engineboot

2013-01-07 Thread Dave Shield
On 7 January 2013 02:45, Zheng, Wenjie (Barclay) wrote: > What I did is to store the engineboot somewhere else from Agent, > when agent restarts will read the last engineboot and increase 1, > and response with new engineboot=2 But that's exactly what the Net-SNMP library should be taking care of

RE: SNMP Agent engineboot

2013-01-06 Thread Zheng, Wenjie (Barclay)
ilto:[email protected]] On Behalf Of Dave Shield Sent: 2013年1月6日 1:56 To: Zheng, Wenjie (Barclay) Cc: [email protected]; [email protected] Subject: Re: SNMP Agent engineboot On 5 January 2013 13:21, Zheng, Wenjie (Barclay) wrote: > I try to use set_en

Re: SNMP Agent engineboot

2013-01-05 Thread Dave Shield
On 5 January 2013 13:21, Zheng, Wenjie (Barclay) wrote: > I try to use set_enginetime() by set the engineboots to a value stored in > out side of agent. I don't understand what you are trying to do here. Is this call to 'set_enginetime' in the agent, or in the manager? You shouldn't need to to

Re: SNMP Agent engineboot

2013-01-05 Thread Anish
__ From: "Zheng, Wenjie (Barclay)" To: Dave Shield Cc: "[email protected]" ; "[email protected]" Sent: Saturday, 5 January 2013 6:51 PM Subject: RE: SNMP Agent engineboot Dave Thanks for your help! >

RE: SNMP Agent engineboot

2013-01-05 Thread Zheng, Wenjie (Barclay)
Dave Thanks for your help! > But when this process re-started, and there is another request comes in, > SNMP agent will replies error:usmstatus not in timewindow. That is correct - an SNMPv3 request will fail if the boot time/count values in the request don't match the agent's idea of the curr

Re: SNMP Agent engineboot

2013-01-05 Thread Dave Shield
On 5 January 2013 03:41, Zheng, Wenjie (Barclay) wrote: > But when this process re-started, and there is another request comes in, > SNMP agent will replies error:usmstatus not in timewindow. That is correct - an SNMPv3 request will fail if the boot time/count values in the request don't match t

Re: SNMP requested timed out on windows

2013-01-04 Thread Suna Sana
This makes it works. Thanks. edit /etc/defaults/snmpd change the line: SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' with the following: SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid' then issue: sudo /etc/init.d/snmpd reload On Fri, Jan

Re: SNMP requested timed out on windows

2013-01-04 Thread Suna Sana
the netstat results netstat -a -u Proto Recv-Q Send-Q Local Address Foreign Address State udp0 0 localhost.localdom:snmp*:* On Fri, Jan 4, 2013 at 2:54 PM, Suna Sana wrote: > Its only responding to the loopback 127.0.0.1 not even for the l

Re: SNMP requested timed out on windows

2013-01-04 Thread Suna Sana
Its only responding to the loopback 127.0.0.1 not even for the local linux ip(192.168.1.90) too. snmpget -v2c -c public 127.0.0.1 1.3.6.1.2.1.1.1.0 SNMPv2-MIB::sysDescr.0 = STRING: Linux xxx snmpget -v2c -c public 192.168.1.90 1.3.6.1.2.1.1.1.0 Timeout: No Response fr

Re: SNMP requested timed out on windows

2013-01-04 Thread Dave Shield
On 4 January 2013 19:19, Niels Baggesen wrote: Is there a firewall . on the Linux host, that blocks SNMP? That was my immediate reaction too. If you're running iptables, and haven't tweaked the default settings, it probably only accepts incoming requests for specific, known services (which

Re: SNMP requested timed out on windows

2013-01-04 Thread Niels Baggesen
Den 04-01-2013 19:29, Suna Sana skrev: > I used the linux machine ip address(192.168.1.90) on the mib browser in > windows. this ip address is pinging good. What is the IP address of the Windows machine? Is there a firewall in between, or on the Linux host, that blocks SNMP? /Niels -- Niels Bag

Re: SNMP Agent log

2013-01-02 Thread Dave Shield
On 2 January 2013 08:45, Zheng, Wenjie (Barclay) wrote: > I am trying to implement an SNMP agent using net-snmp APIs, > I used below method to setup a SNMP agent process,called SNMP_agt. : > This agent works but I can not find the deamon process using "ps -ef|grep > snmpd"? What about "p

Re: SNMP PDU result types?

2012-11-04 Thread Garry
On 04.11.2012 19:35, Garry wrote: > Hi, > > after trying to find an answer on Google and digging into the net-snmp > source for a while now, I still can't seem to come up with the list of > values for the result variable field "type" ,,, I know "F" is a 64 bit > counter, C seems to be a timeticks v

Re: snmp table entry creation - issue

2012-07-31 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 31 J

Re: snmp table entry creation - issue

2012-07-30 Thread Dave Shield
On 30 July 2012 13:44, Rajeesh R wrote: > While creating a table entry using the command nmpset -v2c -c public > 192.168.3.163 .1.3.111.2.802.1.1.8.1.5.2.1.8 i 4 > I am geting a error like below > > Error in packet. > Reason: noAccess > Failed object: IEEE8021-CFM-MIB::dot1agCfmMdRowStatus Have y

Re: Snmp walk

2012-07-28 Thread Lee
On 7/26/12, Anthony Bush wrote: > Hi, > > I need a bit of help with the snmpwalk command. Im trying to run a simple > test on a network switch to see if the ports are on or off using snmpwalk > but I can't seem to figure out the proper command to use in terms of the > arguments and options that ne

Re: Snmp walk

2012-07-27 Thread Dave Shield
On 26 July 2012 16:44, Anthony Bush wrote: > I need a bit of help with the snmpwalk command. Im trying to run a simple > test on a network switch to see if the ports are on or off using snmpwalk > but I can't seem to figure out the proper command to use in terms of the > arguments and options that

Re: SNMP-errors

2012-07-26 Thread Dave Shield
On 25 July 2012 14:22, Jatin Bodarya wrote: > I can’t grab integer values with read_objid() function. Correct - you can't. That's not what this API call is for. >From the mib_api(3) man page: read_objid takes a string containing a textual version of an object identifier (in ei

Re: SNMP table: How to handle empty table cells?

2012-05-29 Thread Holger Klaas
On 29 May 2012 12:26, Dave Shield wrote: > On 29 May 2012 11:32, Holger Klaas wrote: >> I am trying to implement an SNMP table which can monitor several >> inputs. The table looks like this: >> >> Column1: inputNumber (table index: 1,2,3 ...) >> Column2: inputStatus  (disabled, signalLoss, signal

Re: SNMP table: How to handle empty table cells?

2012-05-29 Thread Dave Shield
On 29 May 2012 11:32, Holger Klaas wrote: > I am trying to implement an SNMP table which can monitor several > inputs. The table looks like this: > > Column1: inputNumber (table index: 1,2,3 ...) > Column2: inputStatus  (disabled, signalLoss, signalPresent) > Column3: inputFlowId  (unsigned32) > C

Re: Snmp message format

2012-05-28 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 28 M

Re: Snmp message format

2012-05-28 Thread Dave Shield
On 28 May 2012 14:13, Jasti Durgashree wrote: > I want to write my own c code for snmp message format. Why? > So which file I > should refer in net-snmp directory to write my own snmp header and pdu > format code and also how to map asn.1 d

Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
Thanks a lot! That helped. I ran it for port 161 where my subagent was sending the getResponse PDU. I am getting this: dumpx_send: 05 00 dumpx_send: 05 00 dumpv_send: dumpv_send:NULL NULL This seems to be the difference compared to the working condition. I need to work o

Re: SNMP walk and get not working

2012-03-27 Thread Niels Baggesen
Den 27-03-2012 16:18, Vivek Nagaraj skrev: > This is the output I got: > > root@solaris:~# snmpd -Ddump,agentx -f -Lo udp Reread what Robert wrote ... udp: (the colon is important) > Error opening specified endpoint "udp" > Server Exiting with code 1 > root@solaris:~# ps -ef | grep snmp > r

Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
This is the output I got: root@solaris:~# snmpd -Ddump,agentx -f -Lo udp No log handling enabled - turning on stderr logging registered debug token dump, 1 registered debug token agentx, 1 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert

Re: SNMP walk and get not working

2012-03-27 Thread Robert Story
On Tue, 27 Mar 2012 16:49:30 +0530 Vivek wrote: VN> Error opening specified endpoint "" VN> Server Exiting with code 1 Well it's odd that it couldn't open an endpoint. Make sure that no other agent is running, and try # snmpd -Ddump,agentx -f -Lo udp: Then start up the agentx subagent in anoth

Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
Thanks a lot for the response. Here is the output: root@solaris:/# snmpd -Ddump,agentx No log handling enabled - turning on stderr logging registered debug token dump, 1 registered debug token agentx, 1 root@solaris:/# netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp

Re: SNMP walk and get not working

2012-03-26 Thread Robert Story
On Sat, 24 Mar 2012 08:38:40 +0530 Vivek wrote: VN> Does anybody know how the agenx subagent sends the 'GetResponse' PDU VN> to the subagent once it receives the 'GetRequest', 'GetNextRequest' VN> and 'SetRequest'? The details of the agentx communication is handled by the library. You don't need t

Re: SNMP walk and get not working

2012-03-23 Thread Vivek Nagaraj
Hello, Does anybody know how the agenx subagent sends the 'GetResponse' PDU to the subagent once it receives the 'GetRequest', 'GetNextRequest' and 'SetRequest'? Is there an API that does the above work? I have following doubts: 1) What is the responsibility of the Agentx subagent with respect

Re: SNMP walk and get not working

2012-03-22 Thread Vivek Nagaraj
Niels, Thanks for your response. Mine is a AgentX net-snmp subagent. Thanks, Vivek On Thu, Mar 22, 2012 at 5:42 PM, Niels Baggesen wrote: > On Thu, Mar 22, 2012 at 04:08:07PM +0530, Vivek Nagaraj wrote: >> Any idea why I get this? Is this the issue with my subagent or the >> main agent is not p

Re: SNMP walk and get not working

2012-03-22 Thread Niels Baggesen
On Thu, Mar 22, 2012 at 04:08:07PM +0530, Vivek Nagaraj wrote: > Any idea why I get this? Is this the issue with my subagent or the > main agent is not properly configured? What kind of subagent is this? AgentX, SMUX, Proxy, ... /Niels -- Niels Baggesen - @home - Århus - Denmark - [email protected]

RE: snmp error

2012-02-27 Thread Peter Olajide
Rocommunity Trapcommunity etc. Then restarted the snmpd service. Regards Peter -Original Message- From: NetSNMP Mailbox [mailto:[email protected]] On Behalf Of Robert Story Sent: February-27-12 8:32 AM To: Peter Olajide Cc: [email protected] Subject: Re: snmp

Re: snmp error

2012-02-27 Thread Robert Story
On Tue, 21 Feb 2012 16:04:12 + Peter wrote: PO> Please can some help me resolve this snap error. PO> My snmp service is generates this error in the /var/log/snmp.log file PO> anytime I start the service on HPUX server. PO> PO> PO> Warning: no access control information configured. PO> (Con

Re: SNMP V3 Trap Sending Sub-Agent

2012-01-05 Thread Dave Shield
On 4 January 2012 17:30, Shibu George wrote: > From our sub-agent application we need to send a number of SNMP V3 traps to > our SNMP Manager application. The "expected" way to handle this within an AgentX subagent would be to pass the notifications (as AgentX traps) to the master agent, and have

Re: SNMP ver 5.7.1 make error

2011-11-08 Thread Deepak MVK
Hi Niels, Thanks for the reply. Previously I had tried installing 5.6.1.1 from a disk, since it was not working I had moved it to Desktop and the problem was solved. However unlike on my colleagues PC I as not able to get the version number after the full installation. As a reason

Re: SNMP ver 5.7.1 make error

2011-11-08 Thread Niels Baggesen
On Tue, Nov 08, 2011 at 06:17:17AM -0500, Deepak MVK wrote: > After running ./configure, when I run *make* I am getting this > error below > Assembler messages: > Fatal error: can't create .libs/snmp_client.o: Permission denied Did you run make as root earlier? /Niels -- Niels Baggesen

Re: snmp in cluster

2011-11-04 Thread Niels Baggesen
On Wed, Nov 02, 2011 at 03:59:16PM +, Alexandre James wrote: > Is this arrangement actually compliant? ie Is it perfectly valid for > different contexts/communities to return different values for the > same oids? Cisco has been doing that for years with BRIDGE-MIB on their switches. When VLAN

Re: snmp in cluster

2011-11-03 Thread Nguyen Dinh Phong
Shield To: Alexandre James Cc: Nguyen Dinh Phong ; "[email protected]" Sent: Wednesday, November 2, 2011 9:43 AM Subject: Re: snmp in cluster On 2 November 2011 15:59, Alexandre James wrote: > Is this arrangement actually compliant? ie Is it perfectly valid

Re: snmp in cluster

2011-11-03 Thread Dave Shield
On 3 November 2011 23:05, Nguyen Dinh Phong wrote: > Assuming I have AgentX tweak with all the contexts set up, can I do one > snmpwalk at the main node for the whole cluster? > snmpwalk -c public > Or am I only be able to walk one node at a time with the right context for > each node? If you'r

Re: snmp in cluster

2011-11-02 Thread Dave Shield
On 2 November 2011 15:59, Alexandre James wrote: > Is this arrangement actually compliant? ie Is it perfectly valid for different > contexts/communities to return different values for the same oids? It's certainly a valid use of contexts. Indeed - this is the whole point of having contexts at all

RE: snmp in cluster

2011-11-02 Thread Alexandre James
[mailto:[email protected]] Sent: Wednesday, November 02, 2011 4:24 AM To: Nguyen Dinh Phong Cc: [email protected] Subject: Re: snmp in cluster On 2 November 2011 01:09, Nguyen Dinh Phong wrote: > For example with the system mib: > system.sysdescr.0 for th

Re: snmp in cluster

2011-11-02 Thread Fulko Hew
On Wed, Nov 2, 2011 at 9:31 AM, Dave Shield wrote: > On 2 November 2011 13:26, Fulko Hew wrote: >> When I was forced to do this, I invented my own MIB that 'tableified' all of >> the >> information that I needed to aggregate across the 'cluster'. > > >> So as the other response said, "you can't

Re: snmp in cluster

2011-11-02 Thread Dave Shield
On 2 November 2011 13:26, Fulko Hew wrote: > When I was forced to do this, I invented my own MIB that 'tableified' all of > the > information that I needed to aggregate across the 'cluster'. > So as the other response said, "you can't add indexes to an existing MIB", > but I created my own MIB

  1   2   3   4   >