Re: NET-SNMP V3 question.

2009-12-02 Thread Dave Shield
2009/12/1 Pil Choi cpil...@hotmail.com: Now how will the client(snmp manager) call the master/subagent remotely? By specifying the IP address of the remote host (i.e. the system where the master and subagent are running). We can't be any more specific, because you haven't said anthing about

Re: How to add and compile additional c files into mib module?

2009-12-02 Thread Dave Shield
2009/12/1 chi.g...@l-3com.com: 1.  I have a MIB file converted to a mib module testAgentModule.c and testAgentModule.h 2.  In testAgentModule.c, I want call a function in my own c file called dataProcess.c 3.  Where do I add this dataProcess.c file in the Makefile and How do

could not get cpu, mem usage from snmpd service

2009-12-02 Thread Baris Erdogan
Hi list,   I am using net-snmp-5.3.2.2-5 for el5 386 version in redhat 4.1.2-44. when i make snmpmib walk, i am getting following outputs   24: sysORUpTime.1 (timeticks) 0 days 00h:00m:00s.36th (36) 25: sysORUpTime.2 (timeticks) 0 days 00h:00m:00s.36th (36) 26: sysORUpTime.3 (timeticks) 0 days

How to receive snmpv3 traps in my application using net-stack stack

2009-12-02 Thread Vamsidhar Y
Hi All, I am trying to receive snmpv3 traps using net-snmp stack in my application. I don't know why my callback is not being called to receive snmpv3 traps that are sent. Regards Vamsidhar Y -- Join us

Re: could not get cpu, mem usage from snmpd service

2009-12-02 Thread Dave Shield
2009/12/2 Baris Erdogan bariswins...@yahoo.com I am using net-snmp-5.3.2.2-5 for el5 386 version in redhat 4.1.2-44. when i make snmpmib walk, i am getting following outputs 24: sysORUpTime.1 (timeticks) 0 days 00h:00m:00s.36th (36) 25: sysORUpTime.2 (timeticks) 0 days 00h:00m:00s.36th (36)

getting netsnmp_tdata pointer without request object

2009-12-02 Thread asaf
I have to add row to a table from an internal function in my daemon (not from SET request). how can I retrieve pointer to my table (I have the OID), previously registered via 'netsnmp_tdata_register' ? (ofcourse i can save it in global variable, but that doesn't look right)

Re: How to initialise the contents of the table ?

2009-12-02 Thread Dave Shield
2009/12/2 飞飞 chenyapu1...@qq.com: void initialize_table_diskSystemTable(void) { :     netsnmp_tdata_register( reg, table_data, table_info );     /* Initialise the contents of the table here */ /* what am I do something here???*/ Call the routine

Re: getting netsnmp_tdata pointer without request object

2009-12-02 Thread Dave Shield
2009/12/2 a...@lingnu.com: I have to add row to a table from an internal function in my daemon (not from SET request). how can I retrieve pointer to my table (I have the OID), previously registered via 'netsnmp_tdata_register' ? (of course i can save it in global variable, but that

Dell Mibs

2009-12-02 Thread atlantis
Hi list, First of all please excuse my poor english... I'm trying to get informations from the Dell mibs (MIB-Dell-10892) whithout any chances... I'm runing debian 4.0 (i know, need upgrade...) and my version of net-snmp is 5.2.3. I did place the mib in the right directory but when i try to get

Re: Dell Mibs

2009-12-02 Thread Stuart Kendrick
Would you try the following and report the results you see? gnat snmptranslate -IR -On mIBMajorVersionNumber .1.3.6.1.4.1.674.10892.1.1.1 gnat snmpget -v 2c -c *** foo mIBMajorVersionNumber.0 MIB-Dell-10892::mIBMajorVersionNumber.0 = INTEGER: 5 gnat where 'foo' is the name of the host you

RE: 回复:RE: mib file is tables,us e mib2c.table_data.conf template generate .c .h files,./configur e --with-mib-modules=

2009-12-02 Thread Mike Ayers
[Please send to the list, thanks.] From: chenyapu1...@qq.com [mailto:chenyapu1...@qq.com] Sent: Tuesday, December 01, 2009 11:11 PM Where do the rows get added? I see a function to do this, but I do not see it called..? Mike: what do you meaning?My .c file is here:

Re: Dell Mibs

2009-12-02 Thread Dave Shield
2009/12/2 atlantis o0o.atlantis@gmail.com: I'm trying to get informations from the Dell mibs (MIB-Dell-10892) whithout any chances... I'm runing debian 4.0 (i know, need upgrade...) and my version of net-snmp is 5.2.3. The Net-SNMP agent as supplied by this project does not support this

Snmp Error

2009-12-02 Thread chandrakumar.g
Hi all, Just now only i joined this mailing list. While restarting my snmpd i got the following error ERROR: Restarting network management services:/usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd I reinstalled snmpd and net-snmp but the same error

Re: Dell Mibs

2009-12-02 Thread Bart Van Assche
On Wed, Dec 2, 2009 at 6:39 PM, atlantis o0o.atlantis@gmail.com wrote: I'm trying to get informations from the Dell mibs (MIB-Dell-10892) whithout any chances... I'm runing debian 4.0 (i know, need upgrade...) and my version of net-snmp is 5.2.3. I did place the mib in the right