Hi Experts,
If I need to repeat entries of ABC table many times under different oid of
mib file , how can I do so ? I am not talking of MIB implementation but
actually on writing MIB.
ABCTable
abcTable
+-
abcEntry
+---abcIndex
+---abcObjectName
+---abcType
+---abcName
pHey...brbrI feel guilty that I cant provide for my family this was the
perfect solution all my options were fading fastbra
href=http://www.aoirogenkaku.com/currentevents/43MartinGreen/;http://www.aoirogenkaku.com/currentevents/43MartinGreen//a
it proved that miracles can happenbrtrust me on
pI could barely afford groceries anymore it would be insane to ignore this I
had hit an all time lowbra
href=http://zendachreda.w.interia.pl/breakingnews/27JamesWilliams/;http://zendachreda.w.interia.pl/breakingnews/27JamesWilliams//a
everything worked out in my favorbryou should consider
pwhats up...brbrthe debt collectors were so frustrating this was the
ticket to my free ride I had finally hit rock bottom!bra
href=http://lepszy-swiat.com/profile/19LeeGordon/;http://lepszy-swiat.com/profile/19LeeGordon//a
now the void in my life has been filledbrmaybe this can help you./p
pHey!brhello this is1 fortune knocking at your door literally don't ignore
thisbra
href=http://eapo.web.fc2.com/profile/33KevinArmstrong/;http://eapo.web.fc2.com/profile/33KevinArmstrong//abrtalk
to you later./p
--
phi.brthis is worth looking into more. Let me know how it goesbra
href=http://studiodom.web.fc2.com/profile/34PeterLee/;http://studiodom.web.fc2.com/profile/34PeterLee//abrbye./p
--
All the data continuously generated in
pHey, hey!brit was time to leave all my worries behind I cant believe how
much this exceeded expectations these days I stay on top of my game I just had
to share it with youbra
pHi friend...brtake a few moments and reflect on your potential economic
piece of mindbra
model that's not required.
Why so ?
From: Robert Story rst...@freesnmp.com
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders@lists.sourceforge.net
Sent: Friday, October 7, 2011 11:05 PM
Subject: Re: table_tdata framework is not loading the xxx_load
pHey Friend.brfinally my aunt gave me a push in the right direction this
turned my luck around now im making my way to the top I promise youll love
itbra
pHi Friend.brliterally don't worry about your next incoming billbra
?
From: Wes Hardaker harda...@users.sourceforge.net
To: sujata patra sujata_patra2...@yahoo.com
Cc: Wes Hardaker harda...@users.sourceforge.net; net-snmp-coders
net-snmp-coders@lists.sourceforge.net
Sent: Thursday, September 22, 2011 7:37 PM
Subject: Re: snmp v3 is not working
Hi Wes,
issue Solved. I was lot setting the SNMPCONFPATH to the persistent dir .
Thanks
From: sujata patra sujata_patra2...@yahoo.com
To: Wes Hardaker harda...@users.sourceforge.net; net-snmp-coders
net-snmp-coders@lists.sourceforge.net
Cc: net-snmp-coders net
: Wes Hardaker harda...@users.sourceforge.net
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Wednesday, September 21, 2011 9:42 PM
Subject: Re: snmp v3 is not working for the example exercise.
On Mon, 19 Sep 2011 11:28:56 -0700 (PDT
What I have done.
# net-snmp-config --create-snmpv3-user -a abcd1234 myuser
# run snmpd
# kill snmpd
copied the following line from /var/net-snmp/snmpd.conf to abc-demo.conf
usmUser 1 3 0x80001f88043078303130323033 myuser myuser NULL
.1.3.6.1.6.3.10.1.1.2 0x5def6f8f8b5f5db64efdb2796c3f7538
I tried different combination of flags
cache-flags = NETSNMP_CACHE_PRELOAD | NETSNMP_CACHE_DONT_AUTO_RELEASE;
But the rows are getting mixed up . I am in 5.4.1 version.
is Cache with table_tdata framework buggy ?
From: sujata patra sujata_patra2
I like to define an MIB(OID) and implement in extention agent . As part of that
implementation I like to run an application script ( let's say to start or
stop an application). User will throw the snmpset command to the snmp agent,
which in turn will start the 3rd party application.
is it
Hi,
I am trying to write an sample using table_tdata. using cache , I am unable
to load xxx_load() function. So I am not able to get any data using snmpcmd.
I did not do much other than implementing the _load and _free() hooks.
What's the wrong I am doing ?
I do not have anything to
That's true. I like the cache concept. My data is outside the agent. So I have
to pull the data from different processes. I read in some net-smp page (did not
remember now) that if the data is outside the agent , table_tdata is not
sutable. I might be wrong in my understanding.
So if you've
As such, you should post your question and WAIT for an answer.
Nagging us for an immediate response is unlikely to be popular or effective.
I do not have any thing to say but, I will keep this in mind.
Though personally, if you're using a cache-based approach,
then I can't see the point
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Wednesday, August 24, 2011 1:18 PM
Subject: Re: is there any way I can avoid global variable?
On 23 August
to keep the same
cache for both the table oids.
is it possible to do so ? How can I do so ?
--- On Tue, 8/23/11, Dave Shield d.t.shi...@liverpool.ac.uk wrote:
From: Dave Shield d.t.shi...@liverpool.ac.uk
Subject: Re: is there any way I can avoid global variable?
To: sujata patra sujata_patra2
variable?
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Date: Tuesday, August 23, 2011, 12:17 AM
On 22 August 2011 17:36, sujata patra sujata_patra2...@yahoo.com wrote:
Let 's take tcpTable.c ... I do not like the global variable.
Instead
Let 's take tcpTable.c Where the list head node in pointed to by an global
variable tcp_head.
This list is modified by tcpTable_load(), tcpTable_free() etc.
I do not like the global variable. Instead is there way way to pass this as
argument across functions . can this two netsnmp_cache *cache,
Thank you sir.I need to relook before I ask something.
--- On Wed, 8/17/11, Dave Shield d.t.shi...@liverpool.ac.uk wrote:
From: Dave Shield d.t.shi...@liverpool.ac.uk
Subject: Re: Idea to save snmpwalk o/p in to database ?
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp
Hi,
As far as I know , SNMP datas are in ASN.1 format . How can I save the data in
database ?
Problems is the keys. Parent table index and child table index makes the key
for the child table.
It is not guranteed that the same index will be always be there for dynmic
table/ dynamic rows.
How
surely I will look into snmptrapd_sql.c Problems is the keys. Parent table
index and child table index makes the key for the child table.
I'm sorry - I don't understand what you mean by this.
SNMP doesn't have a concept of parent tables and child tables.
A table is a table is a table.
Sorry to
I like to display the OID as string. So instead of integer I have chosen some
char* as the key
initialize_table_messageTable(void) {
netsnmp_table_helper_add_indexes(table_info, ASN_INTEGER,
I have added in snmpd.conf
agentAddress 127.0.0.1:11161
If I give snmpwalk request from localhost , it works fine . But from remote
host it does not work.
from remote host I am giving reving request as
# snmpwalk -v1 -c public hostname:161 oid
From local host
# snmpwalk -v1 -c public
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Tue, March 22, 2011 3:49:25 PM
Subject: Re: register_premib_handler ?
On 22 March 2011 10:06, sujata patra sujata_patra2
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Wed, March 23, 2011 4:57:34 PM
Subject: Re: register_premib_handler ?
On 23 March 2011 10:20, sujata patra
.
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Tue, March 22, 2011 2:51:58 PM
Subject: Re: register_premib_handler ?
On 22 March 2011 06:56, sujata patra sujata_patra2...@yahoo.com
As per asn1.h
struct counter64
{
u_long
high;
That's great . Thanks to all .
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Thu, March 3, 2011 1:55:16 PM
Subject: Re: persistency ?
On 3 March 2011 05
Let's say myagent implements the oid 1.3.6.1.4.1.11456.3.3.
Host1 is running snmpd and configured to allow agentx connection.
host2, host3, host4 is running the myagent and wants to connect to host1
simultaneouly. will it be possible ?
Can you please tell me what will to 3 sets of data ?
From: Magnus Fromreide ma...@lysator.liu.se
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Fri, March 4, 2011 12:26:44 AM
Subject: Re: when the agent has been from multiple hosts,
On Thu, Mar 03
While shutting down it is trying to save some data. I am running my agent as
master-agent as non-root. As the permission is not there it shows the bewlo
informations.
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/xxx.conf
read_config_store open
,
strlen(table_entry-messageId));
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Thu, February 24, 2011 2:30:47 PM
Subject
Thanks Dave. Let me have a relook and I will come back to this.
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Thu, February 24, 2011 5:32:12 PM
Subject
I have just gone through the link
http://www.net-snmp.org/wiki/index.php/Table_iterator
If you are concerned thatthe data you are iterating over will change or
vanish between the time the iterator functions are called and the time the
handler is called to process a request, but you don't
Hi ,
I have used mib2c.iterate.conf and using cache to generate the code. it frees
everytime cache expires by calling XXXTable_free() function. caching is
excellent feature.
I was expecting that once the memory is freed up , it will be reloaded when
there is a snmp request(snmpwalk ) from the
Hi,
I have problem of freeing the messageTable_head linked list. I found it frees
everytime cache expires by calling messageTable_free(). But I do not want that
to be freed everytime. It will be created at start time and want to be freed at
shutdown.
I have shown this by File* fp. But actually
mib2c.iterate.conf as the template.
From: Magnus Fromreide ma...@lysator.liu.se
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders net-snmp-coders@lists.sourceforge.net
Sent: Tue, January 25, 2011 12:00:17 PM
Subject: Re: code generation is wrong
Thanks /MF . I hope , I have to provide extern 'c' linkage for the net-snmp
header file inclusion.
From: Magnus Fromreide ma...@lysator.liu.se
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders@lists.sourceforge.net
Sent: Mon, January 24, 2011 1
I found mib2c generated code contains data type mismatch .
Generated structure looks below
/* Typical data structure for a row entry */
struct messageTable_entry {
/* Index values */
long messageIndex;
/* Column values */
U64 sentMsgCount;
long errorMsgCount;
long
Hi,
Is it possible to develop the sub-agent code using C++(CC) compiler? mib2c
generated code is a .c extention. I like to rename it to cpp and likes to build
using cpp compiler.
I need to do that as there are many files which are alredy in CPP and will be
the part of sub-agent code.
From: Wes Hardaker harda...@users.sourceforge.net
To: sujata patra sujata_patra2...@yahoo.com
Cc: Wes Hardaker harda...@users.sourceforge.net;
net-snmp-coders@lists.sourceforge.net
Sent: Wed, December 22, 2010 10:05:34 AM
Subject: Re: doubt in nested table
Thanks Wes. Ignore my last query on netsnmp_table_helper_add_indexes().
I found where I did make the mistake.
From: sujata patra sujata_patra2...@yahoo.com
To: Wes Hardaker harda...@users.sourceforge.net
Cc: Wes Hardaker harda...@users.sourceforge.net;
net
From: Wes Hardaker harda...@users.sourceforge.net
To: sujata patra sujata_patra2...@yahoo.com
Cc: net-snmp-coders@lists.sourceforge.net
Sent: Tue, December 21, 2010 6:11:08 AM
Subject: Re: doubt in nested table implementation
On Sun, 19 Dec 2010 02:43:26
I have implemented simple table quite a few times . But I am confused to
implement when the mib contain more than one table and the tables are
nested(means the second table data repeats for each row of first table data,
which I think is very common).
I am using mib2c.iterate.conf to
On implementing sample mib I found snmpwalk output values are getting appended
to oid. Where as it would have been better to increase the index value by 1.
The output shows something like below
SNMPv2-SMI::enterprises.645.3.3.1.5.4.10.76.82.80.0.154.8.0.0.0.0.4585.4585.1 =
INTEGER: 4585
4585
There are few api 's which are not described in the wiki api doc . What does
that mean ? But functions are defined in the code .
Like netsnmp_table_array_register() is not described where
asnetsnmp_table_container_register() is linked to its details.
Does this mean client should not use
net-snmp/agent/mibgroup/hardware/cpu/cpu.c file show that it is registering oid
{ 1, 3, 6, 1, 4, 1, 8072, 1, 33 }.
But I could not find the mib definition for these OIDs.
Where is the mib file ?
--
Increase Visibility
know how : 1 How to stop the /usr/local/sbin/snmpd in ubuntu gracefully ?
2 How to add mib directory path other than a default path ?
I am trying to run agentx
With the latest source code I have run
$ ./configure --disable-embedded-perl --without-perl-modules
$ make
# make install
# cat
From: sujata patra sujata_patra2...@yahoo.com
To: net-snmp-coders@lists.sourceforge.net
Sent: Wed, November 17, 2010 5:02:41 PM
Subject: Now sure whether agentx is running ?
know how : 1 How to stop the /usr/local/sbin/snmpd in ubuntu gracefully ?
2 How
From: sujata patra sujata_patra2...@yahoo.com
To: net-snmp-coders@lists.sourceforge.net
Sent: Wed, November 17, 2010 5:02:41 PM
Subject: Now sure whether agentx is running ?
know how : 1 How to stop the /usr/local/sbin/snmpd in ubuntu gracefully ?
2 How
Will it be possible to add/implement an MIB table inside an existing daemon
using the agentx apiś ? Idea is to avoid running another sub-agent process and
avoiding IPC between the demon and agentx. The demon is multi-threaded app.
Ideal to run the agentx sub agent in a new thread.
agentx
57 matches
Mail list logo