Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: oracle on January 24, 2001, 02:39:45 PM
-
I am running E-smith 4.0 server and quite happily using it in dialup mode with a medium time set. Whilst this is quite fine I want to know if I can record the dialup times so that I have some record of when the server has been on and off line.
Anybody know a way to do it....
Thanks in advance
oracle
-
in
/etc/e-smith/templates/etc/ppp/ip-down.local/30notify
add
/bin/mail -s "dialup closed date" youremail < /dev/null
or pipe to a log file
*+*+
in
/etc/e-smith/templates/etc/ppp/ip-up.local
add
/bin/mail -s "dialup at date" youremail < /dev/null
stephen
-
Thanks for the info Stephen. I shall give it a burn.
oracle