Re: about agentx support in windows

2006-12-05 Thread bhushan
hello friends I got correct understanding of my problem when i call init_agent in windows it get fail because init_agent call subagent_init & sunagent_init call netsnmp_callback_open and this function fails & return NULL. but in Linux it execute properly and return non NULL data. so thing this is

Re: CPU Usage

2006-12-05 Thread Thomas Anders
Dave Shield wrote: > On 05/12/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: >> Is there an option to choose for those files to go into a different dir (of >> my choice)? > > Not sure, offhand. > But disabling the perl stuff might help. > Try > configure --with-out-perl-modules --disable-e

Re: CPU Usage

2006-12-05 Thread Dave Shield
On 05/12/06, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > I have tried to compile the net-snmp 5.4 code on a machine where I do not > root access. This needs root previleges as compilation tried to create > dir/files under the following dir. > /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-m

Re: about agentx support in windows

2006-12-05 Thread Alex Burger
bhushan wrote: > I am using static version of library > Is there any problem with it ? No, there shouldn't be any difference between using the DLL or static version of the library. If you were using the DLL, then I would have asked if you had the same problem with using static. Alex --

Re: about agentx support in windows

2006-12-05 Thread Dave Shield
On 05/12/06, bhushan <[EMAIL PROTECTED]> wrote: > register_app_config_handler("trapsess", snmpd_parse_config_trapsess, > NULL, "[snmpcmdargs] > host"); That is only relevant to the master agent. An AgentX subagent should send all notificatio

Re: about agentx support in windows

2006-12-05 Thread bhushan
Hello after reading code of init_agent, add_trap_session i understand that add_trap_session function will register session & fill sinks global structure (struct trap_sink sinks) & this structure is used by netsnmp_send_traps for sending trap i.e. if this structure is NULL no traps get send when we

Re: about agentx support in windows

2006-12-05 Thread bhushan
I am using static version of library Is there any problem with it ? Thanks for replying Please do reply Regards Bhushan On 12/5/06, Alex Burger <[EMAIL PROTECTED]> wrote: Are you using the DLL version of the library (netsnmp.dll) or did you compile static? Alex bhushan wrote: > hello frien

Re: about agentx support in windows

2006-12-05 Thread Alex Burger
Are you using the DLL version of the library (netsnmp.dll) or did you compile static? Alex bhushan wrote: > hello friends > Greetings, > I have installed netsnmp-5.4 using win32( MVC++), i am writing code > for subagent which will send traps to AgentX master agent. > Problem with the code is i

Re: about agentx support in windows

2006-12-05 Thread bhushan
hello Sir to get correct understanding of my problem log message of linux & windows as follows in Linux [EMAIL PROTECTED] trap_agent]# ./agent In assigning add_trap_session In assigning Value to sinks add_trap_session // My Comment In assiged Value to sinks add_trap_session// sinks gl

Re: snmptrap length

2006-12-05 Thread Patai Tamás
Hi, When I receive a trap I can send the 'snmptrapd' ouput to an application that is configured in the snmpd.conf. However there are traps where some member variables reference to OIDs. In this case I have to make an 'snmpget' call for that mib variable. Is it possible to get the clear result

Re: about agentx support in windows

2006-12-05 Thread bhushan
Hello Friends In Investigation of problem I put log messages i.e. printf in agent_trap.c (in agent directory) in function netsnmp_send_traps because send_v2trap/ send_easy_trap calls this function in turn. updated function look as follows (in this i putted some printfs) int netsnmp_send_traps

Re: Meke error

2006-12-05 Thread Thomas Anders
Bellicini Alberto wrote: > Hi I'm trying to compile on aix 4.3.3 net-snmp-5-0-11 package. Is there a specific reason for chosing 5.0.11 (which is EOL)? AIX support has been much improved since 5.0.x and the latest 5.4 release should build and run just fine on AIX 4.x if you follow the advices in R

Meke error

2006-12-05 Thread Bellicini Alberto
Hi I'm trying to compile on aix 4.3.3 net-snmp-5-0-11 package. when I run make test I get the following : >gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib >ucd-snmp/versioninfo.c:97:37: warning: character constant too long for its type >uc

Re: ask for the user management

2006-12-05 Thread Dave Shield
On 05/12/06, pan.changhong <[EMAIL PROTECTED]> wrote: > I am not sure whether the user management module of snmp is accroding > to the linux management module. because the user management module of > the ssh and web equale to the linux management. No. The SNMP(v3) idea of a "user" is completely

ask for the user management

2006-12-05 Thread pan.changhong
Hi: I am not sure whether the user management module of snmp is accroding to the linux management module. because the user management module of the ssh and web equale to the linux management.if you answer my question as soon as possible,i am very pleasure.

Re: snmpget cannot find the mibs

2006-12-05 Thread Dave Shield
On 05/12/06, Lakshmi <[EMAIL PROTECTED]> wrote: > Thanks a lot for your overwhelming response. > After executing the command $export MIBS=ALL , > i am not seeing the warning messges. Actually, I suspect it's more likely to be Narayana's suggestion of setting MIBDIRS. Particularly if you can now r