For Quality purpouses, Thind, Aman 's mail on Thursday 05 February 2004 06:24 
may have been monitored or recorded as:
> Hello Friends,
Hi

> I want to write a script that when executed will get lots of details from
> 10 different Unix(AIX) and Windows(XP) boxes and generate a report.
>
> The details to be gathered about the machines include :
>
> 1) Names and versions of all the softwares on the machines.
>
> 2) Disk space usage.
>
> Etc...

my ideas:

either see if you can get these information from each of these machines by 
establishing a telnet or ssh connection to them and remotly executing 
commands (maybe own perlscripts) on the remote machines - Net::Telnet 
from CPAN allows you client side connections using the telnet protocol.
Net::SSH goes for ssh.

Or - but that gets complicated: write client and server side software using 
IO::Socket and establish your own commands.

Since you will probably need OS depending software on the remote machines 
anyway to get you infos I would go with the first solution.

Also take a look  at the available remote backup solutions on the net: maybe 
you find something to modify.

But maybe you first want to see how OS dependend your queries are and what 
"lots" means: your network admin might appreciate the idea of localy 
generating the reports   and sending them to the query machine at once 
instead of generating them by remotly executing commands.

I think, whether you go with a centralisied or local solution depends on how 
often you expect to change the details you want to query and the frequency in 
which new systems and OSs are added to your net.
If seldom or never, you might think of generating the reports localy and 
mailing them independently to the query machine (eg, via email). 
If frequently, then you might not want to run arround and change your local 
scripts everytime - see first ideas.

You see: it gets out of hand - i better stop here.

good luck, Wolf


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to