How to check if remote machines are running using PHP andEclipse-Require Urgent Help

How to check if remote machines are running using PHP andEclipse-Require Urgent Help

am 01.04.2011 18:07:07 von Santosh gunat

--0016e6498648011cd9049fdd9a46
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I am in a big problem,

My manager gave a task,
He want a PHP scrip which will check if the remote machines are Powered on
and are running.
He want this to be done using eclipse.

He also want a log in a HTML or text file that which remote machine is
running and which remote machine is down/powered off for each machine

Can you help me.

If there is another way ,to check automatically that will also be fine.But
we want a automatic script checking and saving logs for the same.

Thanks in advance ,

Santosh Gunat

--0016e6498648011cd9049fdd9a46--

Re: How to check if remote machines are running using PHPand Eclipse-Require Urgent Help

am 01.04.2011 18:15:14 von Pierre Joye

Tell your manager to use nagios or similar tools

Also please don't cross posts, double posts or ask us to do your job
without having done some minimal research before.

Thanks,

Cheers,
On Fri, Apr 1, 2011 at 6:07 PM, Santosh gunat wrote:
> Hi,
>
> I am in a big problem,
>
> My manager gave a task,
> He want a PHP scrip which will check if the remote machines are Powered on
> and are running.
> He want this to be done using eclipse.
>
> He also want a log in a HTML or text file that which remote machine is
> running and which remote machine is down/powered off for each machine
>
> Can you help me.
>
> If there is another way ,to check automatically that will also be fine.But
> we want a automatic script checking and saving logs for the same.
>
> Thanks in advance ,
>
> Santosh Gunat
>



--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to check if remote machines are running using PHP andEclipse-Require Urgent Help

am 02.04.2011 00:23:18 von Louis Huppenbauer

You could just periodically ping those remote machines with a
system()-call, and then write the result to a file.

2011/4/1 Santosh gunat :
> Hi,
>
> I am in a big problem,
>
> My manager gave a task,
> He want a PHP scrip which will check if the remote machines are Powered on
> and are running.
> He want this to be done using eclipse.
>
> He also want a log in a HTML or text file that which remote machine is
> running and which remote machine is down/powered off for each machine
>
> Can you help me.
>
> If there is another way ,to check automatically that will also be fine.But
> we want a automatic script checking and saving logs for the same.
>
> Thanks in advance ,
>
> Santosh Gunat
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to check if remote machines are running using PHP and Eclipse-Require Urgent Help

am 02.04.2011 00:26:34 von Jim Giner

your boss is asking you to write something in PHP, but it sounds to me like
you are not very knowledgable in it, or even in creating a text file. Why
is he doing this?



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php