On 7 April 2012 11:35, Reeve Yang reeve.y...@gmail.com wrote:
I'm trying to build net-snmp-5.7.1 in our system. Because the build
system we're using the package would be built into rpm before
installing in file system. I edited a rpm spec file based on the one
in net-snmp tarball, nothing
Dear sir:
I have a question about net-snmp modes.
I uses mib2c to generate two files, one is a C implement file and the other is
a C header file.
My problem is in the C implement file. There are some fuctions,and I should
finish those fuctions.
In some fuctions, there are some case include
Terribly sorry!
I really not sure who to start! can anyone help?
Thanks
-RBK
Date: Wed, 30 Mar 2011 09:35:21 +0800
Subject: Re: Question on Net-SNMP (SNMPD)
From: 2nth0...@gmail.com
To: paul_...@hotmail.com
CC: net-snmp-users@lists.sourceforge.net
View the wiki page on how to extend snmp
...@hotmail.com
Terribly sorry!
I really not sure who to start! can anyone help?
Thanks
-RBK
--
Date: Wed, 30 Mar 2011 09:35:21 +0800
Subject: Re: Question on Net-SNMP (SNMPD)
From: 2nth0...@gmail.com
To: paul_...@hotmail.com
CC: net-snmp-users
View the wiki page on how to extend snmp deamon.
http://www.net-snmp.org/wiki/index.php/Tutorials
http://www.net-snmp.org/wiki/index.php/TutorialsThe agent coding tutorial
section will teach you how to do it.
2011/3/30 Sun Paul paul_...@hotmail.com
Hi
can anyone help in here? I have no idea
I think You can use snmpd daemon for the same.
You can implement your own Table which will extract required information
from DB.
2011/3/24 Sun Paul paul_...@hotmail.com
Hi All
I hope I post on the correct channel.If not, please allow me to say sorry
here.
I am planning to develop a daemon
Thanks for your advice
is there any sample that can guide me thru??
- RBK
From:
arif hussain [mailto:arifo...@gmail.com]
Sent: Thursday, 24 March, 2011
20:12
To: Sun Paul
Cc:
net-snmp-users@lists.sourceforge.net
Subject: Re: Question on Net-SNMP
(SNMPD)
I think You can use
On 25 August 2010 03:02, AC. achuan...@gmail.com wrote:
When I used snmptable to get the information of the table A, it will
contact the handler of table A.
But it will contact the handler of table B, too.
But only once, at the very end.
(I presume?)
I see that the command snmptable use the
2010/8/25 Dave Shield d.t.shi...@liverpool.ac.uk
On 25 August 2010 03:02, AC. achuan...@gmail.com wrote:
When I used snmptable to get the information of the table A, it will
contact the handler of table A.
But it will contact the handler of table B, too.
But only once, at the very end.
On 25 August 2010 09:40, AC. achuan...@gmail.com wrote:
I see that the command snmptable use the getnext to retrive the
information,
but is that correct cause I don't need the information of table B?
Please consider the following question:
- How does the snmptable command know when it
2010/8/25 Dave Shield d.t.shi...@liverpool.ac.uk
On 25 August 2010 09:40, AC. achuan...@gmail.com wrote:
I see that the command snmptable use the getnext to retrive the
information,
but is that correct cause I don't need the information of table B?
Please consider the following
On 25 August 2010 10:45, AC. achuan...@gmail.com wrote:
The cause I change the question suddenly is
1. My tables are big sometimes.
2. When the table B was the big one and I wanna get table A,
it wastes time and resource to get a *BIG* table B that I don't neet it.
If your tables are big,
Dear Dave,
Thanks for your help, I resolve my problems.
There is only one question about table having to be resolve and illustrate
as following.
net-snmp-5.5
2 tables, table A and table B, made by mib2c
When I used snmptable to get the information of the table A, it will
contact the handler of
On 18 August 2010 06:47, AC. achuan...@gmail.com wrote:
How exactly are you retrieving the table.
I used the snmptable command to retrive.
In which case, things are working as expected.
snmptable will send one GETNEXT request for each
row of the table, plus one additional request to discover
On 18 August 2010 06:47, AC. achuan...@gmail.com wrote:
How exactly are you retrieving the table.
I used the snmptable command to retrive.
In which case, things are working as expected.
snmptable will send one GETNEXT request for each
row of the table, plus one additional request to
On 18 August 2010 09:01, AC. achuan...@gmail.com wrote:
I see that, but I have to follow two rules:
1. When receiving the request command that want to get table information,
it must ask the information from my kernel.
- So I remove the check, if(tlist == NULL), to let agent ask
Dears,
I can get table information that I need by using mib browser, but I find two
questions when I do it.
Q1: If I use the command to get Table A, the agent will ask the inforation A
and information B.
If I use the command to get Table B, the agent will ask the
inforation B and
On 17 August 2010 07:28, AC. achuan...@gmail.com wrote:
I can get table information that I need by using mib browser, but I find two
questions when I do it.
Q1: If I use the command to get Table A, the agent will ask the
inforation A and information B.
The command is a bit vague.
How
On 17 August 2010 07:28, AC. achuan...@gmail.com wrote:
I can get table information that I need by using mib browser, but I
find two
questions when I do it.
Q1: If I use the command to get Table A, the agent will ask the
inforation A and information B.
The command is a bit
Thank for your help.
I resolve my problem, although I don't know that is the true resolution.
the resoloved flow is as following:
1. use 64-bits linux os (centos)
2. unpacking the source tarball
3. use default parameter to configure (# ./configure)
4. make it, and it's no error message. (#
Before this change, I make it success for the old system.
The imformation of the old embedded system is:
Kernel: linux-2.6.14
power pc
cross compile: powerpc-440-linux-gun
Now I have to change system for
Kernel: linux-2.6.32.9
x86_64
cross conpile-x86_64-unknow-linux-gun
I jsut modify the
I tried the method that you suggested yesterday.
I downloaded net-snmp-5.4.3.tar.gz again, unpacked it, and then executed
./configure.
the configure patameter is as following (the same as before)
--host=x86_64-linux \
--with-cc=$CROSS_COMPILEgcc \
--with-endianness=little \
On 5 August 2010 12:37, AC. achuan...@gmail.com wrote:
I downloaded net-snmp-5.4.3.tar.gz again, unpacked it, and then executed
./configure.
[snip]
Then, I executed the make command. (# make -j3 -s 1make-out.log
2make-err.log)
Can you try *without* the -j3 option.
It looks suspiciously
The error massage:
making all in /home/bluce/work/root/filesystem/packages/net-snmp-5.4/snmplib
make[1]: *** No rule to make target
`/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/Config.pm', needed by
`Makefile'. Stop.
make: *** [perlmodules] Error 1
Does that mean I must get and install the
On 4 August 2010 03:22, AC. achuan...@gmail.com wrote:
making all in /home/bluce/work/root/filesystem/packages/net-snmp-5.4/snmplib
make[1]: *** No rule to make target
`/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/Config.pm', needed by
`Makefile'. Stop.
make: *** [perlmodules] Error 1
On 5 August 2010 04:32, AC. achuan...@gmail.com wrote:
Before this change, I make it success for the old system.
The imformation of the old embedded system is:
[snip]
Now I have to change system for
[snip]
I jsut modify the parameter of configure file with
[snip]
Are you using
Thank for your answer very much.
Now I have to change my environment from power pc to x86_64.
When I made the snmp server, I find that the execute file, snmpd, was not
made by the code.
And I can't find any information about snmpd for x86_64 by using Google.
XD
Do you know where the snmpd for
On 3 August 2010 05:18, AC. achuan...@gmail.com wrote:
When I made the snmp server, I find that the execute file, snmpd,
was not made by the code.
Have a look at the output of the compilation.
If the agent wasn't created, then there was probably
an error somewhere in the compilation process.
On 28 July 2010 13:57, AC. achuan...@gmail.com wrote:
I made a table for getting mibs information.
The first time to get information, the function,
encTable_get_first_data_point,
is called and get my external information.
But the second time to get information, I just only get the old
Dear sir(s),
I made a table for getting mibs information.
The structure is as following,
Table.c
/* ** table ** */
/** Initialize the table by defining its contents and how it's structured */
void
initialize_table(void)
{
static oid
Dear sir(s),
I made a table for getting mibs information.
After my machine finished booting (the initial function was executed and was
finish),
I use snmptable function to get information.
The first time to get information, the
function,encTable_get_first_data_point, is called and get my
On Thu, 17 Sep 2009 10:17:35 +0800, albens...@gdnt.com.cn said:
A And I think, if I want to use the default subhandler (e.g. use
A netsnmp_instance_int_handler for my integer object), only write the MIB
A file is OK, and no need to write the C/header file for registration.
A Because I don't want
Hi,
I want to write a custom extension to the core net-snmp agent. As the
tutorial said, usually I need to 1) write a MIB file 2)Write the related
C file 3) Write a header file.
And I think, if I want to use the default subhandler (e.g. use
netsnmp_instance_int_handler for my integer object),
Not sure if it’s sent successfully. Just re-send it for help.
Alben Shao
Guangdong Nortel 4G Design
ESN: 6-554-5301
From: Alben Shao
Sent: 2009年9月17日 10:18
To: 'net-snmp-users@lists.sourceforge.net'
Subject: A question about net-snmp agent extension
On 25/01/2008, Mike Ayers [EMAIL PROTECTED] wrote:
We want to support duplicate attribute name in different
table with different OID.
You can have the same relative name for a column (attribute)
in two different tables.
Just as long as the two tables are defined in different MIBs.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Shang Linda-q19362
Sent: Thursday, January 24, 2008 7:44 PM
We want to support duplicate attribute name in different
table with different OID.
Yes, and no, depending on what you want. You can have the same
relative
Hi all,
I have one question here.
I want to know the bellow case if support by net-snmp framework.
We want to support duplicate attribute name in different table with
different OID.
Anybody can answer this question? Thanks in advance.
Best regards.
Linda
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
Sent: Thursday, August 16, 2007 2:28 AM
In which case, Brian has identified the main issue here - the
reliance on
'time_t' and related API calls to hold and manipulate
time-since-the-Epoch
values.
The status
are we talking about time_t being a 64bit integer ?
~BAS
On Wed, 2007-08-01 at 18:09 +0900, [EMAIL PROTECTED]
wrote:
Dear All
I have a question.
Please let me know about net-snmp.
I am doing a search about year 2038 problem.
Does net-snmp support the year 2038 problem?
If it is not
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Brian A. Seklecki
are we talking about time_t being a 64bit integer ?
No. The year 2038 problem occurs with 32 bit integers which count
seconds and start in 1970. SNMP uses a 32 bit timestamp, but it is referenced
Jeremy Scholz wrote:
I recently upgraded to version 5.4 from 5.1 because I was having issues
with
ifLastChange. I am able to see these values now, but with 5.1 when there
was a vpn connection made it would show ifDesc as ppp0 and an associated
ifIndex, but after the vpn connection was
bahamute wrote:
Why I can not run net-snmp with AMD cpu ??
http://www.net-snmp.org/support/bugreports.html
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-
Take Surveys. Earn Cash. Influence the Future
On Wed, 20 Apr 2005 18:58:07 -0700 (PDT), Tian WenQiang [EMAIL
PROTECTED] said:
Tian 1. Is there any commercial support for Xerces-C++
Tian exist? How much dose it cost?
We wouldn't know that. We're not in charge of Xerces-C++.
Tian 2. What the test method of net-SNMP, how many test
Tian
43 matches
Mail list logo