John W. Krahn wrote:
Tim Wolak wrote:
I have a script that is checking a service to see if its running and
that its log file does not contain two error message to confirm that
it has not died. However the subrutine is just saying its up when I
have put the error message in the last line of the l
Tim Wolak wrote:
Hello all,
Hello,
I have a script that is checking a service to see if its running and
that its log file does not contain two error message to confirm that it
has not died. However the subrutine is just saying its up when I have
put the error message in the last line of the log
Tim Wolak [TW], on Thursday, January 13, 2005 at 09:15 (-0600) wrote
about:
TW> if ($newlog =~ /^Read failed on socket/ || /^EFIXException::/) {
for me it seems, this line is bad, when you rewrite it to:
if ($newlog =~ /^(Read failed on socket|EFIXException::)/) {
it works ?
--
...
Tim Wolak wrote:
Hello all,
I have a script that is checking a service to see if its running and
that its log file does not contain two error message to confirm that it
has not died. However the subrutine is just saying its up when I have
put the error message in the last line of the log to mak
Hello all,
I have a script that is checking a service to see if its running and
that its log file does not contain two error message to confirm that it
has not died. However the subrutine is just saying its up when I have
put the error message in the last line of the log to make sure it sees
th