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

Hi Monks,

I required some guidance for solving the following problem:

I would like to be able to get a complete overview of all the machines that can be seen on a network...very similar to what you would get in 'My Network Places' on a Windows box. I would like this information to be presented in a hierarchy of domains, servers and computers if possible and I would also like to know each machines IP address.

If anyone can point me in the direction documentation, extensions or code, I would be externally grateful!

cheers, Steve

Replies are listed 'Best First'.
Re: Network discovery
by ambrus (Abbot) on Feb 19, 2005 at 15:50 UTC

    Just a guess: man samba smbtree

Re: Network discovery
by rg0now (Chaplain) on Feb 19, 2005 at 23:57 UTC
    One of my students used NetworkInfo::Discovery for similar purpose and he managed to hack up a pretty useful tool using it. So, give it a try! Although I myself have not tried it, he reported the modules to be pretty much usable.

    The same result could have been easily obtained by you as well if giving the search term 'network discovery' for search.cpan.org...:-)

    rg0now

Re: Network discovery
by sh1tn (Priest) on Feb 19, 2005 at 17:10 UTC