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/

SNMP Table Handling

2019-05-30 Thread Krishna Chaitanya
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/33480025/ (This was helpful) examples/mibgroup/netSnmpHostsTable.c I hav

SNMP Table collecting multiple tables at once and configurable character for table holes (?)

2016-02-19 Thread Michal Klempa
Hi everybody, if this project is still alive (in sense it accepts patches), here are two of them. I was in need to collect multiple SNMP Tables at once (to save time of MIBs loading), I have extended snmptable.c to handle multiple OIDs as command line args. Source code (against 5.7.3): https://git

Working on Python SNMP table query extension, contribute?

2015-07-16 Thread [email protected]
Hi Coders, I've started to work on a small Python C extension package, incorporating your Net-SNMP Python bindings. It allows to query a SNMP table, and provides the result in form of a dictionary of dictionaries. See https://github.com/haxtibal/netsnmptable for more details, examples

Need example for net-snmp table handling

2013-02-27 Thread Suna Sana
Hi, Could you please give me the name of the files having sample table handling. I want to create a table for my application. So I need some sample programs. Thanks & Regards, Suresh -- Everyone hates slow websites. So do

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

snmp table entry creation - issue

2012-07-30 Thread Rajeesh R
Hi, 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 Is it related to my command ? or MIB adding issue Wit

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: i

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: inputF

SNMP table: How to handle empty table cells?

2012-05-29 Thread Holger Klaas
Hi, 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) Column4: inputFlowBitrate (integer32) When the

Re: How to refer an object in snmp table

2011-05-08 Thread Anil Murala
Thanks Fulko Hew Regards, Anil. On Fri, May 6, 2011 at 8:23 PM, Fulko Hew wrote: > > On Fri, May 6, 2011 at 10:29 AM, Anil Murala wrote: > >> Hi All, >>I am a newbie to SNMP. I have written 3 snmp tables. >> My question is, i have an object that is present in all the 3 tables. >> >>

Re: How to refer an object in snmp table

2011-05-06 Thread Fulko Hew
On Fri, May 6, 2011 at 10:29 AM, Anil Murala wrote: > Hi All, >I am a newbie to SNMP. I have written 3 snmp tables. > My question is, i have an object that is present in all the 3 tables. > > Is it possible for me to define in one table and get it refers in other 2 > tables? if yes >

How to refer an object in snmp table

2011-05-06 Thread Anil Murala
Hi All, I am a newbie to SNMP. I have written 3 snmp tables. My question is, i have an object that is present in all the 3 tables. Is it possible for me to define in one table and get it refers in other 2 tables? if yes How to achieve it. Any small code snippet is provided that will be

RE: SNMP Table

2010-05-02 Thread Prakash
Thanks MF, Can you please send an example to implement with two tables. -Original Message- From: Magnus Fromreide [mailto:[email protected]] Sent: Sunday, May 02, 2010 12:31 AM To: PrakashRaju Meka Cc: [email protected] Subject: Re: SNMP Table On Thu, 2010-04-01

Re: SNMP Table

2010-05-01 Thread Magnus Fromreide
On Thu, 2010-04-01 at 18:35 +0530, Prakash wrote: > Hi All, > > I have a table with two indexes. > > But I do not need the second index for all columns. > > Can we create a row with one index for some columns and two indexes > for other columns. > I want to display on snmpwalk > ABC-MIB::abcV

SNMP Table

