What is the best code estrategy to reptitively query a mib variable?

2020-10-27 Thread Jose Roberto Fernandez Anahia
Hello net-snmp users and fellows, I would like to get an opnion about a doubt. Im coding in C/C++ and using single session API … well doesn’t matter to the core of my question…. just to inform. I need each 30 seconds (as quickly the agent can do) to get a three distinct MIB scalar variable

Snmpd not answering if an unknown context is used in query from client

2020-02-25 Thread daniele
Hello everybody, I'm using NET-SNMP 5.7.3 with SSL support enabled and I can properly configure the daemon to run SNMPV3 with authNoPriv users. At run time my subagent will register OIDs with a configurable context name. Everything is working perfectly. However I can see a minor but unexpected

Query on CONTAINER_CLEAR alternative for removing single entry in Table (mib2c.array-user.conf)

2018-10-10 Thread Domesan Sampath
Hi All, I am trying to implement Round Robin based Table entry clearing in NetSNMP it will update the Table for every 1 second, it will stack data upto 30 minutes (1800 Table Entries). I am using mib2c.array-user.conf for MIB Module Development, for removal of Table Entries I'm using

ospf query output

2018-05-17 Thread Fabio Santos
Hi all, My name is Fabio and I'm new on net-snmp. I'm trying to query a ospf database via snmp (OID .1.3.6.1.2.1.14.4.1.8) with python + net-snmp, but I recevei a strange bytes code outputs from net-snmp. How can I change the output to ascii or only hex info? Thanks for all, Fábio Santos

Re: How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Martin T
, a more formal approach is to read SNMPv2-MIB::sysORTable where > the agent should [indirectly] reference MIB objects it supports... > > On 12/20/2016 10:41 AM, Martin T wrote: >> Hi, >> >> am I correct that "snmpwalk -v 2c -c public ." will query all >> po

Re: How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Ilya Etingof
... On 12/20/2016 10:41 AM, Martin T wrote: > Hi, > > am I correct that "snmpwalk -v 2c -c public ." will query all > possible OIDs supported by SNMP agent in ? > > > thanks, > Martin --

How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Martin T
Hi, am I correct that "snmpwalk -v 2c -c public ." will query all possible OIDs supported by SNMP agent in ? thanks, Martin -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi

Re: IF-MIB query doesn't work on my board running net-snmp 5.7.3 - Help??

2016-11-12 Thread Bill Fenner
able --- > ifTestTable --- > ifRcvAddressTable--- > > > So it looks like ifTable (new) and ifXTable are supported in Linux. Also > by running > the net-snmp manually using -Dmib_init -H, I can see IF-MIB is getting > loaded. > >

IF-MIB query doesn't work on my board running net-snmp 5.7.3 - Help??

2016-11-09 Thread Murali Karicheri
in Linux. Also by running the net-snmp manually using -Dmib_init -H, I can see IF-MIB is getting loaded. Some reason, a query to the target from a Linux PC returns me no MIB. I see following logs at the Linux PC:- snmpwalk -v 2c -c public interfaces 2>/dev/null IF-MIB::interfaces = No more variable

Query on Linux support of if-mib (old ifTable implementation vs new)

2016-11-08 Thread Murali Karicheri
Does Linux support if-mib (new version of ifTable) or do we have to use old version (mibII/interfaces? -- Murali Karicheri Linux Kernel, Keystone -- Developer Access Program for Intel Xeon Phi Processors Access to

Re: Cisco ASA 5505 snmpwalk query

2016-03-31 Thread Fredrik Björk
Hi! As a general suggestion, do you allow reading the entire (or the same part of the) MIB tree? It's not uncommon to have setups that set specific "views" in the SNMP setup. Do an snmpbulkwalk of the entire "enterprises" tree to see how much that differs: /usr/bin/snmpbulkwalk -v2c -c

Cisco ASA 5505 snmpwalk query

2016-03-28 Thread Warren Daly (OPUS)
Hi, just wondering if anybody else noticed this issue with Cisco ASA5505 firewalls. They are both identical machines. ASA 5505 Security Plus license. Same IOS version 9.1.6, 1024Mb RAM. Almost identical configurations. Why would 1 device report cikeTun* values, and the other say 'No Such

Query regarding INFORM in netsnmp

2016-01-21 Thread Akhil Jain
Hello, I have been searching for INFORM implementation in netsnmp, but couldn't find much about it. I tried to search answers for following qn's in archives but couldn't find any. Please see, if anybody can help here with following question -- In v2C, INFORM's are supported. I want to know

Re: snmp query issue in agentX lib 5.6 due to missing endOfMibView field

2015-07-15 Thread Robert Story
ifTable i.e. upto column ifSpecific), NS [...] NS 4) But in next response time agentX does NOT set NS value-representation endOfMibView. NS NS 5) So netsnmpd keeps on querying with same OID again and NS again, since agentX does not set endOfMibView in response and NS the query is going

