RE: net-snmp 5.2.1.2 compile issue on cygwin

2005-12-01 Thread Paul Oppenheim
> Do you get the same error with 5.2.2? YAY! NO! Thanks! when I add: --with-mib-modules="host agentx disman/event-mib examples/example" \ --with-out-mib-modules=host/hr_network --with-libs="-lws2_32" \ (as the docs suggest), it builds fine. WOOT!!! if i do a default ./configure and build out of s

Re: Unable to get information from HOST-RESOURCES-MIB

2005-12-01 Thread Tam Vo
I just heard from another SNMP user with regard to Sun Solaris OS that the Hardware Diagnostic Suite is required to access HOST-Res information using third party SNMP tool like net-snmp.  The basic Sun Management Center is free, but it only allows access to MIB-II information.  Is this true? Tam

ipForwarding R/W ?

2005-12-01 Thread Eugen
Hi,   I’m trying to test the snmpset on ipForwarding OID and I get a “notWritable” error. The snmpget is working fine. See the details bellow:   snmpget -v2c -cxxx localhost ipForwarding.0 IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2)   snmpset -v2c -cxxx localhost IP-MIB::ipFo

Re: SNMPGETNEXT on the last column of last row is not jumping to the next table

2005-12-01 Thread Robert Story
On Wed, 30 Nov 2005 11:54:52 +0800 Kurapati wrote: KMG> KMG> SNMPGETNEXT on the last column and last row in the first table is KMG> KMG> resulting in GENERAL ERROR, though the SubAgent is sending the KMG> KMG> successful response i.e., first instance of the table 2 to the KMG> SNMPD. KMG> KMG> H

Re: snmp trap handler issue (net-snmp-5.3.pre4)

2005-12-01 Thread Robert Story
On Wed, 30 Nov 2005 14:04:15 +1300 Holger wrote: H> >> Downloaded, compiled, tested, installed, all good - except the memory H> >> leak, which is still quite viable. H> > H> > Do you have a minimal test case to reproduce this? H> H> For version <= 5.2.2: H> H> Simply install SNMPTT (www.snmptt.o

Re: Ownership of agent persistent stores

2005-12-01 Thread Robert Story
Just a note to users that this discussion is being continues on coders.. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: Archive:

Traps generation using notification.c model and Win32

2005-12-01 Thread xxx yyy
I'm trying, ultimately, to create a test program to generate trap messages (probably from within an AgentX agent extension context (version 5.x)) which specify an SNMP community depending on which (site) they were initiated from - (on a Windows 2000 (actually, XP Pro) platform) - But initially

Re: Too many files

2005-12-01 Thread Robert Story
On Wed, 16 Nov 2005 22:53:13 -0500 Albert wrote: AW> I am running Mandriva 2006 with net-snmp-5.2.1.2-4mdk. I noticed this AW> week that there failures occurring with snmp communications after some AW> period of time. Here is a sample of the failures I have encountered. AW> AW> grep "Nov 14 1

Re: Unable to get information from HOST-RESOURCES-MIB

2005-12-01 Thread Tam Vo
I shut down both Sun's agent         /etc/rc3.d/S76snmpdx stop         /etc/rc3.d/S77dmi stop Then ran the Net-SNMP agent by executing         cd /usr/local/sbin         ./snmpd -d a)  Can you query it at all (e.g. for the system group)         Yes, it returns all the system data without any er

Re: Information on "Running modules"

2005-12-01 Thread manik chopra
Thanks Dave ! Does NET-SNMP  supports  HOST-RESOURCES-MIB  ?? Thanks manikDave Shield <[EMAIL PROTECTED]> wrote: On Wed, 2005-11-30 at 18:41 -0800, manik chopra wrote:> How can I get information, via snmp, on> > 1.) which process are currently running on a system.snmpwalk HOST-RESOURCE

Re: Unable to get information from HOST-RESOURCES-MIB

2005-12-01 Thread Tam Vo
Additional information. Because I execute snmpd using -d option I observed the following information in the dump log Received SNMP packet(s) from 127.0.0.1         GET MESSAGE                 --SNMPv2-SMI::mib-2.25.1.2.0 Is this right?  I thought mib-2 has it own OID of 1.3.6.1.2.1.1, this mean

Re: Unable to get information from HOST-RESOURCES-MIB

2005-12-01 Thread Dave Shield
On Thu, 2005-12-01 at 08:32 -0800, Tam Vo wrote: > I am running net-snmp version 5.0.10.1 on Solaris 8, but for some > reason I am not able to perform snmpget/snmpwalk on anything under > HOST-RESOURCES-MIB. > I followed the instruction in README.solaris (section 7, page 7) to > configure net-s

Unable to get information from HOST-RESOURCES-MIB

