If, once you've found the machines, you want to run some sort of inventory system upon each of them, it sounds like you're going about this the wrong way.

 Rather than have one 'client' detect each Unix server - then demand it reports over it's software list/hardware information (or whatever) it seems to make more sense to get each server to send it's details to a "well known" reporting machine.

 This is what I've done upon my machines at work. Each server has SSH setup to allow automatic logins to a lowlevel account upon a spare Linux box.

 Once this is setup it's trivial to write a perl script to install upon each server to write out the machines users/load/package details/etc to a text file, and use 'scp' to store it upon the reporting server.

 The reporting server can then read the details from all hosts, and summerize to a daily email, or present the data interactively with CGI scripts, etc.

 If I've misunderstood your question please feel free to comment..

Steve
---
steve.org.uk

In reply to Re: How To Find/List Remote Unix Servers by skx
in thread How To Find/List Remote Unix Servers by Mitch

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.