snmp query issue in agentX lib 5.6 due to missing endOfMibView field

2015-06-11 Thread Nilanjan Sarkar
can register the MIB correctly (we can see using handler::register token log and tcpdump). 2) Then when we query for snmptable (snmptable -v2c -c public localhost ifTable), netsnmpd sends GetNext-PUD OID (ok), 3) Then agentX replies with value in 1st request (which is ok), 4

Query regarding ssCpuRawIdle in SNMP Trap

2015-01-06 Thread tiong sanhyong
Hi guys, I have read through multiple posts regarding ssCpuRawIdle and it seems that CPU utilisation requires computation of formula, involving differential values across a time period.  1) I will like to confirm if merely ssCpuRawIdle alone can be used in a 'monitor' statement, able to

Re: Net SNMP query

2014-12-31 Thread Vivek Maurya
Thanks Pal Wes On Wed, Dec 31, 2014 at 7:48 AM, Pal pals...@gmail.com wrote: Why can't you just add sysName your-sys-name in your agents snmpd.conf file? Agent will parse this and sets the hostname accordingly. Thanks Sent from my iPhone On Dec 30, 2014, at 5:50 PM, Wes Hardaker

Net SNMP query

2014-12-30 Thread Vivek Maurya
Hi All, I have following scenario to develop, could anybody suggest how to implement it. Net SNMP has default implementation of *sysName*. I want to modify *sysName* value whenever SNMP server query, sysName is not constant it will be dynamic value. But I do not want to modify exist code of Net

Re: Net SNMP query

2014-12-30 Thread NIJESH V P
* value whenever SNMP server query, sysName is not constant it will be dynamic value. But I do not want to modify exist code of Net SNMP. Is there any way to achieve it?. -- Vivek Maurya -- Dive into the World

Re: Net SNMP query

2014-12-30 Thread NIJESH V P
: Hi All, I have following scenario to develop, could anybody suggest how to implement it. Net SNMP has default implementation of *sysName*. I want to modify *sysName* value whenever SNMP server query, sysName is not constant it will be dynamic value. But I do not want to modify exist code

Re: Net SNMP query

2014-12-30 Thread Vivek Maurya
* value whenever SNMP server query, sysName is not constant it will be dynamic value. But I do not want to modify exist code of Net SNMP. Is there any way to achieve it?. -- Vivek Maurya -- Dive into the World

Re: Net SNMP query

2014-12-30 Thread Wes Hardaker
Vivek Maurya vivek.t...@gmail.com writes: I do not want to modify SNMP exist code. You can configure the agent to remove the implementation of that variable and re-implement it using an extension instead. See the EXTENDING AGENT FUNCTIONALITY section of the snmpd.conf manual page. -- Wes

Re: Net SNMP query

2014-12-30 Thread Pal
Why can't you just add sysName your-sys-name in your agents snmpd.conf file? Agent will parse this and sets the hostname accordingly. Thanks Sent from my iPhone On Dec 30, 2014, at 5:50 PM, Wes Hardaker harda...@users.sourceforge.net wrote: Vivek Maurya vivek.t...@gmail.com writes: I do

snmpbulkget query

