RE: How to configure net-snmp in solaris 8?

2005-06-16 Thread Bruce Shaw
>I've download the net-snmp - net-snmp_5.0.9-SunOS_5.8_sun4u.tar.gz >I've uncompress it and untar the net-snmp file, but I am confuse the in step - "Compiling net-snmp" >I've set PATH to PATH=/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/bin You've downloaded a binary file. There's no need to comp

Re: How to configure net-snmp in solaris 8?

2005-06-16 Thread C Wells
Hi, You have downloaded the binary, there is NO need to compile. You will have to stop the sun snmpdx first. Then run /usr/local/sbin/snmpd. netsnmpd can be run as a child process under snmpdx if you wish. --- GoonFui Wong <[EMAIL PROTECTED]> wrote: > Hi, > > I've download the net-snmp - > net-

RE: No swap line in /proc/stat and No page line in /proc/stat

2005-06-16 Thread Garrett Stoupe
Hi Robert Thanks for the email Please provide me with some more information on this, on what you mean by There is no way to eliminate the message w/out recompiling , have you also got any patches for this as well? Garrett Stoupe Network And Database Administrator WWW: http://www.te.c

mib2c on Mac OS 10.4

2005-06-16 Thread Brian Howenstein
Hi, Has anyone here been successful in getting 'mib2c' working on Mac OS 10.4? If so, what steps did you take to get it working? Thanks for any help, Brian --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from

How to configure net-snmp in solaris 8?

2005-06-16 Thread GoonFui Wong
Hi, I've download the net-snmp - net-snmp_5.0.9-SunOS_5.8_sun4u.tar.gz from www.net-snmp.org/download/ I am follow the installation guilde provide in "http://www.net-snmp.org/docs/README.solaris.html";. I've uncompress it and untar the net-snmp file, but I am confuse the in step - "Compiling ne

help me in net-snmp compilation

2005-06-16 Thread sivaram krishna
hai I am working with net-snmp5.1.2 I am trying to cross compile it to mips Initially I have selected --enable-mini-agent in configuration and I have compiled. I am getting SNMPv2-MIB,SNMP-FRAME-WORK-MIB , SNMP-MPD-MIB ,SNMP-USER-BASED-SM-MIB, SNMP-VIEW-BASED-ACM-MIB mibs. apa

net-snmp compilation under win32

2005-06-16 Thread POSCHMANN, WERNER - PFHO
HI,   I have problems compiling net-snmp V 5.2.1.1 under MS Visual C++ 6.0.   I installed the source package 5.2.1 and than the binaries. There are not enough include files in the binary distribution for compilation. Prior I installed the PSDK too like it was posted in the help file.

Net-SNMP on Debian Woody

2005-06-16 Thread Alessandro Nardi
Hi   My name’s Alessandro, I’m an Italian engineering   I tried to install Net-SNMP 5.2.1 on my Linux Distribution (Debian Woody Kernel 2.4.18) but I Failed:   when I put “./configure” this is the output:   << checking for C compiler default output file name….configure: error: C com

RE: snmptrapd memory leak ??

2005-06-16 Thread Wu, Lan, ALABS
Hi Robert, Thanks for returning my email. << Try this simple patch to disable the agentx sub-agent. >> Where can I find this patch and how to install it ? Thanks. Lan -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 6:41 PM To: Wu, Lan

RE: snmptrapd memory leak ??

2005-06-16 Thread Wu, Lan, ALABS
Hi Robert, The snmptrapd core dump: -rw--- 1 snmp staff36618056 Jun 16 21:31 core core: ELF 32-bit MSB core file SPARC Version 1, from 'snmptrapd' I will try to reconfig back without turn off the flag, see how long it could last. Lan -Original Message- From:

RE: snmptrapd memory leak ??

2005-06-16 Thread Wu, Lan, ALABS
Hi Robert, I think that magic number is not holding any more, the memory grows up to 35M 34M ..and still growing, this is after we turn off the flag. Any other suggestions ? Thanks. Lan -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Thursday, June 16, 2005 10

RE: snmptrapd memory leak ??

