Hi,
In net-snmp 5.4.2.1, InetAddressIPv4z's zone index is always displayed as 0. I
believe this is a bug. Attached is the patch for fixing it.
Thanks,
Fong
ip_zone_index.patch
Description: ip_zone_index.patch
--
Com
Hi,
We are using NET-SNMP version: 5.4.2.1 and when configuring a trap destination
with the following in snmpd.conf, snmpd core. Is it known or the
configuration is wrong?
trapsess -v 2c -c "f5" udp6:[2002:db8::1428:57ab]:162
Thanks,
FT
--
Also, if you remove the configuration entry, it doesn't work either.
-Original Message-
From: Fong Tsui
Sent: Wednesday, November 21, 2007 12:12 PM
To: Fong Tsui; 'net-snmp-coders@lists.sourceforge.net'
Subject: RE: SIGHUP
I found that it doesn't work if you add the
I found that it doesn't work if you add the comments in front of the
configuration entry. But if you really change the configuration entry,
it works fine.
-Original Message-
From: Fong Tsui
Sent: Wednesday, November 21, 2007 12:06 PM
To: net-snmp-coders@lists.sourceforge.net
Su
Hi, everybody,
I am trying to use "SIGUP" to re-load the configuration instead of
restarting snmpd. It seems some of configuration is reloaded correctly
but some of them are not.
When I comment out rocommunity entry in snmpd.conf and do "killall -HUP
snmpd", I can see log message:
snmpd[6458]:
Is it possible to get this override value from a subagent? If yes, how
or where I should look?
Thanks,
FT
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, July 31, 2007 1:30 AM
To: Fong Tsui
Cc: net-snmp-coders
Is there API which I can call to get value of an OID, which is set by
override (in snmpd.conf)? My subagent exposes certain data depending on
the value of the OID.
How does override work? It seems it ignores what var_XXX( ) does.
Thanks,
FT
--
Hi, everybody,
I think there is some inconsistency in support laTable.
1) 15-minute average or 10-minute average?
The man page:
load MAX1
load MAX1 MAX5
load MAX1 MAX5 MAX15
Checks the load average of the machine and returns an error flag (1),
and an text-string error message to queries of 1.
I can specify v3 trap destination by using trapsess, like
trapsess -v 3 -e 0x0102030405 -u myuser -l authNoPriv -a MD5 -A
123456789 localhost:162
What is default secLevel if I specify trapsess without -l option,like:
trapsess -v 3 -e 0x0102030408 -u myuser localhost:162
Thanks,
FT
--
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Friday, February 09, 2007 1:03 AM
DS>There is no way to reverse this, and go from a localised key
to the original pass phrase. And that localised key cannot be
re-used on another syst
Hi,
Is there a way to get auth passphrase and private passphrase from
usmUser line in the persistent snmpd.conf? I want to use perl to do it.
I assume: auth passphrase is 0xfefa802d7734f26a4e42ff1b17140684 and
private passphrase is 0xfefa802d7734f26 in the following line.
usmUser 1 3 0x87e5
Thanks. It was the problem.
-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Monday, November 20, 2006 2:25 PM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: more v5.4.rc2 test
On Tue, 14 Nov 2006 11:36:09 -0800 Fong wrote:
FT> 2) When I tr
Hi,
I have two issues on testing v5.4.rc2.
1) When I walk MIB, there are error messages in log file to say:
Nov 14 12:24:10 c62 snmpd[10424]: can not create cache file
Nov 14 12:24:10 c62 snmpd[10424]: /config/net-snmp/.snmp-exec-cache:
Permission denied
I am running as a root.
2) When I tr
Hi,
I configured snmpd in snmpd.conf as the following:
-
agentaddress udp6:161,tcp6:161,udp:161,tcp:161
rocommunity public default
rwcommunity6 public default
-
IPv4 is ok:
snmpwalk -c public localhost sysDescr ==> OK
snmpwalk -c public tcp:localhost s
Hi,
I am trying 5.4.rc2. It seems that perl fixes installation path in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/. It does not
allow to be configured to install to somewhere else. This stops us to
create our own rpm package. Is this a bug?
Here are error messages:
-
Hi,
The subagent core dumps when a regression test for restarting
master and subagent performed. In snmp_call_callbacks(), scp points is 0x10, a
non-access memory.
The following is output of gdb : (line # may not match
office net-snmp src since I added some debug lines).
I am on
Hi,
I need a suggestion from your experts.
I have published MIB with defining 0 in enumerated integer list.
For example:
xstate OBJECT-TYPE
SYNTAX INTEGER {
disabled(0),
enabled(1)
}
MAX-ACCESS read-only
STATUS current
DE
root 5988831 Oct 5 10:49 /root/gtmmib.so
-Original Message-
From: Wes Hardaker [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 12:51 PM
To: Fong Tsui
Cc: Dave Shield; net-snmp-coders@lists.sourceforge.net
Subject: Re: dlopen failed
>>>>> "FT"
:48 AM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: dlopen failed
On 08/08/06, Fong Tsui <[EMAIL PROTECTED]> wrote:
> Here is snippet from output of "strace -f -o strace.log snmpd -c
> /config/snmpd.conf"
> 13145 open("/root/gtmmib.so"
al Message-
From: Thomas Anders [mailto:[EMAIL PROTECTED]
Sent: Monday, August 07, 2006 7:02 PM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: dlopen failed
Fong Tsui wrote:
> Fong Tsui wrote:
>>> When I try to use dlmod to load shared module, I got the following
Fong Tsui wrote:
>> When I try to use dlmod to load shared module, I got the following
>> error:
>> dlopen failed: /root/gtmmib.so: cannot open shared object file:
>> Permission denied
>>
>> /root/gtmmib.so has been set to "chmod 777".
/root is
When I try to use dlmod to load shared module, I got the following
error:
dlopen failed: /root/gtmmib.so: cannot open shared object file:
Permission denied
/root/gtmmib.so has been set to "chmod 777".
Does anybody know what the problem is here?
Thanks,
FT
I am trying to configure dlmod support.
--enable-shared=yes \
--with-mib-modules="ucd-snmp/dlmod"
With above configuration option, I got an error:
snmpd.conf: line 6: Warning: Unknown token: dlmod
Do I miss something here?
It seems HAVE_DLOPEN not being turned on.
In mailist, I found the ema
I only see "Add a comment" but no where to find "Upload and Attach a
File:" field as entering new bug has.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Shield
Sent: Friday, July 28, 2006 1:19 AM
To: Fong Tsui
I have submitted a bug but forgot to attach a test script for
reproducing the problem. How can I re-attach a file to the exiting bug?
Thanks,
FT
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's
code is
the same as 5.0.9. So, I suspect in the 5.3.1, it will have the same
problem for SNMP_MSG_GETBULK.
Does anybody have a solution for it?
-Original Message-
From: Fong Tsui
Sent: Sunday, July 16, 2006 1:57 PM
To: Fong Tsui; 'net-snmp-coders@lists.sourceforge.net'
Subject:
point me a direction.
Thanks.
-Original Message-
From: Fong Tsui
Sent: Sunday, July 16, 2006 1:43 PM
To: Fong Tsui; net-snmp-coders@lists.sourceforge.net
Subject: RE: snmpd memory leak on snmpbulkget
I did more test and found out that it is not leak. It is a problem when
doing stress test
should I look into in the code?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Friday, July 14, 2006 6:56 PM
To: net-snmp-coders@lists.sourceforge.net
Subject: snmpd memory leak on snmpbulkget
Hi,
I am hitting a case that when doing
Hi,
I am hitting a case that when doing snmpbulkget in a loop for stress
testing, snmpd increases memory dramatically. For the same situation,
snmpwalk/snmpget/snmpbulkwalk all work fine. Only snmpbulkget leaks
memory.
Does anybody have the same experience? Any fix patch for it? or can
anybody p
Hi,
If a string data is very long, such as a paragraph, it is not suit to be
exposed by SNMP. Am I right?
Thanks,
FT
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere A
Hi, everybody,
I am running into a core dump in
netsnmp_check_outstanding_agent_requests().
It is v5.0.9 and on Linux.
The following is the gdb output. It seems that a session in
agent_delegated_list has been freed but has not been set to NULL. Has
anybody seen this problem or know the fix?
-
Which version of net-snmp supports traps to have a configurable client
address set in snmpd.conf?
Thanks,
FT
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media.
Does sysObjectID need to be top OID of MIB of the system? In
RFC1213-MIB.txt, it doesn’t have this requirement.
My original .1.3.6.1.2.1.1.2
== .1.3.6.1.4.1.XXX.2
The all MIB of the system is
under .1.3.6.1.4.1.XXX.2
Now if I change .1.3.6.1.2.1.1.2
== .1.3.6.1.4.1.XXX.2.1.3.3.2. A
I have no problem to snmpget multiple OIDs, such as
snmpget -c public localhost ifSpecific.6 sysUpTime.0
However, if I snmpwalk on multiple tables, such as
snmpwalk -c public localhost interface system
I only can get interface table and no system table data.
Is it supposed that way? Is there
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 2:48 PM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net; Wes Hardaker; Dave Shield
Subject: Re: snmpd memory grows on invalid udp requests --- security
On Thu, 17 Nov 2005 14:28:17 -0800 Fong wrote:
FT>
-snmp-coders@lists.sourceforge.net; Dave Shield; Fong Tsui
Subject: Re: snmpd memory grows on invalid udp requests --- security
On Thu, 17 Nov 2005 09:39:54 -0800 Wes wrote:
WH> >> So, then the question to coders and the admins is, does
WH> >> this qualify as a DOS, worth
-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Monday, November 14, 2005 1:42 PM
RS> I'm guessing there is another leak in 5.0.9 that has been fixed in
5.0.10.x
RS> that you need to back-port.
Do you mean line: 5327 SNMP_FREE(isp->packet) in snmp_api.c (v5.0.10.2
-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Monday, November 14, 2005 9:42 AM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net; Dave Shield
Subject: Re: snmpd memory grows on invalid udp requests --- security
On Thu, 10 Nov 2005 13:43:50 -0800 Fong w
PROTECTED]
Sent: Thursday, November 10, 2005 1:22 PM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net; Dave Shield
Subject: Re: snmpd memory grows on invalid udp requests --- security
On Thu, 10 Nov 2005 09:35:37 -0800 Fong wrote:
FT> I have imported the security fix
DS> Now I'm confused.
DS> You say that you're running 5.0.9, but the problem was only
introduced
DS> in 5.0.10.2. I don't understand how you can be seeing this problem
DS>with 5.0.9 code?
I have imported the security fix for NETSNMP_TRANSPORT_FLAG_STREAM from
5.0.10.2 to v5.0.9 I am using.
Than
;
}
-if (pdulen > isp->packet_len) {
+if (pdulen > isp->packet_len || pdulen == 0) {
/*
* We don't have a complete packet yet. Return, and
wait for
* more data to arrive.
-Original Messag
Hi,
It looks like snmpd buffers invalid udp requests on it's port instead of
properly throwing them away. Using udpsic to throw about 5 minutes of
garbage traffic at port, snmpd's memory image grows from a slim 5k to a
fat 380Megabytes.
typical snmpd at startup:
PID USER PRI NI SIZE R
OK, I figured out how to get Auth and Private type from persistent file.
However I do have some questions about usmUser entry.
1)
usmUser 1 3 0x87e580a02e931b7cfb5e43 0x6600 0x6600 NULL
.1.3.6.1.6.3.10.1.1.2 0xfefa802d7734f26a4e42ff1b17140684
.1.3.6.1.6.3.10.1.2.2 0xfefa802d7734f26a4e
Is there a way to get information of AUTH type (MD5 or SHA) and Private
type (DES) for a particular user from usmUser entry in persistent file?
In other word, how can I know what type of AUTH and what type of Private
the user is defined? Assume, I don't want to walk usmUserTable.
Thanks,
FT
-
When I enable v3 trap, I set the following in snmpd.conf
trapsess -v 3 -e 0x0102030405 -u myuser -l authNoPriv -a MD5 -A
123456789 localhost:162
It works fine. But I wonder the password is human readable? Is there
security concern?
Thanks,
FT
---
In SNMP v3, we are able to set:
rouser authpriv .1
But in snmpd.conf man page, there is NO authpriv listed.
rouser USER [noauth|auth|priv] [OID]
Does snmpd.conf man page miss "autopriv" or we can't config V3 user with
autpriv?
Thanks,
FT
---
Title: Re: Maximum packet size exceeded in a request
On Mon, 26 Sep 2005 12:03:49 -0700 Fong
wrote:FT> Does anybody know in what situation "Maximum packet size
exceeded in aFT> request" from _sess_read() in snmp_api.c could happen?
Is followingFT> related?
On Sat 10/1/2005 12:16 PM Robert
Title: Re: netsnmp_call_handler() called illegally
Have done. Request ID is
1310556.
From: Robert Story
[mailto:[EMAIL PROTECTED]Sent: Sat 10/1/2005 8:49 AMTo:
Fong TsuiCc: net-snmp-coders@lists.sourceforge.net; Fong Tsui; Dave
ShieldSubject: Re: netsnmp_call_handler() called
Title: Re: subagent exceeding packet request to master agentx.
On Sat, 24 Sep 2005 22:39:45 -0700 Fong
wrote:FT> I used Net::SNMP get_table to query data. Is it possible that
my clientFT> passes garbage packets to server causes this
problem?FT>FT> -Original Message-FT> From:
[EMAI
When I query a table consecutive (very quick), the second time, it gives
partial data. I am using 5.0.9 and old api.
For example, if a table has 105 items, in the quick consecutive walk,
the first time, it gives 105 line return and the second time give less
than 105 line. Does anybody know what p
Title: RE: Maximum packet size exceeded in a request
Is it possible running short
of either memory or file descriptors could cause this "Maximum
packet size exceeded in a request" problem?
From: Fong TsuiSent: Mon 9/26/2005
9:43 PMTo: Fong Tsui;
'
ing
v5.0.9 on linux. The structure is a master with 3 subagents.
Does anybody have an idea where I should look into? I am really in the
dark and hope experts can give some suggestion.
Thanks,
FT
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
It seems there is a bug in agentX for exceed maximum packet size (verion
5.0.9).
Does anybody have a clue and fix?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Monday, September 26, 2005 12:04 PM
To: net-snmp-coders
Does anybody know in what situation "Maximum packet size exceeded in a
request" from _sess_read() in snmp_api.c could happen? Is following
related?
Here is what I found,
msgMaxSize is set different between udp and tcp. Is it supposed to be
the same?
For tcp (in both snmplib/snmpTCPDomain.c and
Does anybody know in what situation "Maximum packet size exceeded in a
request" from _sess_read() in snmp_api.c could happen? Is following
related?
Here is what I found,
msgMaxSize is set different between udp and tcp. Is it supposed to be
the same?
For tcp (in both snmplib/snmpTCPDomain.c and
I used Net::SNMP get_table to query data. Is it possible that my client
passes garbage packets to server causes this problem?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Friday, September 23, 2005 6:16 PM
To: net-snmp-coders
PROTECTED] On Behalf Of Fong
Tsui
Sent: Thursday, September 22, 2005 10:34 AM
To: Dave Shield
Cc: net-snmp-coders@lists.sourceforge.net
Subject: RE: netsnmp_call_handler() called illegally
This happens only occasionally, not for a particular MIB object.
Normally, all queries are fine. When our
Title: RE: subagent exceeding packet request to master agentx.
Is it possible anybody can
help me on this? I am really in very very hurry to solve this. Please help!
Please!
Thanks,
FT
From:
[EMAIL PROTECTED] on behalf of Fong
TsuiSent: Fri 9/23/2005 6:16 PMTo:
net-snmp-coders@list
Hi,
How did you solve this "Maximum packet size exceeded in a request."
problem?
Is there a fix or not? Anxious to know. If there is no fix, where should
I look at in the code?
Thanks,
FT
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Story
Sent
-
From: Wes Hardaker [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 02, 2005 9:58 AM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: performance issue on simultaneously walk
>>>>> On Thu, 2 Jun 2005 07:44:14 +0200, Magnus Fromreide
<[EMAIL PROTECTED]>
p()
Do I miss anything? Is it full initialization code you mentioned?
Thanks,
FT
-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 1:15 AM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: netsnmp_call_handler() called ill
ser maillist, Olsson, Sten mentioned the
same problem. Has it found the solution?
Thanks,
FT
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Wednesday, September 21, 2005 1:31 PM
To: net-snmp-coders@lists.sourceforge.net
Subject: netsnmp_
Does anybody know what causes the "netsnmp_call_handlers() called
illegally" log message? In message is from netsnmp_call_handlers() which
is an internal function. Any fix for this?
I am using 5.0.9 on linux.
Thanks,
FT
---
SF.Net email is
What mib2c conf file(s) should be used for creating full RMON and RMON2
code?
Thanks,
FT
---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile
Do you know what the patch number is? Or which file(s) is this fix in?
Thanks,
FT
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
Anders
Sent: Friday, August 05, 2005 1:05 PM
To: net-snmp-coders@lists.sourceforge.net
Subject: Re: snmpset and encry
We are using net-snmp package and one of our customers found malformed
snmp query cause log message over flooded, eventually, froze the system.
The problem is when querying from bad address, by default, it always
log:
Connection from REFUSED
Is this security concern? I think we probably should
Is this security bug effect on v5.0.9?
In net-snmp-5.0.1.0.2, which file the fix for security is in,
snmp_api.c, right?
Thanks,
FT
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wes
Hardaker
Sent: Friday, July 01, 2005 9:25 PM
To: net-snmp-announce@li
Normally, I can see some OID's STATUS is "deprecated" in MIB files, but
rarely see OID's status as "obsolete". When should we use "obsolete"? To
me, the most case, an OID deprecated should not be used. It should be
obsolete, right? Like UCD OID ssCpuUser.
Thanks,
FT
-
Thank you so much.
FT
-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 22, 2005 2:04 AM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: VACM - questions
On Tue, 2005-06-21 at 22:49, Fong Tsui wrote:
> I have several questi
I have several questions about setting VACM.
1) Is it possible for the same user to view two subtrees? Like, what if
I want to allow a user to see both ucdavis (.1.3.6.1.4.1.2021) subtree
and unix (.1.3.6.1.4.1.4) subtree, nothing else? Man page doesn't state
this.
2) In view NAME TYPE SUBTREE
DS> No - that's not what I said. I suggested tweaking the 'name'
parameter
if there were no *rows* in the table - if it was completely empty.
The idea was to skip calling the same handler 50 times, each of which
returned an empty column.
DS> Note that the agent can't assume that a failure in one
-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 8:35 AM
On Wed, 08 Jun 2005 09:36:29 +0100 Dave wrote:
DS>> You might be able to short-circuit this by tweaking the
DS>> var_XXX() code, so that it updates the 'name' parameter
DS>> to refer to
When doing snmpwalk on a single column in a table which has
50 columns, I found it queries data for all 50 columns and displays the one
needed. It’s wasting a lot by getting data not needed. Even walking
an empty table; it goes through all columns in that table.
I am using oid-api (v5.
Finally, I found a race condition inside my access code. So,
master-subagent on multiple walks should be ok.
Thanks,
FT
-Original Message-
From: Magnus Fromreide [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 01, 2005 10:44 PM
To: Fong Tsui
Cc: net-snmp-coders@lists.sourceforge.net
I have a subagent behind a master agent. When I do a single walk a MIB
tree, it is very fast. However, when I do simultaneously walk on the
same MIB tree, both walk take unbelievable long time. One report says
5min vs 45 sec (two walk vs single walk).
I suspect two things:
1) That master agent ta
Is there a way to allow user to set host address in a trap message for
where the trap is sent out? This host address is a self IP, which is
different from management IP address in a switch.
Thanks,
-FT
---
SF email is sponsored by - The IT Pro
RS> Interesting. I can't find 'udp4' in any header or source file. Maybe
there is a
RS> strcmp that only checks 3 bytes somewhere... In cvs-main, I get:
RS> Error opening specified endpoint "udp4:1161"
udp4 doesn't exist. It uses udp for IPv4 and upd6 for IPv6, like
udp:161,udp6:161
Robert>> Actually, there is no 'udp4' token. I believe the way it
Robert>> *should* work is that 'udp' should open both, while udp6 would
Robert>> just be IPv6. To only allow v4 if v6 is configure would
Robert>> require using access control..
WH-> running snmpd by default only opens v4. running w
It used to work when I launch snmpd on udp6:161 and query data for IPv4
on Redhat 9.0. After I upgrade my OS to Enterprise Linux OS, I can't
query IPv4 anymore if snmpd is on udp6:161. Tcp still works fine.
Does anybody know how to solve this problem? I guess, this probably is
OS issue. But hope
RS> Use standard IPC to send the data to the agent when an event occurs
and you need to send a trap.
Is there any example for using standard IPC to send the data to the
agent?
-FT
---
This SF.net email is sponsored by Demarc:
A global provide
FT>> Will it be a problem to link to a g++ compiled library? When on 4.x
FT>> version, it seemed no problem. Now, I am using 5.0.9. If that is
the
FT>> problem, is there a way to fix it?
RS> No, as long as you are using the g++ linker, too.
The net-snmp code is compiled by default, which is gcc
I am trying to register some MIB to the master agent and need to link an
additional library. This library, libmymib.a, is compiled in g++. I use
--with-libs option in configure. However, when it tries to make snmpd,
it complains that " ./.libs/libnetsnmpmibs.so: undefined reference to
`MY_XXX". Th
Checking out 5.2.1 and found that there are two files for interfaces
under mib-ii, ifTable and interfaces, which one should be used?
Thanks,
FT
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT
Probably, the OID you are querying is not registered with the agent.
Fong
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ping
Ni (QD/LJC)
Sent: Friday, January 28, 2005 1:43 AM
To: 'net-snmp-coders@lists.sourceforge.net'
Subject: question
hi:
i have
I am trying to expose data for dot1dTpFdbTable and wonder this table
could be huge. If a switch has 24 interfaces with a lot of VLANs, the
entries of this table could be thousands. Does anybody know how big a
table entry SNMP agent can support? Is there any limit? If it is a
problem, does anybody
How can I set
agent ‘s the source IP address for its response to the same address that
it was queried on?
Thanks,
Fong
From: Robert Story (Coders) [mailto:[EMAIL PROTECTED]
RS->The agent doesn't keep data in memory in the tree. The hander must
be called to
RS->get the data. It would be rather tricky to try and properly set up
all the
RS->parameters to do this directly, so I'd suggest that you use the
callback
RS-
>>>>>>>>From: Wes Hardaker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 4:25 PM
To: Fong Tsui
Cc: [EMAIL PROTECTED]
Subject: Re: get struct variable from netsnmp_subtree in 5.2.rc3
WH>The same as a master. Note: you can not query the master agent usi
I am trying
to fetch a value for variable(a known OID).
What I know is (oid
* name, size_t namelen), from it I want to get (findVar
of struct variable *) to find the value for the OID.
Here is what I did:
{
netsnmp_subtree
*tree_ptr;
tree_ptr =
netsnmp_subtree_find(name, namelen, NUL
I am trying v5.2.rc on Linux. When I use snmptrapd, it gives me the
following message:
Warning: no access control information configured.
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the snmptrapd.conf
file for this
I solve my problem by adding SIZE in the front of InetAddress when
displaying as index.
Thanks,
Fong
-Original Message-
From: Robert Story (Coders) [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 3:35 PM
To: Fong Tsui
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re
uot;notWritable" error may from? Please help. I need to fix this
week.
Thanks,
Fong
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Thursday, November 11, 2004 2:59 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Problem t
if it is > 128.
Is there any patch fixing this? If not, Where should I look into to fix
that?
Thanks,
Fong
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Thursday, November 11, 2004 12:07 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECT
TED]
Sent: Thursday, November 20, 2003 6:14 PM
To: Fong Tsui; [EMAIL PROTECTED]
Subject: RE: PATCH: OID encoding display for iNetAddress
Here's the link to the updated patch. Sorry for sending two emails for
this.
http://sourceforge.net/tracker/index.php?func=detail&aid=841625&grou
I have a problem to run snmpget/snmpset/snmpwalk on OID
.1.3.6.1.4.1.3375.2.2.10.10.2.1.3.1.172.20.1.101
The error message is
Unknown Object Identifier (Index out of range: 172 (VirtualAddr))
The index for this OID is InetAddressType(ipv4 = 1) and
InetAddress(VirtualAddr = 172.20.1.101).
I a
Unfortunately, I am using old-api.
Even using a table handler, if I need these information in the subagent
(not master agent), it may still a problem.
Thanks,
Fong
-Original Message-
From: Tony Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004 11:07 AM
To: Fong Tsui
Where should be the right place in the code to look into this?
Thanks,
Fong
-Original Message-
From: Wes Hardaker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 6:37 AM
To: Fong Tsui
Cc: Net-Snmp-Coders (E-mail)
Subject: Re: API to get source & community info
>
Hi,
We want to log the destination and community (v1/2c) or user (v3)
information when a snmpset is executed. Is there any API which can get
those information?
Thanks,
Fong
---
This SF.Net email is sponsored by:
Sybase ASE Linux Express
For my understanding, rwcommunity/rocommunity is wrap-up for
vacm's(com2c). If I want a community to be able to read all MIB and only
to write a restrict OIDs, can this be done by specifying as follow:
rocommunity public source .1
rwcommunity public source .1.3.6.1.4.1.3375.1.0
or
rwcommunity
It works fine now.
Thanks,
Fong
-Original Message-
From: Michael J. Slifcak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 4:09 PM
To: Fong Tsui
Cc: [EMAIL PROTECTED]
Subject: Re: Get data using Tcp6
Please retry using net-snmp-5.2.pre2
http://prdownloads.sourceforge.net
1 - 100 of 137 matches
Mail list logo