2014-11-29 Thread Karnati Nikhita
Hi, I was trying to use snmpbulkget but I am not able to iterate more than 100. Is there any restriction on no of iterations? For 30 iterations I was getting 60 values for two oids. But for 60 iterations the output was only 100 for two oids. Similarly for rest of them with single oids.

Re: snmpbulkget query

2014-11-29 Thread pal
, but it is not recommended to have higher values as the agent hogs memory to build such response . -suresh (palsnmp) From: Karnati Nikhita nikhi.karn...@gmail.com Date: Sat, 29 Nov 2014 23:58:24 +0530 To: net-snmp-users@lists.sourceforge.net Subject: snmpbulkget query Hi, I was trying to use

query in mib2c

2014-11-25 Thread Janki Chhatbar
Hi I am working on net-snmp since past few days. I want lldpLocChassisId from Q-BRIDGE-MIB. I have added the mib and able to translate the OIDs. Now I want to do get. I did mib2c -c mib2c.scalar.conf lldpdLocalSystemData. Janki Chhatbar M.Tech (Embedded Systems) Nirma University (+91)

Fwd: query in mib2c

2014-11-25 Thread Janki Chhatbar
Hi I am working on net-snmp since past few days. I want lldpLocChassisId from Q-BRIDGE-MIB. I have added the mib and able to translate the OIDs. Now I want to do get. I did mib2c -c mib2c.scalar.conf lldpdLocalSystemData. lldpLocSystemData.c and lldpLocSystemData.h files are generated in the

RE: query in mib2c

2014-11-25 Thread Robson, Alan
-users@lists.sourceforge.net Subject: Fwd: query in mib2c Hi I am working on net-snmp since past few days. I want lldpLocChassisId from Q-BRIDGE-MIB. I have added the mib and able to translate the OIDs. Now I want to do get. I did mib2c -c mib2c.scalar.conf lldpdLocalSystemData. lldpLocSystemData.c

Re: a query regarding AgentX and snmpd

2014-06-11 Thread sarath azad
Hello,   Could you please tell the scenario when agentx_reopen_session() and register_mib_reattach() functions be called from run_alarms() in AgentX process? Here we have a main agent “snmpd” process and snmp_agentx process.   Does these functions be called when we looses connection between

a query regarding AgentX and snmpd

2014-06-06 Thread sarath azad
  Hello,   Could you please tell the scenario when agentx_reopen_session() and register_mib_reattach() functions be called from run_alarms() in AgentX process? Here we have a main agent “snmpd” process and snmp_agentx process.   Does these functions be called when we looses connection between

Query related to memory leaks and read errors in snmptrap command

2014-02-06 Thread Chaitanya Gulhane
Hi, I was using net-snmp 5.6.2 and have built the code and installed it. I was using valgrind over snmptrap command. Following is the command I ran. valgrind --leak-check=full --log-file=log_snmptrap snmptrap -v 2c -c public localhost UCD-TRAP-TEST-MIB::demoTrap Following is the valgrind

query cable modem too slow

2014-01-07 Thread Sztrepka Pál
is the reason? (when i have ~3500 modems, at the DS SNR oid version the total query time is: ~50sec, but at the RX PWR oid version the total time is: ~7min !!!) Thanks -- Regards: Sztrepka Pál -- Rapidly troubleshoot problems

Re: query cable modem too slow

2014-01-07 Thread Fredrik Björk
to get the EPC3212 to respond in 1m15 sec for both parameters. This way you save the overhead of asking two questions and the modem compiling two answers, but the SNR query is still time consuming. What are you trying to acheive? You might get past the delay by having a background program

Re: query cable modem too slow

2014-01-07 Thread Fredrik Björk
1.3.6.1.2.1.10.127.1.1.4.1.5.3 This way, I managed to get the EPC3212 to respond in 1m15 sec for both parameters. This way you save the overhead of asking two questions and the modem compiling two answers, but the SNR query is still time consuming. What are you trying to acheive? You might get

Re: query cable modem too slow

