On Mon, January 21, 2008 5:55 pm, Miguel Guirao wrote:
> Is PHP a correct approach to solve this tedious problem?? Can I access
> a
> servers and get the results of a ls command for instance??

I would use PHP, personally, since I know it best.

It might be easiest to install PHP on each box, and have it in a cron
job to check whateve and send the results, perhaps via email, to
somewhere.

Another option would be to right a PHP webpage on each box, and have
the central box just file_get_contents() on each page -- assuming you
can turn on allow_url_fopen on that box.

You *could* go whole hog and use PHP to set up RPC or SOAP on each
box, to allow you to execute the commands, but that would be a lot of
extra work for not much benefit for such a simple task.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

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

Reply via email to