hi all,
I did the following settings for authpriv user from program. (Iam
sending the code also) when iam compiling and running the following code iam
getting the error like snmpget: Unsupported security level. Please help me why
this error is coming. Iam not getting how to debug it.
if(
On Wed, Jul 6, 2011 at 3:20 PM, Garrett Cooper wrote:
> Hi,
> As part of the a work project, I've tasked myself to upgrade
> net-snmp from an older version to a newer version. One of the things
> that has occurred recently on FreeBSD is the netinet, et all headers
> have been shuffled, which ha
> On Wed, 3 Aug 2011 21:07:19 +0200, Bart Van Assche
> said:
BVA> One of the virtual machines here runs CentOS 4. Is that old enough
BVA> ?
Certainly should be. Does it compile without those files already
existing on that machine?
--
Wes Hardaker
Please mail all replies to net-snmp-co
On Wed, Aug 3, 2011 at 9:03 PM, Wes Hardaker wrote:
> > On Wed, 03 Aug 2011 19:02:03 +0200, Thomas Anders <
> [email protected]> said:
>
> TA> perl/TrapReceiver/const-c.inc
> TA> and perl/TrapReceiver/const-xs.inc
> >>
> >> Those files *aren't* in the net-snmp git repsository.
>
>
> On Wed, 03 Aug 2011 19:02:03 +0200, Thomas Anders
> said:
TA> perl/TrapReceiver/const-c.inc
TA> and perl/TrapReceiver/const-xs.inc
>>
>> Those files *aren't* in the net-snmp git repsository.
TA> Maybe because Bart has already removed them? :-)
Ah, I'm catching up on history.
I t
> On Wed, 3 Aug 2011 19:16:48 +0100, Dave Shield
> said:
DS> On 3 August 2011 16:18, Wes Hardaker wrote:
>> Specifically, the Net-SNMP code will only display a string in the OID if
>> the MIB definition is properly set up to match the table's indexes and
>> contains the same set of inde
On 3 August 2011 16:18, Wes Hardaker wrote:
> Specifically, the Net-SNMP code will only display a string in the OID if
> the MIB definition is properly set up to match the table's indexes and
> contains the same set of indexes (and one of which is the string in question).
Which it didn't/wasn't
On Wed, Aug 3, 2011 at 10:16 AM, Garrett Cooper wrote:
> Hi,
> 1. A number of the Makefiles use the ".SUFFIXES" GNU make
> directive; this breaks make clean with all variants of make, sans GNU
> make.
Correction. It turns out that BSD make sets RM to rm, whereas GNU make
sets it to rm -f, so t
Hi,
1. A number of the Makefiles use the ".SUFFIXES" GNU make
directive; this breaks make clean with all variants of make, sans GNU
make.
2. ExtUtils::MakeMaker hardcodes ${MAKE} -> make (this isn't
necessarily true, and definitely doesn't work when I build with gmake
on FreeBSD).
I'll
Wes Hardaker wrote:
> TA> perl/TrapReceiver/const-c.inc
> TA> and perl/TrapReceiver/const-xs.inc
>
> Those files *aren't* in the net-snmp git repsository.
Maybe because Bart has already removed them? :-)
http://net-snmp.git.sourceforge.net/git/gitweb.cgi?p=net-snmp/net-snmp;a=commit;h=31a3a2a
> On Sun, 31 Jul 2011 07:57:56 +0100, Dave Shield
> said:
DS> On 31 July 2011 00:02, Thomas Anders wrote:
>> However, some systems (e.g. all AIX systems I've tried) dislike that trick
>> and fail to build with a linker error like:
>>
>> ld: 0711-319 WARNING: Exported symbol not defined
> On Wed, 27 Jul 2011 17:06:42 -0400, said:
> I apologize for posting to this list if it is not the correct place to
> post. I have submitted a bug report here
Turns out the reason part 2 wasn't applied is because it doesn't work
(IE, doesn't compile).
--
Wes Hardaker
Please mail all replie
> On Sun, 31 Jul 2011 09:04:42 +0200, Bart Van Assche
> said:
BVA> - As far as I know setting MSG_NOSIGNAL only makes sense for stream
BVA> (connected) sockets and not for UDP sockets, so it should be fine to remove
BVA> all uses of MSG_NOSIGNAL in snmplib/transports/snmpUDPBaseDomain.c.
The current AGENT_DIRECTORY_MODE, which is used to create the persistent
directory if it doesn't exist, is 0700. This was also used when creating the
MIB and cert index directories, meaning that if snmpd is run as root, regular
users can't get to the indexes.
I'd like to make a few changes:
1) c
> On Wed, 27 Jul 2011 17:06:42 -0400, said:
> I apologize for posting to this list if it is not the correct place to
> post. I have submitted a bug report here
It looks like one part of the patch from the original patch is no longer
in the code. If a 'make test' comes out ok, I'll commit it
> On Mon, 01 Aug 2011 13:27:01 +0200, Thomas Anders
> said:
TA> Building Net-SNMP with Perl enabled always modifies the following git
TA> source files:
TA> perl/TrapReceiver/const-c.inc
TA> and perl/TrapReceiver/const-xs.inc
Those files *aren't* in the net-snmp git repsository. In fa
> On Mon, 1 Aug 2011 14:13:09 -0600, Brad Huntting
> said:
BH> Does anyone know of an implementation of RFC 1089: SNMP over (raw) Ethernet?
BH> I have a device with variables that need to be manipulated prior to setting
BH> the IP address.
It shouldn't be really really hard to add a ne
> On Tue, 2 Aug 2011 00:08:30 +0200, Claus Klein
> said:
CK> But the net-snmp documentation is really pure about the SSH transport
CK> domain!
Please post a patch to fix it!
Right now, you're right it's limited to just this in snmpd.conf:
SNMPv3 over SSH Support
To use SSH
> On Tue, 2 Aug 2011 08:40:18 -0700, "Singh, Vinay"
> said:
SV> At appears that by default net-snmp is built for 32-bit. Has
SV> anyone tried building it for 64-bit (equivalent to passing -maix64 to
SV> gcc compiler)? Is there any option on 'configure' to force it a 64-bit
SV> build?
A
> On Tue, 2 Aug 2011 08:40:18 -0700, "Singh, Vinay"
> said:
SV> At appears that by default net-snmp is built for 32-bit. Has anyone
SV> tried building it for 64-bit (equivalent to passing -maix64 to gcc
SV> compiler)? Is there any option on 'configure' to force it a 64-bit
SV> build?
Th
> On Tue, 2 Aug 2011 23:25:26 +0530, Ravi Kumar said:
RK> localhost: snmpd: ERR: Received broken packet. Closing session.
RK> AgentX: read, connection (sock 18) closed: length is zero
That comes from here:
if (pdulen > MAX_PACKET_LENGTH) {
/*
* I
> On Wed, 3 Aug 2011 10:20:25 +0100, Dave Shield
> said:
>> but while doing snmpwalk I am not getting them as String
>> snmpwalk -v2c -c public -Oa localhost:11161 1.3.6.1.4.1.11456
>> ABC-MIB::messageType.0.3.65.70.77.98374.98374.4 = STRING: "AFM"
DS> What does the MIB definition look
> On Wed, 3 Aug 2011 08:02:19 -0400, Robert Story
> said:
RS> On Tue, 2 Aug 2011 09:50:26 -0700 Vinay wrote:
SV> Can you please be more specific on how to get this patch as I am not
SV> familiar with GIT. Is therea hyperlink with list of patches for 5.7? I
SV> have seen other patches on
> On Wed, 3 Aug 2011 11:02:17 -0400, Robert Story
> said:
RS> I'm not sure if this will be the final fix, but it should get you
RS> going in the meantime...
The right fix will be to determine which module is needing iquery that
wasn't marked with netsnmp_feature_require(iquery).
--
Wes
On Wed, 27 Jul 2011 22:55:54 +0200 Claus wrote:
CK> I get errors while starting the agent:
CK> [...snip...]
CK> dyld: lazy symbol binding failed: Symbol not found: _init_iquery
CK>Referenced from: /Users/clausklein/Workspace/c/net-snmp-build/
CK> agent/.libs/libnetsnmpagent.30.dylib
CK>Exp
On Thu, 28 Jul 2011 00:25:34 +0700 Vikas wrote:
VJ> Dear Sir,
VJ> I am getting below error,
VJ>
VJ> bash-3.00# /usr/sfw/sbin/snmpd -L
VJ> dlopen failed: ld.so.1: snmpd: fatal: /usr/sfw/lib/libseaProxy.so: wrong ELF
VJ> class: ELFCLASS32
VJ> dlopen failed: ld.so.1: snmpd: fatal: /usr/sfw/lib/libsea
On Tue, 2 Aug 2011 09:50:26 -0700 Vinay wrote:
SV> Can you please be more specific on how to get this patch as I am not
SV> familiar with GIT. Is therea hyperlink with list of patches for 5.7? I
SV> have seen other patches on the download page, but not V5-7.
I think he was suggesting that you use
On Thu, 28 Jul 2011 15:30:03 -0400 Doug wrote:
DM> WH> The SNMPv3 specifications say that a running manager should allow its
DM> WH> notion of an agents clock values to go forward, but not backward. Thus,
DM> WH> we're doing what we're supposed to do: we won't accept *older* values
DM> WH> than wh
On 3 August 2011 06:44, sujata patra wrote:
> I like to display the OID as string. So instead of integer I have chosen some
> char*
> as the key
> but while doing snmpwalk I am not getting them as String
> snmpwalk -v2c -c public -Oa localhost:11161 1.3.6.1.4.1.11456
> ABC-MIB::messageType.0.3.6
29 matches
Mail list logo