Project

General

Profile

Download (4.19 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
d1d3428a 09/04/2014 10:47 AM Renato Botelho

Mark host as up or down before execute script, then script can use this information.

Submitted by: Jean Debogue <>

72a95734 12/24/2013 02:09 PM Renato Botelho

When WANTIME is empty, there is nothing to do here

67e86129 12/24/2013 02:08 PM Renato Botelho

test only does integer comparison, use bc to compare float

128cc1f4 12/24/2013 02:07 PM Renato Botelho

Save status even if no script is executed

cd14bb19 12/24/2013 02:06 PM Renato Botelho

On first run REVIOUSSTATUS doesn't exist, so it cannot be UP or DOWN, invert the logic to fix this. While I'm here, check if file exists before cat it

fad0e014 02/21/2012 07:52 AM jeandebogue

Update usr/local/bin/ping_hosts.sh

aff70640 03/16/2011 12:28 PM Seth Mos

Swap if statement, add fields into ipsecpinghosts file

e3e85044 03/16/2011 12:26 PM Seth Mos

Add field 8 for address family

020b954f 02/06/2011 05:13 AM Chris Buechler

at least don't touch rrd here, that rrd won't exist anyway

bfa49cae 02/06/2011 05:05 AM Chris Buechler

Revert "the only thing ping_hosts.sh is used for is pinging IPsec hosts. comment out all this complexity that makes it do way more than it needs to (and was throwing an error on rrd, it shouldn't be touching rrd)" this is used by at least the DNS server pkg...

9fcf1577 02/05/2011 08:10 AM Chris Buechler

the only thing ping_hosts.sh is used for is pinging IPsec hosts. comment out all this complexity that makes it do way more than it needs to (and was throwing an error on rrd, it shouldn't be touching rrd)

f41c9fd5 02/03/2010 03:19 PM Ermal Luçi

ping_hosts.sh is no more in /etc. Remove some unneeded lines.

ee498244 06/21/2008 04:12 PM Seth Mos

Move ping_hosts.sh to usr/local/bin