Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

RE: Distributed network monitor

by perlcgi (Hermit)
on May 05, 2000 at 16:16 UTC ( [id://10349]=note: print w/replies, xml ) Need Help??


in reply to Distributed network monitor

Sounds like a really neat solution. A useful addition to the script might be to use LWP to grab the same test file off each system and measure the response. I reckon this virtual-browser approach is valuable and perhaps a more indicative measure of performance than comparative ping times: (i) because servers will respond to ping even when their httpd is down/overloaded and no service is actually in effect, and (ii) downloading a page is likely a more realistic measure of what a user will actually experience. What do you reckon?

Replies are listed 'Best First'.
RE: RE: Distributed network monitor
by Anonymous Monk on May 05, 2000 at 23:24 UTC
    I agree with your comment about downloading a page from the server.

    As you point out, the only thing that Ping tells you is that the machine is switched on and is running ping!

    Personally I wish this author would make the code available - I have e-mailed him and not received a reply. It sounds like a seriously cool script. If anyone knows of any similar scripts, please do post details here!

      You might be able to achieve what you want with MRTG. Alternatively, I wrote some scripts a while back to produce this. A cronjob runs an LWP download from each site being measured on the hour, every hour. It simply measures download time from each site, sticks results in a flat file (not even a database). A cgi script calculates site performance averages, and displays a simple graph. So it's pretty lame, does'nt account properly for time-outs, but might get you started. Let me know if you want it.
        Yep...
        MRTG could be a start. At least i know the ISP Singnet in
        Singapore is using it. I am also using it now for my attachment
        place.
        I was asked to link it with html and perl script to make it
        easier to configure thought the internal network without having to utilize
        the VI editor which any windows users might not know how to use.
        Running the crontab will allow you to run the mrtg programme
        when you specify it to run, other than that, you can also
        use the daemon in mrtg together with interval rate in MRTG
        to do the same effect as a crontab will do. OR, a script to edit the crontab will do just fine.
        Please post it, if you don't mind. I'm looking for something like that to prove to a friend that it's his dial-up, not my web-site! :-) -Chuck

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://10349]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-24 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found