in reply to reading output from another script
I can highly recommend Log::Log4Perl. You can configure it to send you E-Mail (among many other methods) on specific log messages.