Re: Web Monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2003-10-27 at 17:40, Ed Wilts wrote:
> The easiest method is to simply do:
> $ wget -q http://whatever.com/index.html >/dev/null
> $ echo $?
> 
> If you get a 1 result back, the get failed.  If it's zero, your site is
> up.  Wrap that in a cron job to send you e-mail or whatever.
> 
> There are better long-term solutions, but this is a quick hack to see if
> you can get a specific page and may tide you over until you get
> something better in place.
> 
> Internally, we use Big Brother so that we not only get e-mailed when the
> event happens, but also maintain a somewhat decent history.  Licensing
> of Big Brother is weird - you pay a fee if you use the monitored system
> to make money, and free otherwise.

Thanks!  That is pretty easy as an interim solution.  I am testing out
Nagios and had started doing a tcl expect script.  It would be very easy
to implement a script with wget indeed. 

Big Brother sounds like something to look at also.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux