A few questions about Traps distribution.

This is a discussion on A few questions about Traps distribution. within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C60633.83987070 Content-Type: text/plain; charset="us-ascii&...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-21-2005
Makavy, Erez
 
Posts: n/a
Default A few questions about Traps distribution.

This is a multi-part message in MIME format.

------_=_NextPart_001_01C60633.83987070
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

1) How can I dynamically configure trap sinks? (while the agent is
running)
- reparsing snmpd.conf file?

- access the configured list with internal API?

- is there a MIB for this?)

2) What is a trapsess token in snmpd.conf?
(the trapsess mentioned in this diagram)


___ trapsink
/
send_easy_trap ___ [ Trap ] ____ trap2sink
___ [ Generator ]
send_v2trap / [ ] ----- informsink
____
trapsess


3) How could I implement a trap-distributor? (a seperate process to send
all traps in the system)

(Assuming there are several subagents, which send send_trap requests
to my process via message queue for example.)

3a) If I use a sub-agent "as is", as my trap-distributor,when
sending traps from the subagent,

do they go through the master agent?

3b) Does a subagent have to support the notifications it sends? =20

(Can I use a sub-agent, that does not implement any objects, to send
traps?

(just by using send_v2trap with a variable binding list))

=20

Sincerely,

Erez Makavy.

=20


------_=_NextPart_001_01C60633.83987070
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>
<BODY><!-- Converted from text/plain format -->
<P><FONT size=3D2><FONT face=3D"Arial monospaced for SAP">Hi,<BR><BR>1) =
How can I=20
dynamically configure trap sinks? (while the agent is=20
running)<BR>&nbsp;&nbsp;&nbsp; - reparsing snmpd.conf =
file?</FONT></FONT></P>
<P><FONT size=3D2><FONT=20
face=3D"Arial monospaced for SAP">&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;access =
the=20
configured list with internal&nbsp;API?</FONT></FONT></P>
<P><FONT size=3D2><FONT=20
face=3D"Arial monospaced for SAP">&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;is =
there a MIB=20
for this?)<BR><BR>2) What is a trapsess token in =
snmpd.conf?<BR></FONT><FONT=20
face=3D"Arial monospaced for SAP">&nbsp;&nbsp; (the trapsess mentioned =
in this=20
diagram)</FONT></FONT></P>
<P><FONT face=3D"Arial monospaced for SAP"><BR><FONT=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
___&nbsp;=20
trapsink<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/<BR>&nbsp;&nbsp;&nbsp; send_easy_trap ___&nbsp;&nbsp; [&nbsp;=20
Trap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ] ____&nbsp;=20
trap2sink<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;=20
___&nbsp; [ Generator&nbsp; ]<BR>&nbsp;&nbsp;&nbsp;=20
send_v2trap&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;=20
[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp; ] =
-----=20
informsink<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
____<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;=20
trapsess<BR></FONT></FONT></P>
<P><FONT face=3D"Arial monospaced for SAP" size=3D2>3) How could I =
implement&nbsp;a=20
trap-distributor? (a seperate process to send all traps in the=20
system)</FONT></P>
<P><FONT face=3D"Arial monospaced for SAP" size=3D2>&nbsp;&nbsp;&nbsp; =
(Assuming=20
there are several subagents, which send send_trap requests to my process =
via=20
message queue for example.)</FONT></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;3a)<FONT face=3D"Arial monospaced for SAP"=20
size=3D2>&nbsp;If I use a&nbsp;sub-agent "as is", as my=20
trap-distributor,w</FONT><FONT face=3D"Arial monospaced for SAP" =
size=3D2>hen=20
sending traps from the subagent,</FONT></P>
<P><FONT face=3D"Arial monospaced for SAP" =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;do they go through the master agent?</FONT></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;3b)<FONT face=3D"Arial monospaced for SAP" =
size=3D2> Does=20
a subagent have to support the notifications it sends?</FONT><FONT=20
face=3D"Arial monospaced for SAP" size=3D2>&nbsp;&nbsp;</FONT></P>
<P><FONT face=3D"Arial monospaced for SAP" =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;(Can I=20
use&nbsp;a sub-agent, that does not implement any objects, to send=20
traps?</FONT></P>
<P><FONT face=3D"Arial monospaced for SAP" size=3D2>&nbsp;&nbsp; =
&nbsp;(just by=20
using send_v2trap with a variable binding list))</FONT></P>
<P><FONT face=3DArial size=3D2></FONT>&nbsp;</P>
<P><FONT face=3DArial size=3D2>Sincerely,</FONT></P>
<P><FONT face=3DArial size=3D2>Erez Makavy.</FONT></P>
<P><FONT face=3D"Arial monospaced for SAP" size=3D2>&nbsp;&nbsp;&nbsp;=20
</FONT></P></BODY></HTML>

------_=_NextPart_001_01C60633.83987070--


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:36 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0