2005-06-16 Thread Wu, Lan, ALABS
Hi Robert, I whipped out the old software, then untar the 5.2.1, before config, I edited the snmptrapd.c changed the agentx_subagent = 0 as said in the patch. Then I follow the installation procedure - configure, make, sudo make install Then bring up the trapreceiver (snmptrapd & another java pr

RE: snmp_synch_response

2005-06-16 Thread George, Geo
Thanks Robert. So is there any way I can validate the user input? That is, if user tries to set an OID which is not valid (Not in specific view /not able to retrieve info / type is not as we expect etc), then it should return BAD_VALUE. Regards, Geo -Original Message- From: Robert Story

Re: Host restricting

2005-06-16 Thread Robert Story
On Thu, 16 Jun 2005 16:02:17 +0100 Dave wrote: DS> On Thu, 2005-06-16 at 15:53, Robert Story wrote: DS> > Ok, I can see that allowing different access for the same user based on DS> > transport is out. But I don;t see how it would preclude having a user DS> > only be valid for a certain transport.

Re: snmp_synch_response

2005-06-16 Thread Robert Story
On Thu, 16 Jun 2005 08:17:42 -0700 George, wrote: GG> So I opened another snmp_session, reading community strings from conf GG> file and issued a SNMP_GET. Its fetching the values ( in alarm GG> functions). GG> GG> Now the problem is calling the same routine during a SET operation (of GG> an OID).

Re: how to delete row from non-simple MIB table

2005-06-16 Thread Steve S. Law
--- Dave Shield <[EMAIL PROTECTED]> wrote: > On Wed, 2005-06-15 at 19:12, Steve S. Law wrote: > > > > How do the iterator 'get_{first,next}' hook > routines > > > obtain the list of entries to work with? > > > Do you have an internal list, or something > similar? > > > How is this generated? >

RE: snmp_synch_response

2005-06-16 Thread George, Geo
Thanks Dave. Due to some restrictions, I can't change the version of agent to snmpV3. So I opened another snmp_session, reading community strings from conf file and issued a SNMP_GET. Its fetching the values ( in alarm functions). Now the problem is calling the same routine during a SET operation

Re: Problem with some IF and IP mib objects.

2005-06-16 Thread Robert Story
On Thu, 16 Jun 2005 12:34:49 +0530 krushna wrote: KB> SuseEnt9:/tmp/net-snmp-5.2.1 # snmpwalk -c public -v 1 localhost KB> IF-MIB::ifEntry KB> KB> returns the objects with its values neatly, but the following coommand does KB> not. KB> KB> SuseEnt9:/tmp/net-snmp-5.2.1 # snmpwalk -c public -v 1 l

Re: Host restricting

2005-06-16 Thread Dave Shield
On Thu, 2005-06-16 at 15:53, Robert Story wrote: > Ok, I can see that allowing different access for the same user based on > transport is out. But I don;t see how it would preclude having a user > only be valid for a certain transport. eg user 'john', when coming from > a source within 10.0.0.0/8,

Re: Host restricting

2005-06-16 Thread Robert Story
On Thu, 16 Jun 2005 11:17:43 +0100 Dave wrote: DS> On Wed, 2005-06-15 at 23:48, Robert Story wrote: DS> > Everytime this question comes up, I tell myself I should go DS> > check the v3 specs to see if this is an actual requirement DS> > in the spec, or a quick of our implementationI'm DS> >

RE: array-user table set handling

2005-06-16 Thread George, Geo
Thanks Robert. The problem was related to access control. Actually there are two snmpd.conf present in /etc. (/etc/snmp/conf/snmpd.conf and /etc/sma/snmp/snmpd.conf ). First one is for earlier versions of agent and the latter is for new generation of agents. I was editing the wrong file for communi

Re: snmptrapd memory leak ??

2005-06-16 Thread Robert Story
On Thu, 16 Jun 2005 08:58:44 -0500 Wu, wrote: WLA> Thanks for returning my email. WLA> WLA> << Try this simple patch to disable the agentx sub-agent. >> WLA> WLA> Where can I find this patch and how to install it ? d'oh! It was supposed to be attached to my mail. Sorry about that. Here it is..

RE: snmptrapd memory leak ??

2005-06-16 Thread Wu, Lan, ALABS
-Original Message- From: Wu, Lan, ALABS Sent: Thursday, June 16, 2005 9:47 AM To: 'net-snmp-users@lists.sourceforge.net' Subject: RE: snmptrapd memory leak ?? Hi Robert, Thanks for returning my email. << Try this simple patch to disable the agentx sub-agent. >> Where can I find thi

Re: netsnmp_register_watched_scalar and ASN_GAUGE

2005-06-16 Thread Dave Shield
[Sorry for the delay in responding - I *have* been meaning to get back to you on this question.] On Tue, 2005-06-14 at 09:56, Paul Davies wrote: > If I use the netsnmp_register_watched_scalar call and create a > watcher for a readonly ASN_GAUGE variable, does the watcher > prevent my gauge va

netsnmp_register_watched_scalar and ASN_GAUGE

2005-06-16 Thread Paul Davies
If I use the netsnmp_register_watched_scalar call and create a watcher for a readonly ASN_GAUGE variable, does the watcher prevent my gauge variable from exceeding its maximum value, should that be attempted? Incidentally, since discovering the watcher helpers I have trouble understanding why I

Re: how to delete row from non-simple MIB table

2005-06-16 Thread Dave Shield
On Wed, 2005-06-15 at 19:12, Steve S. Law wrote: > > How do the iterator 'get_{first,next}' hook routines > > obtain the list of entries to work with? > > Do you have an internal list, or something similar? > > How is this generated? > Iterator routines are generated by mib2c tool. There > is a g

Re: Host restricting

2005-06-16 Thread Dave Shield
On Wed, 2005-06-15 at 23:48, Robert Story wrote: > Everytime this question comes up, I tell myself I should go > check the v3 specs to see if this is an actual requirement > in the spec, or a quick of our implementationI'm > sure Mr. Perkins or Mr. Hardaker can speak to the issue.. Humph!!

RE: snmp_synch_response

2005-06-16 Thread Dave Shield
On Wed, 2005-06-15 at 19:31, George, Geo wrote: > Actually I am facing another problem with snmp_synch_response. > Problem is Not able to do an internal Query for OID and get its value. > Response PDU always returns "NO_SUCH_NAME". The access control code doesn't currently handle community-base

Re: net-snmp compilation problem

2005-06-16 Thread Dave Shield
On Thu, 2005-06-16 at 00:25, Robert Story wrote: > This is almost certainly a quoting issue. What does line 97 of > agent/mibroup/ucd-snmp/versioninfo.c look like? It's the configure options problem again! How did you originally run "configure" ? If you specified a list of MIB modules to include

Re: Error opening specified endpoint "udp:161"

2005-06-16 Thread Dave Shield
On Thu, 2005-06-16 at 09:15, Yi He(CD) wrote: > Hi, I encounter this question that net-snmp can't get any specified > socket buffer sometimes Are you running the agent as root, or as a non-root user? I typically get that exact error message when I forget to run things as root. Dave ---

Re: Enteriprise or send_v2trap

2005-06-16 Thread Dave Shield
On Thu, 2005-06-16 at 09:12, chinmay bhat wrote: > i want to send an enterprise trap.So should i use > send_enterprise_trap_vars() or is it ok if i use send_v2trap()? Yes. (send_v2trap is just a wrapper round s_e_t_vars anyway!) Dave --- SF

Re: Can't load HP mibs

2005-06-16 Thread Dave Shield
On Wed, 2005-06-15 at 19:08, [EMAIL PROTECTED] wrote: > I'm trying to load the STATISTICS-MIB and CONFIG-MIB from HP. > I simply copied hpSwitchConfig.mib and hpSwitchStat.mib into > /usr/share/snmp/mibs Have you also got a copy of all the MIBs that these two reference in their respective IMPORTS

Error opening specified endpoint "udp:161"

2005-06-16 Thread Yi He(CD)
Hi, I encounter this question that net-snmp can't get any specified socket buffer sometimes and without reponsing, following is its debug log, could you help me to resolve it, thank you very much. Net-snmp version is:5.2.0 Linux version is : redhat enterprise 9.0 debug info--

Enteriprise or send_v2trap

2005-06-16 Thread chinmay bhat
i want to send an enterprise trap.So should i use send_enterprise_trap_vars() or is it ok if i use send_v2trap()? Is there any compulsion? regards Chinmay _ Test Your Memory and Win Amazing Prizes! http://adfarm.mediaplex.com/ad/

Re: Problem with some IF and IP mib objects.

2005-06-16 Thread krushna bagde
Hi, The commands that I am trying are: SuseEnt9:/tmp/net-snmp-5.2.1 # snmpwalk -c public -v2c localhost if | grep ifInMulticastPkts SuseEnt9:/tmp/net-snmp-5.2.1 # snmpwalk -c public -v 1 localhost if | grep ifInMulticastPkts Like this i greped for each of the vales that I am looking out for i