Net_Monitor Improvements Coming Soon

My colleague in France, Bertrand Gugger, has been hard at work implementing SMS alert-sending capabilities for the Net_Monitor package. This functionality depends upon the nacient Net_SMS package, so we will be looking for ways to create end-to-end (from interaction with the gateway to display on the device) testing before release. It will be interesting to see how SMS providers respond, since this software could provide a boost to their offerings as system administrators adopt Net_Monitor for monitoring systems. Will the providers get it, and grant us test accounts? We shall see.

4 Comments

  1. Mans
    Posted March 7, 2005 at 1:22 am | Permalink

    I’ve been doing testing with your net_monitor package since version 0.0.8 and am very interested in it. It is good to hear about this upcoming feature of SMS.

    I have one question though, what is the estimate number of servers that this package can monitor per minute?

    Thank you and keep up the good work :)

  2. Robert
    Posted March 7, 2005 at 10:22 am | Permalink

    Hi Mans,

    That is such a configuration-dependent question that it is very difficult to answer. For example, unlike many monitoring packages Net_Monitor actually makes a full HTTP/FTP/DNS connection and, in the case of HTTP, returns the status code. PHP prior to 4.2.0 doesn’t handle socket connections as well as later versions, so that is a big factor in performance. Also, the capabilities of the hardware and the network it is on play a role.

    Net_Monitor has been optimized through many helpful suggestions from Pear developers. So, the footprint of the package is fairly small. It depends on other Pear packages that implement network service clients, which are also fairly lean. So, it is difficult to give a precise number but I can say the software itself should be fairly efficient. :)

    The truth is that if you are launching a tremendous number of connections at once, it will simply take longer, since connections are currently not threaded. How much longer is acceptable depends on your polling interval. To create simultaneous connections, simply break down your polling into different groups run by separate instances of PHP on separate scripts. This approach should scale up close to whatever your hardware can handle in terms of simultaneous open sockets.

    If you do get some kind of numeric benchmark for your hardware/software configuration, I’d be happy to hear about it.

  3. Mans
    Posted March 7, 2005 at 12:26 pm | Permalink

    Hi Robert,

    I can understand you. I scanned the code and it cannot be more professional than what you have done. Actually, I did not run it on directly connected machine to the internet (all our company’s PCs are behind proxy!) So, it is difficult to give estimates from my part. But I have one suggestion, would not be faster if you use hosting system’s ping program through exec() or something similar?

  4. Robert
    Posted March 7, 2005 at 11:08 pm | Permalink

    This is a question of using PHP to call a system-native function, then string mangling the output to see if the result is OK, versus using the native PHP sockets mechanisms to make the same type of request. Net_Monitor does not deal with ping. Net_Monitor aims to tell you a lot more than what a simple ping tells you. Ping can tell you if a server is alive or dead, but not about the various services that are (or are not!) responding on that machine. So, it’s not really an apples-to-apples comparison.

Post a Comment

Your email is never shared. Required fields are marked *

*
*


Popular Tags

Academia Academy Of American Poets Accessible Poetry Adam Zagajewski Aliso Street Bear Andrew Philip Arcade Poetry Series Arroyo Arts Collective Artists' Union Gallery Art Therapy Avant Garde B.H. Fairchild Bart's Books Bell Arts Factory Beowulf Blogging Christian Wiman Code Poet Conservation Czesław Miłosz David Allen Day Fire Denise Levertov Dorianne Laux Facebook First Books Friday Lubina George Wallace Gerard Manley Hopkins Google Gregory Orr GTD Gwendolyn Alley Heart And Mind Hope Jackson Wheeler James Valentine Peake Japan Jawanza Dumisani John Keats Joseph Millar Kathleen Tyler Li-Young Lee London Los Angeles Louise Glück Love Low-Res Low-Residency MFA Marvin Bell Mary Oliver Merlin Mann MFA Residency 1 MFA Residency 2 MFA Residency 3 MFA Residency 4 MFA Residency 5 Michael Wells Michelle Bitting Miranda Nature Negative Capability Ojai Ojai Poetry Festival Pablo Neruda Pacific University Passings Performance Poetry Phil Taggart Poetry In The Windows Polish Poetry Post-Postmodernism Ralph Waldo Emerson Rattle Read Write Poem Robert Hass Robert Pinsky Salt Publishing Sandford Lyne Sandra Alcosser Sarah Maclay Seamus Heaney Social Networking Sonnets Stephen Booth Suzanne Lummis The Economy The Phoenix The World Stage Tree Bernstein Twitter UC Berkeley Umberto Saba Wallace Stevens Why Poetry Zbigniew Herbert ZCE Zen Zoey's Cafe