Re: need std mib object to add trap destination info

2010-07-29 Thread rakesh zingade
Thanks Dave  Mike .. for the suggestion. I kept this option for future use,
for time being implemented a C prog which will add trap2sink line in
snmpd.conf and sets UCD-SNMP::versionUpdateConfig to 1 using net-snmp apps..


This reloads the running agent but it multiples the snmp processes. I have a
dlmod module added. Why this producing multiple processes.. exp

ps -aef | grep snmpd
root 14938 1  0 04:55 ?00:00:00 /opt/rpz/bin/snmpd -Lo -C -c
/opt/rpz/etc/snmpd.conf -M /opt/rpz/mibs:/usr/share/snmp/mibs -I dlmod
vacm_conf vacm_vars vacm_context
root 14984 14938  0 04:55 ?00:00:00 /opt/rpz/bin/snmpd -Lo -C -c
/opt/rpz/etc/snmpd.conf -M /opt/rpz/mibs:/usr/share/snmp/mibs -I dlmod
vacm_conf vacm_vars vacm_context
root 15308 15255  0 07:00 pts/100:00:00 grep snmpd

If I add one more trap2sink line and do a set on versionUpdateConfig I see 4
processes of snmpd running

Any guess why this is happening?

Thanks in advance...

On Sat, Jul 24, 2010 at 12:25 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:

 On 23 July 2010 14:09, rakesh zingade rakeshzing...@gmail.com wrote:
  I need to automate adding trap destination instead of having manual
  trap2sink configured in snmpd.conf.
 
  could you please tell me is there any snmp table already available which
 I
  can use to add trap dest IP, port and community

 As Mike has indicated, this is handled by a combination of the
 snmpNotifyTable and the snmpTargetAddrTable.

 The best approach is probably to set up an entry via the snmpd.conf
 file, and examine these tables to see what they look like.
  Then try to reproduce this using SET commands.

 Dave




-- 
Rakesh P. Zingade
+919420626099
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: need std mib object to add trap destination info

2010-07-23 Thread Mike Ayers
 From: rakesh zingade [mailto:rakeshzing...@gmail.com]
 Sent: Friday, July 23, 2010 6:10 AM

 I need to automate adding trap destination instead of having manual
 trap2sink configured in snmpd.conf.

http://www.ietf.org/rfc/rfc2573.txt


HTH,

Mike

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: need std mib object to add trap destination info

2010-07-23 Thread Dave Shield
On 23 July 2010 14:09, rakesh zingade rakeshzing...@gmail.com wrote:
 I need to automate adding trap destination instead of having manual
 trap2sink configured in snmpd.conf.

 could you please tell me is there any snmp table already available which I
 can use to add trap dest IP, port and community

As Mike has indicated, this is handled by a combination of the
snmpNotifyTable and the snmpTargetAddrTable.

The best approach is probably to set up an entry via the snmpd.conf
file, and examine these tables to see what they look like.
  Then try to reproduce this using SET commands.

Dave

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users