Re: FW: Watchdog

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/8/17 Richard Gipps <[email protected]>:
> We are using net-snmp in an embedded situation.
> There is watchdog daemon which checks the modification date
> on watch files every 30s. Ideally we would like net-snmp to kick
> (touch) the watchog file at a period of less than 30s.

You would probably need to write a simple module to handle this.
Have a look at the example  "mibgroup/examples/notification.c"

This triggers sending a trap packet every 30s.   You should be
able to amend this to touch the appropriate file instead.

Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.