2014-01-07 Thread Sztrepka Pál
time is ok. But: Reading the RX pwr oid is too slow. I tried several oids (from the modem) (like TX PWR, sysDescr, etc..) and every case i get the result in normal reply time, only query the RX pwr is significantly slower.. :( I tried 100 reads using a bash script: time for (( i=0 ; i-100

Query on net-snmp MIB

2013-09-18 Thread dash . linkan
Hi Team, I know this is very common question to ask about, but could find any details on it. I am sending some traps by the net-snmp client (SNMP V2) to a ticketing tool ( CA ). Where the team is asking for the MIB details. Do the net-snmp has any MIB, so that we can copy the same to the CA

snmpget with multiple oid query fails for table structures

2013-05-14 Thread Samitha Wijedasa
Hi, I'm trying to get multiple oid query responses in a single snmpget as follows from a table structure that is designed to facilitate two wifi modules. The last digit identify the particular wifi module I'm querying at the moment. In this case the module 1. snmpget -v 2c -t 2 -m -c public

Query regarding TCPPASSIVEOPENS snmp mib variable

2013-02-07 Thread Nikita Patil
hey, I am trying to access TCPPASSIVEOPENS snmp mib in ubuntu 12.04 using net-snmp 5.4.3, but it always returns value 0.Why does this happen?? Regards, Nikita R. Patil -- Free Next-Gen Firewall Hardware

Re: Query regarding wireless SNMP MIBs

2013-01-16 Thread rakesh zingade
Good to go with SNMPv2-MIB, IF-MIB and MIBs related to IEEE 802.11 standard. Moreover if required you have to implement your own MIB based on your needs with your enterprise OID. For implementing agent and MIBs refer http://www.net-snmp.org/wiki/index.php/Tutorials --rakesh On Thu, Jan 10, 2013

Query regarding wireless SNMP MIBs

2013-01-09 Thread Nikita Patil
hello, We are working on a project ' Intrusion Detection System in Wireless networks using SNMP '. We want MIBs related to wireless networks and its signal strength. Which MIBs should we use and how to compile those on snmp agent. Thankyou. Regards, Nikita.

Query regarding accessing IEEE802dot11 MIB

2013-01-07 Thread shilpa kondawar
Hello, We are currently working on a project - ' Intrusion Detection System in Wireless networks using SNMP protocol '. We want to access the value of dot11RTSFailureCount mib which is present in IEEE802dot11MIB filBut the result of snmpget for specific OID value is same :e. When

Re: Query regarding accessing IEEE802dot11 MIB

2013-01-07 Thread Dave Shield
.2.840.10036.1.1.1.7.3 = INTEGER: 1 OK - so this module is inded implementing the IEEE802dot11MIB (and you are able to query it successfully). That's a good start. iso.2.840.10036.1.5.1.2.3 = INTEGER: 0 iso.2.840.10036.1.5.1.4.3 = INTEGER: 2 iso.2.840.10036.2.1.1.1.3 = Hex-STRING: 00 22 69 27 57 A5 iso

Re: Query regarding accessing IEEE802dot11 MIB

2013-01-07 Thread shilpa kondawar
Thank You very much for the reply. I have sent .c and .h files alredy.We are not getting what is wrong with code.It seems perfectly fine.Can you please look at code and suggest some corrections. Or can anybody please send the code that supports dot11CountersTable and its subsequent children.

Re: Query regarding accessing IEEE802dot11 MIB

2013-01-07 Thread Dave Shield
On 8 January 2013 05:30, shilpa kondawar shilpa.konda...@gmail.com wrote: Thank You very much for the reply. I have sent .c and .h files alredy. When? There were no attachments to your message yesterday, and I've searched my Net-SNMP mail archive, and there are no other messages from you at

MIB query problem

2012-10-16 Thread lumir.jasiok
Hi, I have problem with one mib on Solaris system with net-snmp. I have mib of Oracle WebLogic Server (BEA-WEBLOGIC-MIB). I have it properly imported into mib directory, I can see the values from this MIB using snmptransalte (/usr/sfw/bin/snmptranslate -IR -On trapLogSubsystem) - returns value

Re: Newbie query : snmp request/response oid length

2012-09-07 Thread stavan shah
I tried it out and recompiling with the changed OID did work :) This is a Juniper Bug and is tracked by bug id: PR397705 Thanks Dave for your support. Looking forward to learn more about Net SNMP. On Thu, Aug 2, 2012 at 11:38 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 2 August 2012

Newbie query : snmp request/response oid length

2012-08-02 Thread stavan shah
Hi All, Can you please help me out with the below query. I am using the net-snmp-5.4.2.1 package and polling a few devices. I have a case where in the OID length is 128 subidentifiers. i.e breaking the sub identifier length rule in http://tools.ietf.org/html/rfc2578 But I would still like

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread Dave Shield
On 2 August 2012 12:14, stavan shah stavan2...@gmail.com wrote: I am using the net-snmp-5.4.2.1 package and polling a few devices. I have a case where in the OID length is 128 subidentifiers. i.e breaking the sub identifier length rule in http://tools.ietf.org/html/rfc2578 But I would still

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread stavan shah
Thanks a lot Dave for the super quick response. I have read few of your posts and they are definitely helping me understand things better. I completely agree to your advice below and we are in process of redesigning the MIB tables for this. But there are a considerable devices to be configured and

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread Dave Shield
On 2 August 2012 16:23, stavan shah stavan2...@gmail.com wrote: If a simple config change and recompiling can help it will be great. So wanted to understand what change am I missing in this regard. All I can suggest is you try it. That ought to work, but it's not something we've ever really

Re: SNMP query on IPv6 address

2012-01-31 Thread Dave Shield
On 21 January 2012 13:31, Avishek Chowdhury avishek.chowdh...@gmail.com wrote: # snmpget -v 3 -c public 'UDP6:[fe80::2d0:b7ff:fe21:c6c0]' sysUpTime.0 Well the first problem is that you are mixing a SNMPv1/2c community string (-c) with SNMPv3 requests.If you are using community-based

SNMP query on IPv6 address

2012-01-21 Thread Avishek Chowdhury
Hi, I'm trying to make an SNMP query on IPv6 address but getting error. Following are the version of Net-SNMP and SNMP query output. root@lnx214-92:/usr/bin/bin# snmpget -V NET-SNMP version: 5.7.1 root@lnx214-92:/usr/bin/bin# snmpget -v 3 -c public 'UDP6:[fe80::2d0:b7ff:fe21:c6c0]' sysUpTime.0

RE: how to determine table query index in snmp subagent table handler?

2011-12-21 Thread STOTTS Timothy
I have a solution. Instead of using the dataset API, I use the tdata API. INIT: netsnmp_create_handler_registration() netsnmp_tdata_create_table() netsnmp_table_helper_add_indexes() netsnmp_tdata_register() netsnmp_tdata_create_row() netsnmp_tdata_add_row() HANDLE: netsnmp_extract_table_info()

Re: how to determine table query index in snmp subagent table handler?

2011-12-21 Thread Dave Shield
On 21 December 2011 22:27, STOTTS Timothy timothy.sto...@transport.alstom.com wrote: I have a solution. Instead of using the dataset API, I use the tdata API. Does mib2c use this API in any of its table-generating modes? mib2c.table_data.conf Dave

Re: how to determine table query index in snmp subagent table handler?

2011-12-06 Thread Dave Shield
On 5 December 2011 21:27, STOTTS Timothy timothy.sto...@transport.alstom.com wrote: Thank you for your answer Dave. However, your suggestion of using the varbind list only works for single GET operations of the table entries. No - it ought to work for all requests. As a reminder, my table

RE: how to determine table query index in snmp subagent table handler?

2011-12-06 Thread STOTTS Timothy
...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Tuesday, December 06, 2011 5:44 AM To: STOTTS Timothy Cc: net-snmp-users@lists.sourceforge.net Subject: Re: how to determine table query index in snmp subagent table handler? On 5 December 2011 21:27, STOTTS Timothy

RE: how to determine table query index in snmp subagent table handler?

2011-12-05 Thread STOTTS Timothy
Timothy Cc: net-snmp-users@lists.sourceforge.net Subject: Re: how to determine table query index in snmp subagent table handler? On 10 November 2011 23:03, Dave Shield d.t.shi...@liverpool.ac.uk wrote: Example handler code: int index; for (request=requests; request; request=request-next

Re: how to determine table query index in snmp subagent table handler?

2011-11-11 Thread Dave Shield
On 10 November 2011 23:03, Dave Shield d.t.shi...@liverpool.ac.uk wrote: Example handler code:    int index;        for (request=requests; request; request=request-next) {                index = request-index; Isn't this what you are looking for? Sorry - you're right of course. This is

how to determine table query index in snmp subagent table handler?

2011-11-10 Thread STOTTS Timothy
I have a working SNMP table where my code initializes a table with a dataset and then creates initial rows with: netsnmp_create_table_data_row() The code sets columns in each row, and adds each row to the table. With just that code in place and an empty table handler, everything works

RE: how to determine table query index in snmp subagent table handler?

2011-11-10 Thread STOTTS Timothy
...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, November 10, 2011 6:03 PM To: STOTTS Timothy Cc: net-snmp-users@lists.sourceforge.net Subject: Re: how to determine table query index in snmp subagent table handler? On 10 November 2011 19:49, STOTTS Timothy

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-25 Thread anand anand
Hello Dave, I was providing the snmpd.conf file location from command line using -c option, while the snmpd alerady had SNMPCONFPATH configured. ( Although both were pointing to the same path ). Once i removed the -c option from command line the problem of duplicate Traps went away. My bad :(.

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread Dave Shield
On 20 July 2011 20:23, anand anand hianandh...@gmail.com wrote: In my snmpd.conf i have the following entry:  trap2sink 10.10.10.112:162 public  trap2sink nsn.nms.com:162 public Is this the correct syntax. Yes I read the following in snmpd.conf man page ..   This

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread anand anand
Hello Now i am able to see the trap in snmptrapd . The subagent is sending the trap to snmpd only once, but some how the output of snmptrapd shows the sent trap received 2 times. In my snmpd.conf file i have only one entry for trap2sink 10.10.10.188:162 public ./snmptrapd -f -Le -d Received

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread Dave Shield
On 21 July 2011 11:46, anand anand hianandh...@gmail.com wrote: In my snmpd.conf file i have only one entry for trap2sink  10.10.10.188:162 public Obvious question first - what is the address of the other trap2sink entry that you mentioned ? (nsn.nms.com) Dave

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread anand anand
Hello Dave, Before making the test, the NSN NMS entry was removed from the snmpd.conf file. After this the snmpd and snmptrapd were restarted. Kindly let me know any keywords which i can look at in the snmpd log which can help root cause the issue or any other information which you may need

Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread anand anand
Hello all, We are using agentx protocol to communicate between net-snmp and our application. The GET/SET/GET NEXT functionality are working fine. My query/doubt is about traps. ( I am a very new to trap/inform forwarding ) Please let me know if my understanding is correct : - Application

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread Dave Shield
On 20 July 2011 14:20, anand anand hianandh...@gmail.com wrote: Please let me know if my understanding is correct : Application sends the trap to snmpd on the NETSNMP_AGENTX_SOCKET which is /var/agentx/master. We configure trap2sink or trapsess in snmpd.conf so that snmpd  forwards

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread anand anand
Hi, In my snmpd.conf i have the following entry: trap2sink 10.10.10.112:162 public trap2sink nsn.nms.com:162 public Is this the correct syntax. I read the following in snmpd.conf man page .. This mechanism is being deprecated, and the listening port should be specified via the transport

RE: Query regarding ASYNC GET calls

2011-05-26 Thread Rahul Ravikanth Anneboina
Thank you Xiang, that worked! From: Xiang Li [mailto:xiang...@champnms.com] Sent: Monday, May 16, 2011 1:40 AM To: Rahul Ravikanth Anneboina Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Query regarding ASYNC GET calls Hi On 5/11/2011 6:34 AM, Rahul Ravikanth Anneboina wrote

Re: Query regarding ASYNC GET calls

2011-05-15 Thread Xiang Li
of the IPs. Wireshark packets show that all 256 requests have been sent and responses from the 10 printers have been received. If I break down the IP list to a bunch of 50 at a time, then I’m able to get accurate results. But when I query all 256 at one go, I have this problem. Please point

Re: query to dsx1Intervaltable always kills the subagent

2011-03-29 Thread Dave Shield
be faster, but still allows the agent to know which rows are valid in the table. Then query the rest of the information for a particular row when it's actually requested. That should allow the subagent to respond in a more timely fashion. I don't think that you've said

RE: query to dsx1Intervaltable always kills the subagent

2011-03-29 Thread Malathi Panyam
] On Behalf Of Dave Shield Sent: Tuesday, March 29, 2011 1:01 AM To: Malathi Panyam Cc: net-snmp-users@lists.sourceforge.net Subject: Re: query to dsx1Intervaltable always kills the subagent On 29 March 2011 00:25, Malathi Panyam malathi_pan...@net.com wrote: Our subagent process is taking more

RE: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Malathi Panyam
-snmp-users@lists.sourceforge.net Subject: Re: query to dsx1Intervaltable always kills the subagent On 25 March 2011 03:57, Malathi Panyam malathi_pan...@net.com wrote:    We are trying to support DS1 MIB(RFC4805) on our device. We use NetSNMP 5.4.2.1 and use the mib2c generated code for tables

Re: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Dave Shield
On 28 March 2011 17:45, Malathi Panyam malathi_pan...@net.com wrote: Now I have started seeing a core file which has the trace pointing to the line where we retrieve the index from row request #0  dsx1IntervalTable_Extract_Row (rowreq_ctx=0x18b3518) at dsx1IntervalTable_custom.cpp:115 115

RE: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Malathi Panyam
] Sent: Monday, March 28, 2011 9:45 AM To: Dave Shield Cc: net-snmp-users@lists.sourceforge.net Subject: RE: query to dsx1Intervaltable always kills the subagent I am sorry if I am not clear about my question.. 1) Dsx1IntervalTable has two indexes dsx1IntervalIndex and dsx1IntevalNumber 2) I am

Re: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Dave Shield
On 28 March 2011 17:56, Malathi Panyam malathi_pan...@net.com wrote: Just to make it clear I am inserting the row into the container at the end of the for loop below. And the complete back trace from the core file is no use to anyone who doesn't have the code :-) Dave

RE: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Malathi Panyam
@lists.sourceforge.net Subject: Re: query to dsx1Intervaltable always kills the subagent On 28 March 2011 17:56, Malathi Panyam malathi_pan...@net.com wrote: Just to make it clear I am inserting the row into the container at the end of the for loop below. And the complete back trace from the core file is no use

RE: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Malathi Panyam
time to get the response from subagent? Thanks and Regards, Malathi -Original Message- From: Malathi Panyam [mailto:malathi_pan...@net.com] Sent: Monday, March 28, 2011 10:11 AM To: Dave Shield Cc: net-snmp-users@lists.sourceforge.net Subject: RE: query to dsx1Intervaltable always kills

Re: query to dsx1Intervaltable always kills the subagent

2011-03-25 Thread Dave Shield
On 25 March 2011 03:57, Malathi Panyam malathi_pan...@net.com wrote:    We are trying to support DS1 MIB(RFC4805) on our device. We use NetSNMP 5.4.2.1 and use the mib2c generated code for tables. Our subagent for dsx1IntervaTable always getting killed when queried. I don’t find any core file

query to dsx1Intervaltable always kills the subagent

2011-03-24 Thread Malathi Panyam
Hi, We are trying to support DS1 MIB(RFC4805) on our device. We use NetSNMP 5.4.2.1 and use the mib2c generated code for tables. Our subagent for dsx1IntervaTable always getting killed when queried. I don't find any core file though. Definition of dsx1IntervalTable is Dsx1IntervalEntry ::=

Query regarding the snmp v3 encryption and privacy keys

2010-11-21 Thread Sampige, Sahana Prabhakar (STSD)
Hi, The net-snmp commands like snmpget and snmptrap take the authentication and encryption keys in plain text format. So, when I write an snmp-agent to generate traps should I store these keys in plain text format as well ? Would this not be a security concern. Please let me know your thoughts

Re: Query: SNMP Prococol

2010-10-20 Thread Queenie de Melo
as the one generating information retrieval requests. Or it may be a dedicated trap-receiving application (such as the Net-SNMP 'snmptrapd'). But the most important thing here is that the client-server relationship is reversed for traps, when compared to GET/SET requests. Another query i had

Re: Query: SNMP Prococol

2010-10-20 Thread Dave Shield
On 20 October 2010 11:20, Queenie de Melo queenie...@gmail.com wrote: We know that, the SNMP agent(Server) listens on port 161 for SNMP GET/SET requests from the SNMP Manager (Client). The SNMP Agent then sends back a response (GET-RESPONSE) to the SNMP Manager.  This will be received by the

Re: How to query host ip using net-snmp.

2010-10-20 Thread Wes Hardaker
You should start by reading our tutorials at: http://www.net-snmp.org/tutorials They talk about how to use our command line tools like snmpget to query hosts. -- Wes Hardaker Cobham Analytic Solutions -- Nokia

How to query host ip using net-snmp.

2010-10-19 Thread Benix Samuel Vincent Theogaraj
Hi, I am a newbie, just installed net-snmp on my fedora 8 laptop. How to query a host mib through net-snmp command? Benix. -- Born to explore ; Coding to live : But not for a while !! -- Download new Adobe(R) Flash(R

Query: SNMP Prococol

2010-10-18 Thread Queenie de Melo
Manager in this case listens on UDP port 162 for the Traps sent by the SNMP Agent. So in this case, is it that the SNMP Manager is not the Server and SNMP Agent is the client?? Another query i had is: what exactly are SNMP INFORMS? Read that , SNMP inform is nothing it's an acknowledgment

Re: Query: SNMP Prococol

2010-10-18 Thread Dave Shield
. Or it may be a dedicated trap-receiving application (such as the Net-SNMP 'snmptrapd'). But the most important thing here is that the client-server relationship is reversed for traps, when compared to GET/SET requests. Another query i had is: what exactly are SNMP INFORMS? A trap is sent

RE: help- SNMP does not answer to external GET query

2010-09-05 Thread Naama Bar Menachem
7:47 PM To: Naama Bar Menachem Cc: net-snmp-users@lists.sourceforge.net Subject: Re: help- SNMP does not answer to external GET query You should check: 1) it could be a firewall issue 2) the agent may not be configured to allow access from outside the device -- Wes Hardaker Cobham Analytic

