Interesting. I will look at your patch asap. Massimo
On Dec 15, 5:49 pm, achipa <[email protected]> wrote: > A couple of reasons in this particular app: > > a) To have per application settable cron functionality (with regular > vixie cron compatible syntax) from within web2py, without root > privileges, regardless of how it's run (cherrypy, mod_proxy, cgi or > mod_wsgi). AND, it should work on windows and mac as well. This in > effect makes it possible to just 'drop in' the monitoring application > via the web2py admin interface and it will hit the ground running. So, > to recap, in comparison to a 'classic' cron script or extra threads, > you do not need to restart web2py or the webserver (ever), if you DO > restart it your events won't get lost, you don't need root, you don't > need ssh, you don't need a system cron, has next to none overhead, it > doesn't care about the server OS, it just pretty much gives you good > 'ole cron syntax&functionality without the hassle. You could even make > a GUI editor for the cron tasks in the admin like you edit DB entries. > > b) to have no delay for clients while the graph data/aggregation is > being done, or while the data is being inserted in RRD (I'd like to do > this via decorators, but I'm not a pythonista enough for that, yet). > > c) I'm running apache WSGI, which makes threads very awkward (if not > done on the WSGI level). Starting a thread and then doing return > without mod_wsgi knowing about the thread is NOT what you want (been > there, done that, ended up on the mod_wsgi list and got the > recommendation which is in the patch now). CGI is even worse. > > d) do I need more reasons ? :) > > On Dec 15, 8:20 pm, mdipierro <[email protected]> wrote: > > > This looks cool. Sorry for the patch but I am a little behind. I hope > > to be able to look at ti again in the next few days. Could you tell us > > why the patch is necessary? You can start threads, store them in cache > > and monitor them without the patch. > > > Massimo > > > On Dec 15, 6:07 am, achipa <[email protected]> wrote: > > > > There is an appliance, and I'm also working on something of my own, a > > > little teaser: > > > >http://picasaweb.google.com/attila.csipa/WebmonSshot > > > > It can do 'regular' graph style charts but is pluggable so you can > > > write custom reports (like in the first picasa image). The reason it > > > is not public yet is that it relies heavily on my connectiontask > > > (a.k.a. cron) patch which is still under consideration by Massimo (= > > > not in trunk). > > > > On Dec 14, 4:13 am, voltron <[email protected]> wrote: > > > > > Hi there! > > > > > Someone mentioned a project that was to use Web2py to monitor services > > > > on a system,has there been any progress? I am greatly interested. > > > > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

