Re: FW: permission denied

2006-06-14 Thread Wes Hardaker
> On Wed, 14 Jun 2006 17:11:30 -0400, "Richard C. Thompson" <[EMAIL > PROTECTED]> said: Richard> You are probably correct but not being a Linux guru and more Richard> of a network kind of guy, I don't know what selinux is or how Richard> to tweak it or just turn it off. Do you how where I

Re: can I use same communities for read and write?

2006-06-14 Thread Wes Hardaker
> On Wed, 14 Jun 2006 19:19:15 -0500, Ravi <[EMAIL PROTECTED]> said: Ravi> I use net-snmp-5-1-2. I manage my snmpd.conf file from one of my smux Ravi> peer. If I configure my readonly community and read-write community Ravi> to same string, Ex: read only community : public , read-write Ravi>

can I use same communities for read and write?

2006-06-14 Thread Ravi
Hi all, I use net-snmp-5-1-2. I manage my snmpd.conf file from one of my smux peer. If I configure my readonly community and read-write community to same string, Ex: read only community : public , read-write community : public , net-snmp agent will not allow me to do any SET operation after this

FW: permission denied

2006-06-14 Thread Richard C. Thompson
Thank you for your reply. You are probably correct but not being a Linux guru and more of a network kind of guy, I don't know what selinux is or how to tweak it or just turn it off. Do you how where I can learn about this? Rick -Original Message- From: Robert Story [mailto:[EMAIL PROTEC

Re: ifIndex values

2006-06-14 Thread Robert Story
On Tue, 13 Jun 2006 22:10:05 +0530 [EMAIL PROTECTED] wrote: SSC>How ifIndex value of ifTable in net-snmp-5.2.1 (on Linux ) is SSC> populated?. Form the mibII group implementation, SNMP agent initializes SSC> ifTable columns by reading /proc/net/dev file. But how the ifIndex SSC> value is initi

Re: permission denied

2006-06-14 Thread Robert Story
On Tue, 6 Jun 2006 09:40:49 -0400 Richard wrote: RCT> Using version net-snmp-5.2.1.2-fc4.1 RCT> exec active_calls /bin/bash /usr/src/results RCT> when I walk the mib or snmpget I get back RCT> RCT> bin/bash: /usr/src/results: permission denied Do you have selinux turned on/enforcing? If so, y

Re: NetSNMP 5.0.3.1 Questions

2006-06-14 Thread Robert Story
On Mon, 12 Jun 2006 09:36:58 -0700 Wes wrote: WH> Hao> My question is how can I get rid of the 6 (mac address len) so my WH> Hao> index is simply the mac address itself? WH> WH> If the MIB definition for that object is *exactly* 6 octets in length, WH> then it's ok to get rid of it. However, if i

Re: URGENT: Question on Row context/dynamic row

2006-06-14 Thread Robert Story
On Tue, 06 Jun 2006 04:45:10 + Anurag wrote: AV> 1) Does row context structure for dynamic row collect column data set for AV> same table across different SNMP PDU or does it only do whatever columns AV> are set for a particular table, in a single PDU? This depends on the implementation. It

Re: how to handler the table with the index of mac address ? Thanks!

2006-06-14 Thread Robert Story
On Thu, 1 Jun 2006 10:08:32 +0800 livia wrote: LX> Firstly, thank you very much for your help! LX> In fact, my table's index mac address is a fixed length of 6. For example, LX> if the mac address string is "ABCDEF", I want to print them with the LX> following format: LX> A:B:C:D:E:F. LX> Sorry,

Re: snmpd is segfaulting when -DALL on Solaris9

2006-06-14 Thread Robert Story
On Wed, 14 Jun 2006 09:42:39 -0700 Wes wrote: WH> > On Wed, 14 Jun 2006 09:50:14 -0600, Bruce Shaw WH> > <[EMAIL PROTECTED]> said: WH> WH> Wes> um, Thomas... in the rc series we should be voting on major changes WH> WH> Bruce> like that. WH> WH> Bruce> I vote yes. WH> WH> Have you revi

Re: snmpd is segfaulting when -DALL on Solaris9

2006-06-14 Thread Wes Hardaker
> On Wed, 14 Jun 2006 09:50:14 -0600, Bruce Shaw <[EMAIL PROTECTED]> said: Wes> um, Thomas... in the rc series we should be voting on major changes Bruce> like that. Bruce> I vote yes. Have you reviewed the patch, are is that vote based only on knowing the description of the problem? -- W

Re: ifIndex values

2006-06-14 Thread Wes Hardaker
> On Wed, 14 Jun 2006 08:52:40 -0700 (PDT), "David T. Perkins" <[EMAIL > PROTECTED]> said: David> Have you thought of doing any of the following: David> 1) saving the mappings in the config file We've thought about doing #1. David> 2) hashing the value of the description text, David> re

Re: ifIndex values

