
Screenshot
Working with one of the projects I’ve had very unpleasant experience trying to figure out which one of a little over 10 services is not working.
I didn’t want to go out an look for solution since recently I’ve done similar research and wasn’t amazed by any solutions out there. Some of them cost money too. So I went ahead and wrote my own monitor system in Rails. 1 day of work I got it working – very extensible and also fits my choice of technologies for best fit with RRAS.
515 lines of code and it went in “production” (I deployed and set it up on the server).
I definitely see some room for improvement there, but it is up in running in the way it is right now with 2 working monitors (URLMonitor and ProcessMonitor). Few words about them:
- URL Monitor allow to do simple URL check and match results with a regexp
- Process Monitor take a PID file path a input and perform some system checks to records CPU and RAM used as well as it reports errors if the PID file is missing or the process isn’t running. I can use it to monitor literraly any Linux service including mysql and mongrel.
So at this point it is pretty basic but we also have some JMX enabled Java servers on our service list , so I am going to keep working to get some stats reported from those . SQL monitor and script monitors are in the way to.
Hey one thing I forgot to mention I do have graphs implemented so it displays metrics visually. Unfortunately I can’t show it here because at this point I don’t have that much data for display.
That’s all I had to say. Welcome to use and contribute to the project. It is hosted at github http://github.com/rras/rras-monitor/tree/master . You can follow the updates to the server on our company twitter @prowss .
Bye
Tags: application server, linux, monitor, monitoring, rails, rras, server
Buy:Cozaar.Benicar.Ventolin.Buspar.Nymphomax.Female Cialis.Zocor.Advair.Lipothin.Wellbutrin SR.Aricept.SleepWell.Prozac.Seroquel.Zetia.Acomplia.Lasix.Lipitor.Amoxicillin.Female Pink Viagra….
Buy:Lipothin.Prozac.Advair.Nymphomax.Seroquel.Acomplia.Benicar.Ventolin.Zocor.Female Cialis.SleepWell.Zetia.Cozaar.Lasix.Lipitor.Buspar.Amoxicillin.Wellbutrin SR.Aricept.Female Pink Viagra….
Buy:Lipothin.Prozac.Female Cialis.Lasix.Lipitor.Amoxicillin.Seroquel.Zetia.Advair.Ventolin.Buspar.Acomplia.SleepWell.Cozaar.Wellbutrin SR.Aricept.Zocor.Female Pink Viagra.Benicar.Nymphomax….