This is a discussion on Can't send trap from a running sub-agent. within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C62747.002EF8BC 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_01C62747.002EF8BC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have a sub-agent running as a thread. If I want to send a trap (using send_v2trap), I have to interupt the sub-agents agent_check_and_process() in order to send the trap. =20 Is there some event mechanism in net-snmp to allow to interupt the sub-agent? =20 Thanks, erez. =20 =20 =20 =20 ------_=_NextPart_001_01C62747.002EF8BC Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial size=3D2><SPAN class=3D352345414-01022006>I have = a sub-agent=20 running as a thread.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D352345414-01022006>If I = want to send a=20 trap (using send_v2trap), I have to interupt the sub-agents=20 agent_check_and_process() in order to send the trap.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D352345414-01022006></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D352345414-01022006>Is = there some event=20 mechanism in net-snmp to allow to interupt the = sub-agent?</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D352345414-01022006></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D352345414-01022006>Thanks,</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D352345414-01022006>erez.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D352345414-01022006></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial=20 size=3D2></FONT> </DIV></BODY></HTML> ------_=_NextPart_001_01C62747.002EF8BC-- ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=...486&dat=121642 _______________________________________________ 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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|