Devasundaram has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, I need to know a particular computer system is currently ON or OFF position in network. I can get the system name through "node name" command. For example, "sys35". My Perl version is 5.8.8 and Network OS is Samba Server. Please suggest what option in perl? Thanks Deva

Replies are listed 'Best First'.
Re: System status
by moritz (Cardinal) on Aug 29, 2007 at 09:39 UTC
    If by "computer system" you mean "a host", you can Net::Ping it.
      Thanks lot Moritz. It is working fine. I have feel very happy....
Re: System status
by andyford (Curate) on Aug 29, 2007 at 17:20 UTC

    I like Nagios for the purpose of determining network availability.

    non-Perl: Andy Ford

      Ain't it a little bit like shooting those little thingies (I can't remember the correct English idiom) with cannons?

      Update: sparrows, someone suggests me.

        I find that often a seemingly little project like pinging a few hosts can accidently turn into a 'complete' network monitoring system. If you start with the proper software right from the get-go, you won't end up creating your own custom wheel.

        non-Perl: Andy Ford

Re: System status
by andreas1234567 (Vicar) on Aug 30, 2007 at 09:48 UTC
    If you want to go beyond a simple ping, Zenoss and OpenNMS are good, open-source propositions.

    There's a list of open source network management software here.