2005-12-01 Thread Tam Vo
Hi All, I am running net-snmp version 5.0.10.1 on Solaris 8, but for some reason I am not able to perform snmpget/snmpwalk on anything under HOST-RESOURCES-MIB.  It gave me this kind of error:         Error in packet         Reason: (nosuchname) There is no such variable in this MIB.          

Re: snmpd exited on signal 11 (core dumped)

2005-12-01 Thread Thomas Anders
Goran Tornqvist wrote: FreeBSD 4.11 and snmpd from ports: bash-2.05b# pkg_info | grep snmp net-snmp-5.2_1 An extendable SNMP implementation By all means, report this to the FreeBSD ports maintainer. *We* would suggest using our latest releases (5.2.2) instead and hope it'll work much

snmpd exited on signal 11 (core dumped)

2005-12-01 Thread Goran Tornqvist
Hello, I got this problem: Sometimes, maybe once a week, snmpd crashes on one of my servers and I'll have to start snmpd again. When checking the syslog all I find is:   Dec  1 16:17:48 server /kernel: pid 278 (snmpd), uid 0: exited on signal 11 (core dumped)   I have no idea why this is.   F

Unregister is not working in NET-SNMP-5.2.2.

2005-12-01 Thread Kurapati M-G19456
All, We are using NET-SNMP-5.2.2.rc6. When the SubAgent unregisters the OID with the Agent using unregister_mib_context() API. Though a valid OID is given as input to this function, we are seeing SubAgent sending JUNK oids to the Agent for unregister. Has this behavior been observed by anybod

RE: accessing udpInDatagrams need some information

2005-12-01 Thread rajeshreddy
hi,   problem was solved ..   there was a mistake in context access..   Iam using 5.0.6 version on linux.. if any thing you want to suggest regarding this ,please mail me   Thanks ...   Regards, Rajesh.       -Original Message-From: [EMAIL

Re: Some questions

2005-12-01 Thread Thomas Anders
Augusto Salazar wrote: Another thing, the net snmp 5.2.2 does not compile in my RH 9 How do you think we should help with compiling if you don't tell us what errors you get? Also, we'd need to know your configure line at least. it does in a Fedora 4 machine, but when I run the example of th

Some questions

2005-12-01 Thread Augusto Salazar
Hello all. This is a really basic question.. just starting with snmp and nothing seems to work.. I have to be doing something wrong.. Anyway, this is the question, Following the examples from this page http://net-snmp.sourceforge.net/tutorial/tutorial-5/commands/snmpv3.html I get always time o

Re: Help Requested to know the format of DiskSpace , using snmpwalk

2005-12-01 Thread Dave Shield
On Thu, 2005-12-01 at 07:52 +, John Joseph wrote: > Hi >I am trying to find the disk space using snmpwalk > $ snmpwalk 192.168.20.99 -c public hrStorageSize > The "HOST-RESOURCES-MIB::hrStorageSize.4 = > INTEGER: 12672022" gives the value of the disk size > for the root >I

Re: Information on "Running modules"

2005-12-01 Thread Dave Shield
On Wed, 2005-11-30 at 18:41 -0800, manik chopra wrote: > How can I get information, via snmp, on > > 1.) which process are currently running on a system. snmpwalk HOST-RESOURCES-MIB::hrSWRunName > 2.) network interface driver version Hmmm I'm not sure that information is availab

RE: compilation error in 5.2.2

2005-12-01 Thread Jim Su
Hi Greeting: Problem is solved. It's the directive I added in the Makefile.in file. I blindly followed "CPPFLAGS= $(TOP_INCLUDES) -I. $(AGENT_INCLUDES) $(MIBGROUP_INCLUDES) \ $(SNMPLIB_INCLUDES) -I$(ATM_INC_DIR) @CPPFLAGS@ $(LIB_CFLAGS)" to add my INC_DIR without th

Re: 'Inter-Tables indexing' and perl

2005-12-01 Thread Turbo Fredriksson
Quoting Dave Shield <[EMAIL PROTECTED]>: > On Wed, 2005-11-30 at 15:52 +0100, Turbo Fredriksson wrote: > >> > That's with both 5.3.pre4 and 5.2.2.rc6 installations (though >> > I don't think the version is relevant here). >> >> You don't happen to have a 4.2.3 *begging* ? > > Not immediately. > I

snmptrapd makes got mad -_-

2005-12-01 Thread 麻 雪蛟
hi I've converted snmptrapd to a c++ class, and my function start_trapd likes standard snmptrapd's main function... But a problem lets me got mad, when I use my trapd c++ class for about 5 minutes,it couldn't receive trap message, I debuged it looks like snmp_read blocked..I don't konw why.

Help Requested to know the format of DiskSpace , using snmpwalk

2005-12-01 Thread John Joseph
Hi I am trying to find the disk space using snmpwalk while I do snmpwalk I get the results as [EMAIL PROTECTED] snmp]$ snmpwalk 192.168.20.99 -c public HOST-RESOURCES-MIB::hrStorageSize HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 483660 HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 48