Re: snmpNotifyFilterTable

2009-06-11 Thread sanjaykumar
Is there any similar function generate when we generate the code using "mib2c" in "mib2c.mfd.conf " . I am expecting such function for "snmpNotifyFilterTable", (this table has been implemented using "mib2c.mfd.conf " in net-snmp-5.4.2.1) Rgds, Sanjay Wes Hardaker wrote:

Best method to register scalar objects in AgentX SubAgents

2009-06-11 Thread Zaryab M. Munir
Hi,   I have 6 subagents, each one supports the IP-MIB.  The master agent also supports the IP-MIB. My question: What API should I use for;  and how, to register the scalar objects of IP-MIB like "ipDefaultTTL" etc. such that I can query the values of these scalar objects from all 6 subagents th

Re: Removing "Exit()" routine calls

2009-06-11 Thread Need Help
Questions: 1) Looking at the code I confirmed the following:     NETSNMP_EXIT_ON_BAD_KLREAD is NOT defined     NETSNMP_DS_AGENT_NO_ROOT_ACCESS = 2 Since "NETSNMP_EXIT_ON_BAD_KLREAD" is not defined, I can see how exit( ) is not being called.  However, for "NETSNMP_DS_AGENT_NO_ROOT_ACCESS", d

Re: times() usage

2009-06-11 Thread Wes Hardaker
> On Thu, 21 May 2009 16:53:43 +0200, "Tjernlund" > said: t> A few questions regarding times() usage in SNMPv3. Sorry for the delay. It's been a *really* busy month for me, and I'm frequently the one that responds to v3 related discussions. t> First, there is a bug in Linux times() th

FW: crash in net-snmp agent

2009-06-11 Thread Samer Vazdekis
From: [email protected] To: [email protected] Subject: RE: crash in net-snmp agent Date: Thu, 11 Jun 2009 11:46:55 -0400 It would take us lots of time to test and qualify new code which already done for version 5.2.1.2. It would be more convenient for the mean time

Re: snmpNotifyFilterTable

2009-06-11 Thread Wes Hardaker
> On Wed, 10 Jun 2009 20:21:51 +0530, sanjaykumar > said: s> "parse_snmpNotifyFilterProfileTable(const char *token, char *line) " That function reads configuration in from a snmpd.conf file. It may be creating a row internally to that function, but the intent of the function is to par

Re: crash in net-snmp agent

2009-06-11 Thread Wes Hardaker
> On Wed, 10 Jun 2009 10:55:35 -0400, Samer Vazdekis > said: SV> I'm running net-snmp agent version 5.2.1.2. I got the following SV> crash when running snmptable command. Any idea if this is a known SV> issue. Is there a fix already?. 5.2.1.2 is quite old. Can you at least try 5.2.5.1

Re: Removing "Exit()" routine calls

2009-06-11 Thread Dave Shield
2009/6/10 Need Help : >    However, I just noticed there are many calls to the "exit( )" > routine used throughout the master agent code. If you look more closely, these "exit()" routines only occur in three files: - auto_nlist.c - kernel.c - snmpd.c The third of these is the wr