diff options
author | Eugeni Dodonov <eugeni@mandriva.com> | 2010-03-01 18:21:33 -0300 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.com> | 2010-03-01 18:21:33 -0300 |
commit | 92e6795b249b4282eb2028b981de731bf9913417 (patch) | |
tree | fd41570bb184932f5c79d044515a3954fc7d7be5 /scripts/netmonitor_down | |
parent | b9557f67d1c6be2cdc90d9e1ab09eacf318660d7 (diff) | |
download | net_monitor-92e6795b249b4282eb2028b981de731bf9913417.tar net_monitor-92e6795b249b4282eb2028b981de731bf9913417.tar.gz net_monitor-92e6795b249b4282eb2028b981de731bf9913417.tar.bz2 net_monitor-92e6795b249b4282eb2028b981de731bf9913417.tar.xz net_monitor-92e6795b249b4282eb2028b981de731bf9913417.zip |
implement connection uptime monitoring
Diffstat (limited to 'scripts/netmonitor_down')
-rwxr-xr-x | scripts/netmonitor_down | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/netmonitor_down b/scripts/netmonitor_down index 6ce6064..8782ef7 100755 --- a/scripts/netmonitor_down +++ b/scripts/netmonitor_down @@ -6,6 +6,6 @@ if [ -r /etc/sysconfig/network-scripts/ifcfg-$1 ]; then . /etc/sysconfig/network-scripts/ifcfg-$1 if [ "a$ACCOUNTING" = "ayes" ]; then - echo $1:DOWN:$(date +%s) >> /var/log/net_monitor + echo $1:DOWN:$(date +%s) >> /var/log/net_monitor.log fi fi |