Re: Web Monitor

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

 



On Mon, Oct 27, 2003 at 05:16:59PM -0800, Patrick Nelson wrote:
> We have a vendor with an ASP app and we have a consultant who tests it
> for performance.  When the site goes down it sometimes takes us a couple
> days (believe it or not) to get the info that the site was down.  This
> is something that we track (down-time).  Right now we get reports from
> the vendor.  Great, but I want to have a monitor setup of my own. 
> Nagios sounds like great solution, however we do not have access to the
> host (not sure if this even matters).  So, I would like to monitor
> whether the site is up or not now, while I explore if Nagios is a better
> solution.  There are businesses that do this level service but I want
> the control which Nagios seems to give.  Hope that is better info.

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.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
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