| To: | nv-l@lists.us.ibm.com |
|---|---|
| Subject: | Re: [nv-l] loadhosts CLI |
| From: | "Christopher J Petrina" <cjp8@meadwestvaco.com> |
| Date: | Wed, 11 Feb 2004 13:46:23 -0500 |
| Delivery-date: | Wed, 11 Feb 2004 18:53:04 +0000 |
| Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
| Reply-to: | nv-l@lists.us.ibm.com |
| Sender: | owner-nv-l@lists.us.ibm.com |
|
thanks Paul, what with each device being entered possiblyh aving a different subnet I went this route: foreach $value (@array) { ($name,$ip,$subnet,$descrip,$unkown,$type,$division,$state,$city,$temp1,$temp2) = split (/\|/,$value); print LOADER "loadhosts -m $subnet <<EOF\n"; print LOADER "$ip $name\n"; print LOADER "EOF\n"; } that way if each device has a different subnet it will be placed properly. thanks for the advice however Chris |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [nv-l] loadhosts CLI, Paul |
|---|---|
| Next by Date: | [nv-l] Using a MLM as a trap receiver, Bursik, Scott {PBSG} |
| Previous by Thread: | Re: [nv-l] loadhosts CLI, Paul |
| Next by Thread: | Re: [nv-l] loadhosts CLI, John M Gatrell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web