How can I set contextName instead of default NULL

2007-12-27 Thread girish
Hi all,   I'm using agent-subagent approach. I want to set the context name only for my MIB. How I should change my subagent code based on this..??? Here in my subagent initialization code. Please help wat  changes I should do.  void *snmpsubagent(void *){    int    syslog = 0;  nets

Re: Some initial net-snmp-unified python test results

2007-12-27 Thread Brendan Simon
I get the exact same results for Debian Lenny (aka testing) so I would say it is very likely a netsnmp python issue, rather that a specific OS build issue. Cheers, Brendan. Brendan Simon wrote: > I have managed to get net-snmp-5.4.1 to build with python bindings on > Mac OS X 10.4 (Tiger) usi

RE: perhaps you forgot to load "SNMP::Session"?

2007-12-27 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Alex Moen > Sent: Thursday, December 27, 2007 1:55 PM > I am using the "mon" monitoring program, and one of the > monitors requires the use of the Net::SNMP module. I have > installed the module as many > different ways th

Re: Some initial net-snmp-unified python test results

2007-12-27 Thread Brendan Simon
I have managed to get net-snmp-5.4.1 to build with python bindings on Mac OS X 10.4 (Tiger) using the fink package sources. I have done some simple tests on some v2 and v3 agents. It seems that the python bindings are a bit sensitive, particularly for v3. Some arguments are case sensitive (eg.

perhaps you forgot to load "SNMP::Session"?

2007-12-27 Thread Alex Moen
I am using the "mon" monitoring program, and one of the monitors requires the use of the Net::SNMP module. I have installed the module as many different ways that I can, ending with refreshing the original RPMs from the distribution. However, the software still gives me the same error: Can't

Re: ContextEngineId in SNMPv3

2007-12-27 Thread Wes Hardaker
> "g" == girish <[EMAIL PROTECTED]> writes: g> Hi,    I want to configure ContextEngineId and g> ContextName in SNMPv3. I read some articles that we can configure g> these in SNMPv3 but could not find any details on how to configure g> these. Can any one please help me in configuring the abov

Re: Using SNMP Version 3 commands "snmpgetnext"

2007-12-27 Thread Wes Hardaker
> "CJ" == Clarence Joseph <[EMAIL PROTECTED]> writes: CJ> Hi, CJ> I am using CJ> NET-SNMP version: 5.3.2 CJ> Web: http://www.net-snmp.org/ CJ> Email: [EMAIL PROTECTED] CJ> I am trying to use to SNMP version 3 "snmpgetnext" command as shown below bash> snmpgetnext -

Re: Timeout: No Response from localhost.

2007-12-27 Thread Wes Hardaker
> "SR" == Smith Randy <[EMAIL PROTECTED]> writes: SR> # snmpd -f -Le SR> netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 SR> netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 SR> netsnmp_assert !"registration != duplicate" failed agent_registry.c:5

Re: About memory leak of net-snmp 5.4.1

2007-12-27 Thread Wes Hardaker
hc> I attach net-snmp snmptranslate.c source code with my small vary to hc> check memory leak... Generally, the Net-SNMP project code doesn't do a fantastic job cleaning up it's memory that it expects to be freed by the OS as it shuts down. This means that although it is technically a leak it sh

About memory leak of net-snmp 5.4.1

2007-12-27 Thread hyokchol choe
Hi! I'm trying to make a mib compiler using net-snmp engine, but I found some memory leak testing source code of net-snmp 5.4.1 on Windows platform. I wonder whether I was wrong or net-snmp 5.4.1 engine has bugs.. Would you like to help me where I was wrong? I attach net-snmp snmptranslate