1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Monitoring whether an IP device is connected or not |
From: | Dohn Arms <[email protected]> |
To: | <[email protected]> |
Date: | Tue, 25 Feb 2014 14:04:45 -0600 |
Hi David,
I've written an EPICS record for doing something similar. Every ten seconds (or whatever the SCAN rate it), it sends a UDP packet to a specified address and port. This packet contains a heartbeat counter, boot time (recorded at record initialization, used as unique incarnation identifier), current time, and IOC name. The IP address is gotten from the packet itself. On the remote server, the UDP packets are collected by a daemon into a database to monitor the IOCs. The record is running on over 40 beamline IOCs here at the APS (about half of what is planned). I plan on releasing this record and support code soon, but am still refining a few things (there are a few more features I didn't describe). Dohn On 02/25/2014 06:22 AM, David Michel wrote:
|