On 03/10/06, mahua dutta <[EMAIL PROTECTED]> wrote:
>                snmp sub-agent sends a Trap when
> even business application goes down. I do not know
> what snmpd do with that trap.

As Alex said, the master agent (snmpd) will forward this trap based on
the "trapsink" (or similar) directives that you have configured.


>                                            Now some other NMS
> application  need to handle that trap and as an action
> wants to restart the application .
>
> Can any one guide me , how this NMS application will
> receive this Trap? does the nms need to understand
> snmp protocol ?

Basically, yes.  You need some form of SNMP-capable trap receiver application,
to accept the trap, parse it, and act accordingly.  We offer a
suitable application "snmptrapd" for this purpose, or any half-decent
NMS should be able to do this.



As an alternative, you could look at using the DisMan Event MIB
support to do most of this for you.   While this is typically used to
generate traps on significant events, it can also be used to trigger
SNMP SET commands, which can then perform suitable actions (e.g.
restarting the application).   So rather than having your subagent
*actively* monitor your business application, you'd need to provide
some way to report whether the app was running or not, write a simple
script to restart it, and let the DisMan/event code take care of all
the rest.

Let me know if you'd like more information about how to do this.

Dave

-------------------------------------------------------------------------
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?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to