[dundee] Script to check Apache

R J Ladyman it at file-away.co.uk
Thu Apr 17 09:35:14 BST 2008


Have a peek at Nagios

Also:-
http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html
http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html#app_mon

On Thursday 17 April 2008 08:46:39 Deepan wrote:
> Hi All,
> I am looking for a script to check if Apache is up
> and running, if not the script should send an
> email automatically. The script has to be run from
> a different machine (not from the machine that
> runs apache). So it has to query for a http
> address and if it receives any other reply that
> 200 OK, it should send the email. Can you guys
> suggest on how to go about ? Should I use curl ?
> or wget ? or ping ? I can handle the email part
> and cron part. If you guys have a similar script
> please share it if possible.
> Regards 
> Deepan 
> Sudoku Solver: http://www.sudoku-solver.net/ 
> 
> 
> 
> _______________________________________________
> dundee GNU/Linux Users Group mailing list
> dundee at lists.lug.org.uk  http://dundee.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/dundee
> Chat on IRC, #tlug on dundee.lug.org.uk
> 
> 



-- 

Robert Ladyman
File-Away Limited, 32 Church Street,Newtyle
Perthshire, PH12 8TZ SCOTLAND
Registered in Scotland, Company Number: SC222086
Tel: +44 (0) 1828 898 158
Mobile: +44 (0) 7732 771 649
VOIP: 7714336 at sipgate.co.uk

http://www.file-away.co.uk




More information about the dundee mailing list