aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/netmonitor_down
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.com>2010-03-01 18:21:33 -0300
committerEugeni Dodonov <eugeni@mandriva.com>2010-03-01 18:21:33 -0300
commit92e6795b249b4282eb2028b981de731bf9913417 (patch)
treefd41570bb184932f5c79d044515a3954fc7d7be5 /scripts/netmonitor_down
parentb9557f67d1c6be2cdc90d9e1ab09eacf318660d7 (diff)
downloadnet_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-xscripts/netmonitor_down2
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