This is a discussion on Problem in explicit call to run_alarams function from "trap sending within the SNMP Coders forums, part of the Networking and Network Related category; --===============0597394845== Content-Type: multipart/alternative; boundary="----=_Part_6098_25687557.1176284191450" ------=_Part_6098_25687557.1176284191450 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0597394845==
Content-Type: multipart/alternative; boundary="----=_Part_6098_25687557.1176284191450" ------=_Part_6098_25687557.1176284191450 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Friends, Greetings. I am net-snmp 5.4 user, i have written code for subagent which send traps using agentx communication betw subagent & main agent i.e snmpd in my case. In my application snmpd will stop at any point in time & start again so for my subagent it is difficult to know that snmpd stop for same time & started again so, i call " run_alrams" function (snmp_alarm.c) in my subagent code which will automatically reconnect my subagent to main agent( i.e. snmpd) so all trap send to snmpd i.e. main agent transparently without knowing snmpd status, so my question is calling "run_alarms" explicitly from subagent code will be safe or not ? if not safe then what problem it may lead to ? Please help me, Thanks in advance. Regards Bhushan ------=_Part_6098_25687557.1176284191450 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Friends,<br>Greetings.<br>I am net-snmp 5.4 user, i have written code for subagent which send traps using agentx <br>communication betw subagent & main agent i.e snmpd in my case. <br>In my application snmpd will stop at any point in time & start again so for my subagent it is <br>difficult to know that snmpd stop for same time & started again so, i call "<span style="color: rgb(204, 0, 0);">run_alrams"</span> function (snmp_alarm.c) in my subagent code which will automatically reconnect my subagent to main agent( i.e. snmpd) so all trap send to snmpd i.e. main agent transparently without knowing snmpd status,<br>so my question is calling <span style="color: rgb(204, 0, 0);">"run_alarms"</span> explicitly from subagent code will be safe or not ? if not safe <br>then what problem it may lead to ? <br>Please help me, Thanks in advance.<br>Regards<br>Bhushan ------=_Part_6098_25687557.1176284191450-- --===============0597394845== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV --===============0597394845== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============0597394845==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|