Problem in explicit call to run_alarams function from "trap sending

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; ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2007
bhushan
 
Posts: n/a
Default Problem in explicit call to run_alarams function from "trap sending

--===============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 &amp; main agent i.e snmpd in my case. <br>In my application snmpd will stop at any point in time &amp; start again so for my subagent it is
<br>difficult to know that snmpd stop for same time &amp; started again so, i call &quot;<span style="color: rgb(204, 0, 0);">run_alrams&quot;</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);">&quot;run_alarms&quot;</span> explicitly from subagent code will&nbsp; 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==--

Reply With Quote
Reply


Thread Tools
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

vB 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 10:50 AM.


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