Re: trap2sink configuration programmatically

2017-11-23 Thread Ján Gnip
I solved it by adding custom callback that cleans out all the relevant structures. 2017-11-23 9:18 GMT+01:00 Robert Story : > On Tue, 31 Oct 2017 20:57:04 +0100 Ján wrote: > JG> is there any way how to programmatically (from our app loaded > JG> as a dlmod module) set destination host for traps (

Re: trap2sink configuration programmatically

2017-11-23 Thread Robert Story
On Tue, 31 Oct 2017 20:57:04 +0100 Ján wrote: JG> is there any way how to programmatically (from our app loaded JG> as a dlmod module) set destination host for traps (trap2sink JG> config option)? I'm able to create new trap session via JG> function create_trap_session(). The problem is that I want

Re: how to add trap manager dynamic in the code

2017-11-23 Thread Robert Story
On Tue, 14 Nov 2017 06:46:49 + YANG wrote: YK> I find net-snmp using configure file to configure the manager YK> that want receive the trap. Such as lines in snmpd.conf: YK> YK> trapsink localhost public YK> trap2sinklocalhost public YK> YK> We want using pollingTable to manage th

Re: Trap session query

2017-11-23 Thread Robert Story
On Thu, 9 Nov 2017 11:34:53 + Madhusudhana wrote: MR> My query is regarding trap sessions. MR> I have a below configuration where I have a trap user MR> 'Operator1'created with 3 trap sessions with different IP: Port MR> as shown below. MR> MR> createUser Operator1 MD5 "password@123" MR> MR>