Can SNMP constrain the access the mib vars?

2004-07-01 Thread EastDr agon
hallo, all Can SNMP constrain someone the access to some mib vars? so the person can not access the mib vars, while others can , the behavior is somewhat like a Linux normal user, who can not execute some command that required the root access right. I know the mib can do the read/write limit,

RE: perl module dependent on source tree

2004-07-01 Thread Sorrell, Al
That's pretty much what I reported on 3/30: ./configure --with-default-snmp-version="2" make umask 022 #as root make install cd net-snmp-5.1.1/perl /usr/local/bin/perl Makefile.PL # make sure I have the right version make make install # as root make test > -Original Message- > Fr

compling 5.1.1 on AIX

2004-07-01 Thread C Wells
Running ./configure after sorting out as, ccp, gcc etc, I get "To monitor CPU/memory in AIX you need libperfstat which can be found in bos.perf" This error won't allow me to run make. I don't really need cpu or memory for what I am doing. Is there a way to configure without this ? Is finding the l

Re: 5.1.2.pre2 notes

2004-07-01 Thread Niels Baggesen
On Thu, Jul 01, 2004 at 09:55:17AM -0700, Stuart Kendrick wrote: > -i do see a MIB file ... syntax issue? MIB file compile error? i don't > know the words ... in DISMAN-SCHEDULE-MIB.txt: > > guru> snmpget -c public test-esx portOperStatus.1.1 > Did not find 'zeroDotZero' in module SNMPv2-SMI >

Re: 5.1.2.pre2 notes

2004-07-01 Thread Stuart Kendrick
hi wes, -ok, i'm not able to replicate the problem i reported below. i think that i inflicted this one on myself, through fiddling with MIB file paths in snmp.conf. please ignore. -i do see a MIB file ... syntax issue? MIB file compile error? i don't know the words ... in DISMAN-SCHEDULE-MI

Re: perl module dependent on source tree

2004-07-01 Thread Stuart Kendrick
cd net-snmp-5.1.2.pre2/perl make clean perl Makefile.PL make make install ==> that worked. strace shows perl pulling default_store (and others) from the tree where the rest of net-snmp is installed, rather than from the compile tree. thanx! --sk On Wed, 30 Jun 2004, Wes Hardaker wrote: On Mon,

Re: sef fault registering

2004-07-01 Thread Carlos Cantu
> That depends on how much work you want to do. The easiest solution, and the one > I use, it so configure with --disable-shared and built staticly linked apps. > Then it's just a matter of setting your path. Takes up lots more space, but > disks are cheap and it's much easier than dealing confi

Re: sef fault registering

2004-07-01 Thread Users
On Wed, 30 Jun 2004 07:50:37 -0600 Carlos wrote: CC> > Not that I'm aware of. Have you tried to get the latest (5.1.2.pre2) to CC> run on CC> > PPC? Even if you can't use it on your product, knowing if the latest CC> code works CC> > could help narrow down the problem scope. CC> CC> I'll give i

Re: snmpd.conf overwritten

2004-07-01 Thread Dave Shield
> I think the main problem was, that I tried to put all rules > (oldEngineID, engineBoots from snmpd.conf and access control ones > from snmp.conf) No - that's wrong. The access control rules *should* be in "snmpd.conf" because they are only relevant to the agent. "snmp.conf" is used for clien

Re: snmpd.conf overwritten

2004-07-01 Thread Marco Waller
Hi, this happened in both environments, on my Linux 2.4 PC and embedded. I think the main problem was, that I tried to put all rules (oldEngineID, engineBoots from snmpd.conf and access control ones from snmp.conf) in one file snmpd.conf. Then starting the agent snmpd.conf seems to be updated and a

Re: Problem in snmpget.. For IP-MIB

2004-07-01 Thread Dave Shield
> I assumed that net-snmp is independent of mibs. I'm not quite sure exactly what you mean by that. The best way to think of a MIB file is as a design document. It describes how a particular item of information should work. The agent implementer should use this to guide the code that act

RE: Problem in snmpget.. For IP-MIB

2004-07-01 Thread prabhu.anandh
Hi Dave, I am still not clear with your answer. Can you clarify my doubts with some more details? I assumed that net-snmp is independent of mibs. But from your answer I guess that net-snmp must be built for each and every mib available in the market. How to find that which object is RO and RW like

Re: snmpget

2004-07-01 Thread Dave Shield
> 5) [EMAIL PROTECTED]:conf]# snmpd -f -L -d > Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose in this state. Well that should be something of a warning sign! :-) > rocommunity rocommunity > rocommunity public > rwcommunity rwc

Re: Problem in snmpget.. For IP-MIB

2004-07-01 Thread Dave Shield
> I have checked the object ipForwarding is a readwrite > and I am not able to set the value as 1 or 2 You didn't say SET - you were asking about GET. > Error in packet. > Reason: notWritable (that object does not support modification) No - that's correct. We don't currently implement SET su

Re: net-snmp SC test failures and queries

2004-07-01 Thread Dave Shield
Vic> Also, the EGP group seems included on the MIBs, how come the Vic> objects are not implemented by net-snmp? `configure --help` does Vic> not list any info on how to enable this group. What's NET-SNMP's Vic> status on EGP? Wes> Well, we only implement things that people have given us code for

RE: Problem in snmpget.. For IP-MIB

2004-07-01 Thread prabhu.anandh
Sorry dave, I forgot to mention the problem that I encounter in my first mail .so I gave a new message with different name , the problem is I have checked the object ipForwarding is a readwrite and I am not able to set the value as 1 or 2 as it g

RE: RE: snmpget

2004-07-01 Thread ballo
Hello, Tkanks for answers Bruce & Steve. 1) I installed net-snmp with the command pkgadd -d netsnmp-5.1.1-sol8- sparc-local 2) Yes, I turned off Sun's daemons dmi and snmpdx. 3) "/etc/rc3.d/S78net-snmp start" 4) [EMAIL PROTECTED]:mibs]# ps -ef | grep snmpd root 13665 1 0

Re: Problem in snmpget.. For IP-MIB

2004-07-01 Thread Dave Shield
Please *don't* post the same problem twice. Particularly not under different subject lines. You need to use the '-Oe' flag. Dave --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Ve

Re: Deregistration of a MIB -- Any API?

2004-07-01 Thread Dave Shield
> I could not find the fuunction pasted in your response. Eh? But you included the whole of that response (including the function code) in your message of Wed, 30 Jun 2004 19:05:32 +0530 The one where you said "Thank you" > Shall I download 5.1.1.pre2 and get the function? > Is it available in

Re: FW: FW: snmpset not working

2004-07-01 Thread Dave Shield
> When I try to give snmpget ,like the following command >snmpget -v 2c -c public 10.116.20.5 ip.ipForwarding.0 > I am getting the result as follows > .1.3.6.1.2.1.4.1.0 forwarding > and I am not getting the value of the forwarding as either 1 or 2 Yes, in fact you are. Look at the

RE: Deregistration of a MIB -- Any API?

2004-07-01 Thread Kurapati M-G19456
Dave, I could able to find the function definition in 5.1.2.pre2. Thanks Mahesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kurapati M-G19456 Sent: Thursday, July 01, 2004 11:59 AM To: [EMAIL PROTECTED] Subject: RE: Deregistration of a MIB -- Any