Re: Reg: How to do netsnmp snmp walk for IPv6 TCP/UDP mibs

2010-07-27 Thread Arulkumar Ponnusamy
can anyone help me on this. On Tue, Jul 27, 2010 at 3:22 PM, Arulkumar Ponnusamy wrote: > Hi > I have installed the net-snmp5.5 on my windows machine and configured the > snmp agent. > My snmp agent is running fine. When i try to do snmpwalk for IPv6 related > mibs i am getting > the following er

Re: Replace community strings programatically

2010-07-27 Thread Dave Shield
On 27 July 2010 22:24, Iverson, Joshua wrote: > So my question is, is there a way I can _replace_ the current ro and rw > community strings programmatically (i.e. without reloading a config file)? No. The 'r[ow]community' directives are really just wrappers round the 'com2sec' directive. The co

Replace community strings programatically

2010-07-27 Thread Iverson, Joshua
I am trying to change the community strings in my agent programmatically at run-time instead of loading them from the .conf file. I've found the vacm_parse_rocommunity() and netsnmp_config() functions, but when I call them, the old community strings remain and new ones get added. So then I tried

Re: Net-SNMP in AIX Setup help needed

2010-07-27 Thread Dave Shield
On 27 July 2010 21:25, Stock, Roger W wrote: > Here is my snmpdv3.conf file: > > defVersion=2 > > syslocation = "Computer room" > syscontact = "Admins" > sysName = uisp570s.bu.edu [snip] That's not a valid config file for the Net-SNMP agent. Either you are using a different vendor's agent

Re: Modifications to Net SNMP 5.4.2.1

2010-07-27 Thread Dave Shield
On 27 July 2010 18:52, Peter Jee wrote: >         We have been using this version, which has a bug that has existed > since 2006.  Our team went ahead and fixed the bug by modifying the source > code and re-compiling.  Can you tell us about your policies about doing this > and using the new binari

Net-SNMP in AIX Setup help needed

2010-07-27 Thread Stock, Roger W
I am trying to get snmpd working for ver 2c requests, both locally and for remote requests. I am also new to this. I am getting a NULL return from a request for host MIB info. Can anyone tell me if they see something wrong with what I am doing? # snmpwalk -v 2c -c public localhost host HOST-RES

Modifications to Net SNMP 5.4.2.1

2010-07-27 Thread Peter Jee
Dear Sir, We have been using this version, which has a bug that has existed since 2006. Our team went ahead and fixed the bug by modifying the source code and re-compiling. Can you tell us about your policies about doing this and using the new binaries. Can I assume that this code is

Re: Help required wrt configuring serverRecvBuf parameter

2010-07-27 Thread Trupti V.Kulkarni
Hi all, Is there any way I can find the current value of 'serverRecvBuf' variable? Also, I guess I can set the value based on the machine's RAM? In that case, I'd like to know how can I find its current value. Thanks, Trupti On 19 July 2010 09:27, Trupti V.Kulkarni wrote: > Hi Wes, > > Thank y

Reg: How to do netsnmp snmp walk for IPv6 TCP/UDP mibs

2010-07-27 Thread Arulkumar Ponnusamy
Hi I have installed the net-snmp5.5 on my windows machine and configured the snmp agent. My snmp agent is running fine. When i try to do snmpwalk for IPv6 related mibs i am getting the following error. C:\usr\bin> snmpwalk -v 2c -c default 127.0.0.1 1.3.6.1.2.1.6.16 TCP-MIB::tcp.16 = No Such Object

Re: When I want to send trap the routine cannot run

2010-07-27 Thread Alexander King
Thank you Dave,I will try this now and write feedback later. my mostly problems can got solved in this list. It is make me very happy,Dave,you answered my many questions,and the answers are quite useful,thank you very much! Alex -- Original -- From:

Re: When I want to send trap the routine cannot run

2010-07-27 Thread Dave Shield
On 27 July 2010 09:58, Alexander King wrote: > In my project ,I want to call sendtempJBODTempTrap() in init_uit() No - I don't think you can send traps quite so early as that. Remember that the individual module init_xxx routines are called *before* the config files are read in (since this is wh

When I want to send trap the routine cannot run

2010-07-27 Thread Alexander King
Hi Dave and all: In my project ,I want to call sendtempJBODTempTrap() in init_uit(),but the the program program interrupt at the sentence as follow: [SKIP] struct jBODTempTable_entry *jBODTempTable_head,*tempJBODTemp; /* */ /* create a new row in the (unsorted) table */ struct

Re: Log snmp file

2010-07-27 Thread Dave Shield
On 27 July 2010 06:24, PASQUALI PIERLUIGI wrote: > My application (ansi C) return on the console this error with this description > >bad type returned (2b) What OID(s) does your application request? Do you know which OID this error corresponds to? > The application tests the type of variabl