2006-06-14 Thread David T. Perkins
HI, Have you thought of doing any of the following: 1) saving the mappings in the config file 2) hashing the value of the description text, resulting in a value between 1 and 2^31-1 Regards, /david t. perkins On Wed, 14 Jun 2006, Wes Hardaker wrote: > > On Tue, 13 Jun 2006 22:10:05

RE: snmpd is segfaulting when -DALL on Solaris9

2006-06-14 Thread Bruce Shaw
>> snmpd is segfaulting when -DALL is specified. After searching >> through the mail archives, I found Dave Shield's patch at >> http://www.mail-archive.com/[email protected]/msg08966.ht ml >> >> I applied this patch and snmpd continued past register_mib() but >> then segfaulted

Re: snmpd is segfaulting when -DALL on Solaris9

2006-06-14 Thread Wes Hardaker
> On Tue, 13 Jun 2006 16:04:22 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: >> snmpd is segfaulting when -DALL is specified. After searching >> through the mail archives, I found Dave Shield's patch at >> http://www.mail-archive.com/[email protected]/msg08966.html >

Re: ifIndex values

2006-06-14 Thread Wes Hardaker
> On Tue, 13 Jun 2006 22:10:05 +0530, <[EMAIL PROTECTED]> said: santhosh> How ifIndex value of ifTable in net-snmp-5.2.1 (on Linux ) santhosh> is populated?. Form the mibII group implementation, SNMP santhosh> agent initializes ifTable columns by reading /proc/net/dev santhosh> file. But how

Re: snmpget V2 looping subagent

2006-06-14 Thread Wes Hardaker
> On Tue, 13 Jun 2006 18:06:11 +0300, "Shinar, Gil" <[EMAIL PROTECTED]> > said: Gil> When I've tried to debug the code, I saw differences between what I get Gil> when I use snmpwalk then when I use the snmp manager. Unfortunately, it's unlikely we can help you without looking at the code

Re: 5.3.1.rc1 build test status

2006-06-14 Thread Wes Hardaker
> On Wed, 14 Jun 2006 14:03:16 +0100, Dave Shield <[EMAIL PROTECTED]> said: >> NetBSD 3.0: >> "make test" fails on test #58 - the agent compains >> "auto_nlist failed on udbtable" (and also on "udpstat") >> >> OpenBSD 3.8: >> "make test" fails on test #58 - same error as NetBSD >> >> Dave>

Re:

2006-06-14 Thread Wes Hardaker
> On Wed, 14 Jun 2006 15:29:25 +0100, Dave Shield <[EMAIL PROTECTED]> said: AV> 2) Is there any concept of caching out the cached data if for some reason AV> I did not receive set for all mandatory columns I am expecting. This AV> might happen let say col1 and col2 is set and came in one PDU,

Re:

2006-06-14 Thread Dave Shield
Robert Story wrote: >On Sat, 03 Jun 2006 09:18:32 + Anurag wrote: >AV> In this context, I have a table with dynamic row that can potentially >AV> have CREATE-WAIT set by the manager . As per SNMP protocol, set for >AV> columns can comes in different SNMP PDU. >AV>

Re:

2006-06-14 Thread Robert Story
On Sat, 03 Jun 2006 09:18:32 + Anurag wrote: AV> In this context, I have a table with dynamic row that can potentially AV> have CREATE-WAIT set by the manager . As per SNMP protocol, set for AV> columns can comes in different SNMP PDU. Let's say only column1 and col AV> 2 is set and it come

Re: 5.3.1.rc1 build test status

2006-06-14 Thread Dave Shield
Dave Shield wrote: >Thomas Anders wrote: > >>We still need people to report build test status for *BSD (which isn't >>covered by my build farm and SF CF is down). Anyone? >> >NetBSD 3.0: > "make test" fails on test #58 - the agent compains > "auto_nlist failed on udbtable" (and also on "ud

Re: 5.3.1.rc1 build test status

2006-06-14 Thread Dave Shield
Thomas Anders wrote: >We still need people to report build test status for *BSD (which isn't >covered by my build farm and SF CF is down). Anyone? > FreeBSD 6.0: configure reports one warning, when testing for This can be fixed by moving "sys/conf.h" from the list at line 2630 of config

snmpget V2 looping subagent

2006-06-14 Thread Shinar, Gil
Hi all,   I have implemented a subagent code containing scalars and tables. With the scalars I do not have any problems. When I run snmpwalk, scalars and tables are responding well. When a snmp manager (HP-OpenView, Adventnet, etc) that is using V2 request (it sends request for many insta

Re: douplicated traps

2006-06-14 Thread Torben Surmer
Hi, to be sure not to have an configuration issue, I ran >>> ./snmpd -Dread_config -H 2>&1 | grep "Reading" | sort -u <<< and viewed all listen config files. Than I added: >>> trap2sink 127.0.0.1 public <<< into >>> /usr/local/share/snmp/snmpd.conf <<< to be sure, that a I don´t have a "forwardin