Re: How to run the snmpd in debug mode

2010-02-25 Thread purushotam rao
R/ Sir, Thankyou for your reply. Now I am able to run net-snmp in debug mode. I have installed net-snmp ver 5.5. I have configured with the attached testmodule.c and testmodule .h mib. This mib is having two parameters. First Parameter is integer and second parameter is string. When I query for s

RE: Help with installation

2010-02-25 Thread Mike Ayers
> From: Abigail Rebello [mailto:bluebriarr...@rediffmail.com] > Sent: Wednesday, February 24, 2010 11:26 PM > i'm a linux beginner.. Yep. > i've insstalled and configured net-snmp a number of times on my system > but have a problem getting it to work... am not sure what's wrong...

RE: netsnmp over tcp

2010-02-25 Thread Mike Ayers
> From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] > Sent: Wednesday, February 24, 2010 12:52 AM > On 24 February 2010 08:38, Sudeep Nayak wrote: > > RFC 3430 for SNMP over TCP mentions > > "A fundamentally different approach is to make the > notification receiver > > responsible for establi

Re: net-snmp 5.5 and osx 10.4.11

2010-02-25 Thread aurfalien
Hi Mike, Yes, its an Intel Xserve running 10.4.11. Funny thing is that I installed net-snmp v5.5 but the agent won't run because of missing /dev/kmem. I feel like I've been running around in circles. You have any ideas for me? - aurf On Feb 25, 2010, at 6:27 PM, Mike Ayers wrote: >> From: a

RE: net-snmp 5.5 and osx 10.4.11

2010-02-25 Thread Mike Ayers
> From: aurfal...@gmail.com [mailto:aurfal...@gmail.com] > Sent: Thursday, February 25, 2010 5:39 PM > Has any one been able to compile net-snmp 5.5 in 10.4? > > I keep getting; > > arning: no debug map in executable (-arch i386) > > ranlib: archive member: .libs/libnetsnmpagent.a(DynaLoader.a)

Re: net-snmp 5.5 and osx 10.4.11 - follow up

2010-02-25 Thread aurfalien
Forgot to mention, I installed net-snmp via MacPorts is what I meant to say. - aurf On Feb 25, 2010, at 6:27 PM, Mike Ayers wrote: >> From: aurfal...@gmail.com [mailto:aurfal...@gmail.com] >> Sent: Thursday, February 25, 2010 5:39 PM > >> Has any one been able to compile net-snmp 5.5 in 10.4? >

net-snmp 5.5 and osx 10.4.11

2010-02-25 Thread aurfalien
Hi, Has any one been able to compile net-snmp 5.5 in 10.4? I keep getting; arning: no debug map in executable (-arch i386) ranlib: archive member: .libs/libnetsnmpagent.a(DynaLoader.a) fat file for cputype (7) cpusubtype (3) is not an object file (bad magic number) ar: internal ranlib comman

RE: No Such Instance currently exists at this OID

2010-02-25 Thread Mike Ayers
> From: cornerbreeze [mailto:cornerbre...@163.com] > Sent: Wednesday, February 24, 2010 7:37 PM > I wrote a MIB by imitating the NET-SNMP-TUTORIAL-MIB. And here is my > MIB: [SNIP/] > memoryUsage OBJECT-TYPE > SYNTAX DisplayString >

RE: How to get notified of a "set" operation

2010-02-25 Thread Mike Ayers
> From: Sylvain Dery [mailto:snmpgroupu...@yahoo.ca] > Sent: Wednesday, February 24, 2010 6:24 AM > Is the netsnmp_create_handler_registration() function documented > somewhere? I can't find doc describing the API... The api is here: http://www.net-snmp.org/dev/agent/group__handler.html

ucd snmp diskio + netsnmp 5.3.3 + osx toger 10.4.11 (intel)

2010-02-25 Thread aurfalien
I've been able to compile and run net-snmp 5.3.3 and .5.4.2 on my 10.4.11 box. However this was only possible after; configure --without-kmem-usage --with-out-mib-modules="mibII/icmp host/ hr_swrun" A key piece of info requiring SNMP on this box is disk i/o. The make will fail any time I do

RE: how to listen on an IP address created only after snmpd process is started

2010-02-25 Thread Mike Ayers
> From: Alina Ghergu [mailto:alina.ghe...@gmail.com] > Sent: Tuesday, February 23, 2010 2:39 AM > I have a question regarding agentaddress option in snmpd.conf. > I used agentaddress successfuly to listen on a particular interface > that is already created. > The problem is that I have a virtual i

RE: SNMPGET...[NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject]

2010-02-25 Thread Mike Ayers
> From: ganeshyell...@bel.co.in [mailto:ganeshyell...@bel.co.in] > Sent: Sunday, February 21, 2010 7:33 PM > C:\usr\bin\snmptranslate -Dparse NET-SNMP-TUTORIAL- > MIB::nstAgentModuleObject > > this command showed > > parse-mibs:Module NET-SNMP-TUTORIAL-MIB already loaded. > > NET-SNMP-TU

need help on netsnmp_table_row_add_index()

2010-02-25 Thread rakesh zingade
Hi, I have generated code using mib2c.create-dataset.conf for my GetCurrentAlmTable. The table has 3 columns and 1 index of type ASN_OBJECT_ID, I have used netsnmp_table_row_add_index() function to add index of type ASN_OBJECT_ID. sample code: static oid LOSAlarm_oid[

Re: loading vendor specific .mib

2010-02-25 Thread Dave Shield
On 25 February 2010 12:32, Queenie de Melo wrote: > but after loading the .mib file suing the snmptranslate -m command as > mentioned in the document with the + sign and the Mib name. i still get > Unknown object identifier and the node. What is the exact command that you are using? What does t

loading vendor specific .mib

2010-02-25 Thread Queenie de Melo
Hi all, I have a vendor specific mib which is a .mib file. i have gone thorugh the documentation provided. I receive the traps.. but the full information is not shown (just like its told on the http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd_to_parse_MIBS_from_3rd_party_V