On Sun, Jan 31, 2010 at 1:49 PM, Rajagopal Swaminathan < [email protected]> wrote:
> Greetings, > > > So firefox might have a timeout to identify connection outage. > > sure it has. but how and where do I detect/recognise it from within a > script? > > > > > > I want to know what you really mean by "tracking unavailability from a > > user perspective". > > > > through a script / inotify / auditd > > > The browser tab itself clearly says that the site is down. What more > > do you need? > > > > Indeed, if a human is sitting in front of it. But a human can Lie and > in IMHO Audit/SLA hard data is generally relied on which can only be > captured, again imho, by script / inotify / auditd or some such > mechanism. > > Why not do a 'GET' request on the relevant resources (using the HTTP lib of the language of your choice) periodically (say every few mins) and check for connection timed out errors and log/process them accordingly! regds, mano _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
