doxygen

2004-09-09 Thread Hermann Lacheiner
Hi coders! I'm digging into the multi-threaded handling of OID-handlers Daniel Fallman wrote a few weeks ago. And to get faster into it I generated a new doxygen (1.3.8) documentation for 5.2-pre1 with call graphs enabled. I think it's very useful. You can browse it on http://caesar.ssw.uni-linz.

CVS Main broken on Solaris (snmptrapd)

2004-09-09 Thread Bruce Shaw
http://sourceforge.net/tracker/index.php?func=detail&aid=1025454&group_id=12 694&atid=112694 Undefined symbols first referenced in file ../agent/.libs/libnetsnmpmibs.a(mib_modules.o) init_vacm_conf init_agentx_config init_usmConf in apps directory. Solaris 2.6. gcc This communication is in

Re: SNMP locking up problem

2004-09-09 Thread Coders
On Sun, 5 Sep 2004 18:10:18 +0900 Won-Sik wrote: WSK> 1. which kind of locking ? WSK> a. Every snmp get/set/getnext pdu to snmpd are discarded. WSK> b. But, snmpd shows no problem with processing any signal. WSK> c. It looks like main loop is also OK. WSK> d. I am sure that snmpd is

Re: ifXTable support

2004-09-09 Thread Coders
On Wed, 08 Sep 2004 12:39:54 +0530 Karthikeyan wrote: KN> I tried in the below mentioned way ifXTable columns are not retrieved and KN> saying no data available. Am I missing something?? KN> KN> steps followed : KN> KN> Copied the files from CVS under agent/mibgroup/if-mib directory KN> Copied th

Re: extensible/mteTriggerTable code help?

2004-09-09 Thread Coders
On Tue, 07 Sep 2004 12:21:04 -0400 Allan wrote: AM> I came accross an issue last week and I am starting to think it is a AM> problem somewhere within the exstensible/mteTriggerTable code. After, AM> snmpd detects a non zero boolean return status from extResult and sends AM> traps, it no longer ev

C++ and headers

2004-09-09 Thread Magnus Fromreide
Hello. In C++ the extern "C" { } construct shouldn't have a trailing ;. The attached patch cleans up all the headers in include. It also makes it possible to compile using g++-3.4 and higher. /MF Index: include/net-snmp/types.h ===

Re: for help! how to display modules messages to the screen?

2004-09-09 Thread Dave Shield
> In my mib code, I need show message to the screen Err. what makes you think that there will be a screen to show messages on? MIBs are part of the agent, which typically runs in the background as a daemon/service/etc. So it wouldn't normally be appropriate to print messages to st

Re: GET OID in _get_first_data_pointer function

2004-09-09 Thread Dave Shield
> How do I get the RootOID for which the > XXX__get_first_data_pointer is registrate, when the > function will be execute. I need this information to get > external data into the link list. The get_{first,next}_data_pointer routines wouldn't normally be interested in the OIDs at all. They woul

Re: Win32 text logging

2004-09-09 Thread Michael J. Slifcak
Alex Burger wrote: Andy Smith wrote: Alex Burger wrote: I think it would be a good idea to leave the event log enabled, but we [..] another application. IMO text file logging is a better option, but others may disagree. I have looked into cleaning up the message file in the past, but if anyone

Re: Win32 Net-SNMP 5.2

2004-09-09 Thread Alex Burger
Andy Smith wrote: Alex Burger wrote: I think it would be a good idea to leave the event log enabled, but we [..] another application. IMO text file logging is a better option, but others may disagree. I have looked into cleaning up the message file in the past, but if anyone else has some insigh

Re: plz help. why I can't get the information from mib-extended agent

2004-09-09 Thread John Lash
This is relevant to Dave's question about the path in the dlmod statement. try running snmpd -fLo that will write errors to stdout. see if there is a complaint w.r.t. loading the module. something like this dlopen failed: /dir/AODV.so: cannot open shared object file: No such file or

Re: snmpd.conf error

2004-09-09 Thread Dave Shield
> I think I got the reason. I have compiled without vacm_var module. > That's why it's not able to check the community name. Yup - that'd do it. > Actually, I want to remove the SNMP-VIEW-BASED-ACM-MIB objects > (vacmGroupName, vacmSecurityToGroupStorageType, > vacmSecurityToGroupStatus, etc

Re: snmpd.conf error

2004-09-09 Thread Sanjib Nath
Hi Dave, I think I got the reason. I have compiled without vacm_var module. That's why it's not able to check the community name. Actually, I want to remove the SNMP-VIEW-BASED-ACM-MIB objects (vacmGroupName, vacmSecurityToGroupStorageType, vacmSecurityToGroupStatus, etc). Could you please let

Re: snmpd.conf error

2004-09-09 Thread Dave Shield
> # ./snmpd -f -Lo > /vobs/bcd_views/gw/TARGETS/bulnex-2.1-opt/home/share/snmp/snmpd.conf: > line 36: Warning: Unknown token: rwcommunity. > /vobs/bcd_views/gw/TARGETS/bulnex-2.1-opt/home/share/snmp/snmpd.conf: > line 38: Warning: Unknown token: rocommunity. > NET-SNMP version 5.1 Is this agen

Re: plz help. why I can't get the information from mib-extended agent

2004-09-09 Thread Dave Shield
> "gcc -g -fPIC -shared -o AODV.so AODV.o" > "vi /etc/snmp/snmpd.conf" > "dlmod AODV /dir/AODV.so" I presume this line refers to the correct directory for the AODV.so file? > > restart snmpd > But > snmpget -v 2c -c public 192.168.200.109 1.3.6.1.4.1.2345.1.2 > AODV-MIB::RREQ = No Such Object