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&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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> - reparsing snmpd.conf = file?</FONT></FONT></P> <P><FONT size=3D2><FONT=20 face=3D"Arial monospaced for SAP"> - access = the=20 configured list with internal API?</FONT></FONT></P> <P><FONT size=3D2><FONT=20 face=3D"Arial monospaced for SAP"> - 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"> (the trapsess mentioned = in this=20 diagram)</FONT></FONT></P> <P><FONT face=3D"Arial monospaced for SAP"><BR><FONT=20 size=3D2>   ; &nbs= p;  = ; & nbsp; = =20 ___ =20 trapsink<BR> &n bsp; &= nbsp; &nb sp; &n= bsp; &nbs p; &nb= sp; =20 /<BR> send_easy_trap ___ [ =20 Trap ] ____ =20 trap2sink<BR> & nbsp; = &n bsp;=20 ___ [ Generator ]<BR> =20 send_v2trap / =20 [ &n bsp; ] = -----=20 informsink<BR>  = ; & nbsp; = &n bsp; &= nbsp; =20 ____<BR>  = ; & nbsp; = &n bsp; &= nbsp; &nb sp; =20 trapsess<BR></FONT></FONT></P> <P><FONT face=3D"Arial monospaced for SAP" size=3D2>3) How could I = implement 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> = (Assuming=20 there are several subagents, which send send_trap requests to my process = via=20 message queue for example.)</FONT></P> <P> 3a)<FONT face=3D"Arial monospaced for SAP"=20 size=3D2> If I use a 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> =20 do they go through the master agent?</FONT></P> <P> 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> </FONT></P> <P><FONT face=3D"Arial monospaced for SAP" = size=3D2> (Can I=20 use 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> = (just by=20 using send_v2trap with a variable binding list))</FONT></P> <P><FONT face=3DArial size=3D2></FONT> </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> =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 |