Re: help- SNMP does not answer to external GET query

2010-09-03 Thread Wes Hardaker
You should check: 1) it could be a firewall issue 2) the agent may not be configured to allow access from outside the device -- Wes Hardaker Cobham Analytic Solutions -- This SF.net Dev2Dev email is sponsored by:

help- SNMP does not answer to external GET query

2010-08-30 Thread Naama Bar Menachem
I have installed Net-SNMP on a Linux machine. It is binded to port udp 161 I start it with the command: snmpd -Lo when I do snmpget -v 1 -c public localhost system.sysObjectID.0 on the same machine the snmpd is running on- I get a respond SNMPv2-MIB::sysObjectID.0 = OID: ccitt.1

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
to check agent working? waiting for you kind reply --- On Tue, 13/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users

Re: query: actual date and time of a server

2010-07-14 Thread Dave Shield
On 14 July 2010 07:06, vineet gehlot vineetgehlot9...@yahoo.com wrote: 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 The most likely causes

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July

Re: query: actual date and time of a server

2010-07-14 Thread Dave Shield
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree) OK - so the firewall was part of the problem. But there's clearly something else - probably

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July

query: actual date and time of a server

2010-07-13 Thread vineet gehlot
that has allowed SNMP access to the server query the datecheck with: ~$ snmpwalk -v2c -c public 172.18.21.174 NET-SNMP-EXTEND-MIB::nsExtendOutputFull  and i got the following error:   ~$  Timeout: No Response from 172.18.21.118 plz tell me the possible factors for this error

  1   2   3   >