2010-05-01 Thread Prakash
Hi All, I have a table with two indexes. But I do not need the second index for all columns. Can we create a row with one index for some columns and two indexes for other columns. Here is my sample code.. void initialize_table_abcTable(void) { static oid abcTable_oid[] = {1,3,6,1,

Re: Please help about the snmp table indexes and memory lack

2008-09-05 Thread Magnus Fromreide
On Fri, 2008-09-05 at 16:21 +0800, [EMAIL PROTECTED] wrote: > > Hello, > > I run a snmp agent developed under Net-SNMP in an embed > system, the program eats much memory when adding indexes for each > table. > > I call the following functions to initialize the table: > > netsn

Please help about the snmp table indexes and memory lack

2008-09-05 Thread SongHao
Hello, I run a snmp agent developed under Net-SNMP in an embed system, the program eats much memory when adding indexes for each table. I call the following functions to initialize the table: netsnmp_create_hander_registration(...) netsnmp_tdata_create_table(...)

Re: SNMP Table with two indexes

2008-04-30 Thread Dave Shield
2008/4/29 Baltazar Francois <[EMAIL PROTECTED]>: > But I am having trouble with tables which have indexes not followed like > that : > > Table > |-Index1 > |-Column1 > |-Index2 > |-Column2 > > > My question is, is it really possible to implement a table with two inde

SNMP Table with two indexes

2008-04-29 Thread Baltazar Francois
Hi all, I've successfully coding a table for an agent with two indexes, when indexes where followed like that : Table |--Index1 |--Index2 |--Column1 |--Column2 But I am having trouble with tables which have indexes not followed like that : Table |--

Help with snmp table

2008-03-20 Thread Baltazar Francois
-Original Message- From: Angela Lazaro Sent: Thu 3/20/2008 8:14 PM To: Baltazar Francois Subject: RE: GALILEO MGF -- MAIL PARA MAILING LIST Oi! Está bom. A nível do inglês é que se calhar fica melhor: What we are trying to do is to have only one handler... em vez de: What we are tryin

Re: SNMP Table

2005-12-12 Thread Wes Hardaker
>>>>> On Sun, 11 Dec 2005 01:14:53 +0530, "toby sebastian" <[EMAIL PROTECTED]> >>>>> said: toby> Please tell me how to implement, configure and run snmp table? toby> Please give me an example. Thanks in advance... See http://www.net-snmp.org/t

SNMP Table

2005-12-12 Thread toby sebastian
Dear All,   Please tell me how to implement, configure and run snmp table? Please give me an example. Thanks in advance...   Regards,   Toby

Re: Multiple Index in snmp table

2005-11-25 Thread Robert Story
MA> I checked the udp and tcp tables. I generated the code with few options MA> Ex: mib2c nodename followed by options 2 -> 2-> 2. MA> MA> But this code is different than the one in tcp and udp code and am MA> facing problems with this code. Please give me the options to be given MA> to mib2c co

Re: Multiple Index in snmp table

2005-11-24 Thread M.Anusha
Hi, I checked the udp and tcp tables. I generated the code with few options Ex: mib2c nodename followed by options 2 -> 2-> 2. But this code is different than the one in tcp and udp code and am facing problems with this code. Please give me the options to be given to mib2c comiler to generate

Re: Multiple Index in snmp table

2005-11-18 Thread Dave Shield
On Fri, 2005-11-18 at 15:50 +0530, M.Anusha wrote: > I am using net-snmp-5.2.1.2. Is there a support for accessing tabular > variables with multiple indices? Yes. See (for example) the 'udpTable' or 'tcpConnTable' > When I gave TABLE_SIZE parameter in > "header_simpl

Multiple Index in snmp table

2005-11-18 Thread M.Anusha
Hi, I am using net-snmp-5.2.1.2. Is there a support for accessing tabular variables with multiple indices? When I gave TABLE_SIZE parameter in "header_simple_table" as the max number of rows in that table, by default net-snmp is considering that table to have single index whereas I have 2 ind

Re: net snmp table

2005-06-28 Thread Dave Shield
On Tue, 2005-06-28 at 04:40, [EMAIL PROTECTED] wrote: > Will the mib2c compiler able to process Row Status $ cd net-snmp-5.2.1/local $ grep -il rowstatus mib2c.* mib2c.array-user.conf mib2c.check_values.conf mib2c.container.conf mib2c.iterate.conf mib2c.table_data.conf Dave -

net snmp table

2005-06-27 Thread kanda.samy
  Hi,    Will  the mib2c  compiler able to process Row Status, namely tables controlled  by a columnar object  obeying  the rowstatus convention, as defined in RFC 2579?  if not, what changes should we make in the generated code , and example code would  be helpf