[Info-vax] notification upon reboot
Phillip Helbig---undress to reply
helbig at astro.multiCLOTHESvax.de
Tue Feb 26 16:02:20 EST 2013
In article <be2e93b9-8b31-4acc-b50d-8b688f024315 at googlegroups.com>,
"pcoviello at gmail.com" <pcoviello at gmail.com> writes:
> I am looking for some ideas as to being notified of a system restarting, or
> it even crashing... I am on itaniums running 8.3 1h1. one suggestion is a
> email during the startup. could work, unfortunately knowing the system was
> down for 5 hours would have been nice too. :-(
If email is fine, then do that. Depending on your carrier, you might be
able to send email to a special address which will turn it into a text
message for your mobile phone.
I always write the node name, boot time and current time to a file as
soon as this is possible during startup. You could send this string as
an email, then you get notified about the boot (and when it occurred).
What about down time? Well, you could periodically use WRITE/UPDATE to
update a timestamp in a file and send the file in the email as well,
before the job doing the WRITE/UPDATE starts up again after boot.
More information about the Info-vax
mailing list