[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Way to monitor if minivend is hung
Hello Angelica,
if you use UNIX, there are a script to watch minivend server (is hunging
or not?).
I.e.
#!/bin/sh
cd /home/mvend/tmp
rm teststore.out
/usr/local/bin/lynx -dump http://www.yourdomain.com/cgi-bin/bol/about >
teststore.out
if /bin/cat teststore.out | /usr/bin/grep "Internal Server Error" >
/dev/null
then
/usr/bin/mail root < teststore.out
/bin/sh /home/mv/mvend/bin/restart
elif /bin/cat teststore.out | /usr/bin/grep "MiniVend server not
running" > /dev/null
then
/usr/bin/mail root < teststore.out
/bin/sh /home/mv/mvend/bin/restart
elif /bin/cat teststore.out | /usr/bin/grep "server is unavailable" >
/dev/null
then
/usr/bin/mail root < teststore.out
/bin/sh /home/mv/mvend/bin/restart
fi
See also the original from this mailing list....
Subject: Re: crontab entry to check for dead Minivend server
Date: Sat, 27 Mar 1999 04:50:30 +0100
From: Ryan Hertz, Ryan Hertz
Joachim
Angelica Olins wrote:
>
> ****** message to minivend-users from "Angelica Olins" <angelica@loadup.com> ******
>
> Hello Everyone,
>
> When Minvend hangs I get
> >We're sorry, the MiniVend server is unavailable...
> >We are out of service or may be experiencing high system demand, please try
> again soon.
> After I restart it works fine.
>
> The WebTrends monitor software only checks whether a page is accessible, it
> doesn't check what's being displayed on that
> Page. So its hard to know when MiniVend is hung.
>
> Question: Is there anyway to see if MiniVend is serving the 'unavailable'
> error page instead of catalog pages and notify by email.
> --
> Angelica Olins <angelica@LOADUP.COM>
> Loadup Outdoor - "Ahead of the Rest."
> http://www.loadup.com
>
> "I am easily satisfied by the very best"
> - Winston Churchill
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
--
-------------Hans-Joachim Leidinger---------------------