Re: Snmp v3 traps not recieved by application

2015-07-15 Thread Ajit Ambekar
Hi Robert, I used init_snmp("snmptrapd") and gave the engineIDs in this file of those devices which are send me the traps. This is working for me. But the problem is, first I need to manually enter the engineID for every new device in the config file (snmptrapd.conf) I will see the set_persistent

Re: Need to re-implement rfc 1213

2015-07-15 Thread Vivek Maurya
Hi Robert, Yes, its working. Regards Vivek On Thu, Jul 16, 2015 at 6:43 AM, Robert Story wrote: > On Tue, 26 May 2015 12:51:43 +0530 Vivek wrote: > VM> Trying to re-implement rfc-1213. For testing purpose i follow > VM> these steps. > > Hi Vivke, > > Did you ever get this working? > > VM> 3. m

Re: multi-threads problem.

2015-07-15 Thread Robert Story
On Tue, 7 Jul 2015 14:27:18 +0800 (CST) 姜大辉 wrote: > I have some problem using net-snmp in multi-threads > application. > > my version of net_snmp is 5.5. > > the application is simple, which is much like > snmpdemoapp.c in the wiki, and use the Single Session API, with >

Re: serve standard mibs also using subagent

2015-07-15 Thread Robert Story
On Sat, 4 Jul 2015 09:21:59 +0530 Sreekanth wrote: SK> My purpose is to serve all SNMP mib requests through subagents SK> including standard mibs like IF-MIB, IP-MIB, TCP-MIB etc with SK> agent acting merely as master agent with agentx support and SK> passing on all mib requests to registered subag

Re: Anyone know of a trap receiver that supports SnmpAdminString with UTF-8 character encoding?

2015-07-15 Thread Robert Story
On Thu, 25 Jun 2015 14:58:36 + Christopher wrote: CC> I have tried many receivers CC> (snmptrapd,ManageEngine,iReasoning,Wireshark), and they all CC> display SnmpAdminString types as ascii characters, even though CC> the SNMP-FRAMEWORK mib has a DISPLAY-HINT of "255t" for CC> SnmpAdminString. C

Re: snmpd ignores requests, terminates abruptly

2015-07-15 Thread Robert Story
On Mon, 22 Jun 2015 22:02:19 -0700 Jim wrote: JL> I am migrating a working net-snmpd setup from FreeBSD 8.4 to JL> FreeBSD 9.3. The net-snmp versions involved are 5.7.1_7 and JL> 5.7.3_7, respectively. By "working," I mean that I can JL> successfully snmpwalk the old snmp server. JL> [...] JL> On

Re: Q: usmUser

2015-07-15 Thread Robert Story
On Mon, 22 Jun 2015 12:38:12 +0200 Ulrich wrote: UW> I noticed when creating a user using "createUser" in UW> snmpd.conf, the newly created user has "" at the end of the UW> usmUser line, while exising users have (or get) NULL at the end UW> of the line. I found no manual page doumenting the meanin

Re: /var/lib/snmp/snmpd.conf

2015-07-15 Thread Robert Story
On Wed, 17 Jun 2015 15:51:13 +0530 Vivek wrote: VM> While booting /var/log/message has following msg. VM> VM> *read_config_store open failure on /var/lib/snmp/snmpd.conf* VM> VM> But still snmpd is running. What this msg mean.. any side VM> effect? That is the file where snmpd stores persistent

Re: disable v1 and enabling only v2 and b3 and disable public

2015-07-15 Thread Robert Story
On Tue, 16 Jun 2015 11:35:55 +0530 Chetan wrote: CS> I want to disable the snmpv1 community in net-snmp and want CS> net-snmp to respond only for v2 and v3. and also want to remove CS> the default community public. CS> CS> I though to remove the rocommunity from snmpd.conf file but CS> that will d

Re: SNMPd reports high memory usage by adding buffers+cache

2015-07-15 Thread Robert Story
On 13 Jun 2015 15:55:10 - Himanshu wrote: HP> Our SNMPd service reports memory usage including buffers+cache, HP> and the result is always high because kernel uses all available HP> memory to speed up disk reads. Buffers+cache can be freed by HP> kernel whenever applications needs it. HP> HP>

Re: snmp query issue in agentX lib 5.6 due to missing endOfMibView field

2015-07-15 Thread Robert Story
On Thu, 11 Jun 2015 14:33:04 + Nilanjan wrote: NS> In our solution, we have sub-agent and which registered with NS> master agent netsnmpd 5.5 for some standard MIB for some NS> sub-range (say for some rows in ifTable MIB). [...] NS> NS> But if we registered with range_ubound = 22 (max column i

Re: Snmp v3 traps not recieved by application

2015-07-15 Thread Robert Story
On Fri, 29 May 2015 16:14:17 +0530 Ajit wrote: AA> I have a application in C which receives snmp traps. There is a AA> issue with v3 traps. Although I have done the necessary setup. AA> I am able to receive v3 traps using the command "snmptrapd -Lo AA> -n -f". But when I run my application , no tra

Re: Need to re-implement rfc 1213

2015-07-15 Thread Robert Story
On Tue, 26 May 2015 12:51:43 +0530 Vivek wrote: VM> Trying to re-implement rfc-1213. For testing purpose i follow VM> these steps. Hi Vivke, Did you ever get this working? VM> 3. my_handler->priority = 126; VM> VM> 4. netsnmp_table_container_register(my_handler, table_info, &cb, VM>