LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Andrew Pullin <andrew@hotspurbgc.com.au>
To : Linux SA <linuxsa@linuxsa.org.au>
Date: Sat, 19 May 2001 02:41:14 +1000
Remote event messaging
Hi All,
I am long distance administering a site in Melbourne and apparently they
are having trouble with instability, but I can't find any evidence.
Apparently they have to reboot the system regularly and this mythical
instability disappears. What I want to do is monitor how often they reboot
without going to the logs and trawling through them. My thought was to
simply automatically generate an e-mail everytime the system is rebooted
with a timestamp and a subject saying simply reboot. How would I go about
this? I suppose the easy way is just run a script during the boot process,
but where would I put it? Is it better to write a script in bash or perl (I
am a bit rusty on both). Are there any other ways?
I also want to do the same thing when the ppp link to the world drops
out and autoredials, and I want to lastly monitor when users dial in,
sending a connection time and a disconnect time. I would prefer to use a
similar method for each event. Your suggestions would be greatly
appreciated. TIA
Cheers!
Andrew.
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page